Changes between Version 27 and Version 28 of OpenPGPandSSH
- Timestamp:
- Jan 31, 2008 12:11:27 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenPGPandSSH
v27 v28 35 35 At the least, we need to have a way to convert the private key from one format to another. While i have no problem using an OpenSSH-generated RSA private key as the private part of an X.509 key/cert pair (and vice versa), i'm having difficulty figuring out how to translate the PEM-encoded RSA keys into OpenPGP-encoded RSA keys. 36 36 37 This conversion should be do-able by reading [RFC:4880#section-5.5. 2the OpenPGP spec for Secret Key packet formats] and [RFC:3447#appendix-A.1.2 the RSA encryption standard's Private Key Syntax]. It's also possible that GnuTLS (which is capable of dealing with both OpenPGP and X.509/PEM) might be able to do the conversion.37 This conversion should be do-able by reading [RFC:4880#section-5.5.3 the OpenPGP spec for Secret Key packet formats] and [RFC:3447#appendix-A.1.2 the RSA encryption standard's Private Key Syntax]. It's also possible that GnuTLS (which is capable of dealing with both OpenPGP and X.509/PEM) might be able to do the conversion. 38 38 39 39 === Public Keys === 40 We'll also probably need to be able to translate public keys, since the keyservers will offer [RFC:4880#section-5.5. 1OpenPGP-formatted public keys], but OpenSSH's `ssh-keygen` [http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1#key_conversion can convert] from [RFC:4716 the IETF's SECSH Public Key Format], which is different. AFAICT, `ssh-keygen` isn't capable of converting from an OpenPGP public key. When i try it, i get:40 We'll also probably need to be able to translate public keys, since the keyservers will offer [RFC:4880#section-5.5.2 OpenPGP-formatted public keys], but OpenSSH's `ssh-keygen` [http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1#key_conversion can convert] from [RFC:4716 the IETF's SECSH Public Key Format], which is different. AFAICT, `ssh-keygen` isn't capable of converting from an OpenPGP public key. When i try it, i get: 41 41 42 42 {{{

