[Bug 3233] Error loading key ".ssh/id_rsa": error in libcrypto

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Nov 20 20:28:25 AEDT 2020


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

--- Comment #2 from Tomasz Paweł Gajc <tpgxyz at gmail.com> ---
(In reply to Damien Miller from comment #1)
> From the github issue it looks like your key is in the OpenSSH
> format.
> 
> If you have an older OpenSSH around, then could you try converting
> your key to the OpenSSL PEM format and see if that works?
> 

Yes, my ssh key works with older openssh/openssl


[live at localhost .ssh]$ ssh-keygen -p -m PEM -N ''  -f id_rsa_pem 
Enter old passphrase: 
Your identification has been saved with the new passphrase.
[live at localhost .ssh]$ openssl rsa -check -noout -in id
id_rsa      id_rsa_pem  id_rsa.pub  
[live at localhost .ssh]$ openssl rsa -check -noout -in id_rsa_pem 
RSA key ok

[live at localhost .ssh]$ rpm -qa | grep openssl
openssl-1.1.1c-1.x86_64
lib64qca2-plugin-openssl-2.1.4-2.x86_64
[live at localhost .ssh]$ rpm -qa | grep openssh
openssh-8.1p1-1.x86_64
openssh-server-8.1p1-1.x86_64
openssh-askpass-common-8.1p1-1.x86_64
openssh-clients-8.1p1-1.x86_64

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list