Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658038 - net-misc/openssh-7.7_p1: problem with rsa signatures
Summary: net-misc/openssh-7.7_p1: problem with rsa signatures
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-13 12:53 UTC by aceone
Modified: 2018-06-13 20:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
client log (file_658038.txt,8.70 KB, text/plain)
2018-06-13 16:26 UTC, aceone
Details
server log (file_658038.txt,2.93 KB, text/plain)
2018-06-13 16:27 UTC, aceone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aceone 2018-06-13 12:53:34 UTC
I'm not sure why this happens but I can't login with my publickey authentication since server updated to 7.7. 

Server version 7.7_p1-r4
Server log:
error: ssh_rsa_verify: RSA signature type mismatch: expected rsa-sha2-512 received ssh-rsa
 Connection closed by authenticating user andro 123.123.123.123 port 59164 [preauth]

Cleint Version 7.6_p1-r5
Client log:
debug1: Offering public key: RSA SHA256:J5Qg8JDrEmZFfk5B80cYiYw2hGvQ47WW2IqnCx7m9to /home/andro/.ssh/id_rsa
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: pkalg rsa-sha2-512 blen 2071
debug2: input_userauth_pk_ok: fp SHA256:J5Qg8JDrEmZFfk5B80cYiYw2hGvQ47WW2IqnCx7m9to
debug3: sign_and_send_pubkey: RSA SHA256:J5Qg8JDrEmZFfk5B80cYiYw2hGvQ47WW2IqnCx7m9to
Comment 1 aceone 2018-06-13 13:07:25 UTC
Same with Client version 7.6_p1-r5
Comment 2 aceone 2018-06-13 16:20:26 UTC
My client version and server version 7.7 still same problem.
Comment 3 aceone 2018-06-13 16:26:58 UTC
Created attachment 535786 [details]
client log
Comment 4 aceone 2018-06-13 16:27:54 UTC
Created attachment 535800 [details]
server log
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2018-06-13 16:32:44 UTC
You have probably a misbehaving agent, see https://dev.gnupg.org/T3880 for details. Please check your agent.
Comment 6 aceone 2018-06-13 17:44:39 UTC
How can I do this? Both machines have openssh. Client is Sabayon and Server Gentoo stable amd64. My expectation was both machine using compatible agents.?
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2018-06-13 19:26:44 UTC
Try running

`ssh -vvv -a -i /path/to/your/key <user>@<host>`

Please make sure that this is a direct connection. I.e. no jump host should be involved.
Comment 8 aceone 2018-06-13 19:57:52 UTC
I stopped gnome-keyring service and every works again. (Using Cinnamon) I delete an autostart entry for gnome-keyring-ssh and now even if I start gnome-keying manually it won't happen again. But do be honest I don't know why.
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-06-13 20:30:03 UTC
Thanks for the update!