[Bug 3330] New: OpenSSH's ssh-keygen can't parse encrypted PKCS#8 private keys being built against openssl 3.0

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 22 00:14:00 AEST 2021


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

            Bug ID: 3330
           Summary: OpenSSH's ssh-keygen can't parse encrypted PKCS#8
                    private keys being built against openssl 3.0
           Product: Portable OpenSSH
           Version: 8.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh-keygen
          Assignee: unassigned-bugs at mindrot.org
          Reporter: dbelyavs at redhat.com

When openssh is built against OpenSSL 3.0, we get an error importing
encrypted PKCS#8 files:

openssl genrsa -aes128 -out my-test-private.key -passout
pass:RedHatEnterpriseLinux9.0 2048

ssh-keygen -y -f my-test-private.key > public.key.pub

Instead of requesting the passphrase, we get an error
`Load key "my-test-private.key": error in libcrypto`

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list