[Bug 3091] New: Unable to export (EC)DSA public keys in PEM format.

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Nov 11 22:38:25 AEDT 2019


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: unassigned-bugs at mindrot.org
          Reporter: jjelen at redhat.com

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.


More information about the openssh-bugs mailing list