FS#59730 - [openssl] openssl 1.1.0.i-1 breaks ssh authentication agent
Attached to Project:
Arch Linux
Opened by Maxime Wack (SataMaxx) - Monday, 20 August 2018, 23:59 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 31 May 2023, 06:56 GMT
Opened by Maxime Wack (SataMaxx) - Monday, 20 August 2018, 23:59 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 31 May 2023, 06:56 GMT
|
Details
Description:
The recent update to openssl 1.1.0.i-1 breaks ssh public key authentication. Every other packages are up to date. When trying to connect to server using public key authentication, the connection fails with ``` Load key "/home/user/.ssh/id_rsa": invalid format user@server: Permission denied (publickey). ``` $ ssh-add ~/.ssh/id_rsa gives "Could not open a connection to your authentication agent" Downgrading to openssl 1.1.0.h-1 corrects the behavior. |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 31 May 2023, 06:56 GMT
Reason for closing: No response
Additional comments about closing: Assuming fixed. But if still an issue, please report upstream.
Wednesday, 31 May 2023, 06:56 GMT
Reason for closing: No response
Additional comments about closing: Assuming fixed. But if still an issue, please report upstream.
The issue is reproduced on multiple different computers (using the same key)
The problem some of you are encountering is due a change in how OpenSSL 1.1.0i handles empty passwords. You can read my analysis here: https://marc.info/?l=openssh-unix-dev&m=153548618712441&w=4.
```
SSL error connecting imap.gmail.com (64.233.166.109:993): self signed certificate
```
Since I sync my maildir with a systemd user service and timer, I've compared pacman's log with my journal and I've found that right after the openssl update, the errors started appear in the journal.
See
FS#60077for your real problem.edit: you have to do this with openssl < 1.1.0.i, then upgrade to openssl 1.1.1
WARNING: now libcurl depends on the new openssl and you can get yourself in an unpleasant situation where curl is broken, hence pacman, so you'd have to manually replace libcurl.so.4 to get it working again and fix your mess.
If you need to downgrade from openssl 1.1.1 to accomplish this step, remember to downgrade curl too!
If so please report the issue upstream to openssh.