I'm sorry if these questions are really basic, but I'm still relatively new to this stuff. I have used XCard II to generate a 1024 bit RSA key pair. It had me generate the "Private parameters," which I set to:
Key #: 0 (only other option was key #2) Key type: RSA CRT (only option) Key size: 1024 Permissions: Read - UnAllowed Write - Pin #1 Usage - Allowed Then it had me do the "Public parameters," which I set to: Key #: 2 (only option) Key type and Key size were greyed out since they had already been chosen. Permissions: Read - Allowed Write - Pin #1 Usage - Allowed I clicked OK and it said that key generation was successful. Then I exported the two keys it generated. These appear to be binary files that I'm assuming are just the raw key moduli. However, I'm confused by the length of the files. The exported private key file is 334 bytes and the exported public key file is 139 bytes. If these are just the key moduli, then shouldn't each one be exactly 128 bytes long? Why is the private key twice as long as the public key and why do they have extra bytes? Are they in some different format? One other question I have is: I made the private key read permissions unallowed. Why did it still allow me to export the key to a file? Thanks so much for your help. I'm trying to create an X509 certificate that matches the key pair that I generated on the card, so I'd like to be able to figure out how to use openssl to take these exported key files and generate a certificate from them. Thanks, Carl Youngblood _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.drizzle.com/mailman/listinfo/muscle
