Mailing List Archive

[Bug 3330] New: OpenSSH's ssh-keygen can't parse encrypted PKCS#8 private keys being built against openssl 3.0
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@mindrot.org
Reporter: dbelyavs@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs