https://bugzilla.mindrot.org/show_bug.cgi?id=3091

            Bug ID: 3091
           Summary: Unable to export (EC)DSA public keys in PEM format.
           Product: Portable OpenSSH
           Version: 8.1p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: P5
         Component: ssh-keygen
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 3338
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3338&action=edit
ssh-keygen: Support publickey export of ECDSA and DSA keys in PEM
format

The ssh-keygen is missing implementation of export other public key
types from RSA in pem format. The attached patch implements this
missing export using OpenSSL functions.

According to the manual page of OpenSSL, PEM_write_RSAPublicKey, there
is slight difference between the RSAPublicKey and RSA_PUBKEY (and the
new functions used in the attached patch), but generally provide a way
to export public key, which is better than not being able to do that at
all.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to