Displaying 1 result from an estimated 1 matches for "b1f7161d89472c4b6a3e2024675b0b46".
2017 Nov 09
2
RSA Signatures using SHA2 provided by different ssh-agent are not properly verified
...sion is used, under the hood there is just SHA1. This is
because the different agents are ignoring the flags passed with the
signature request. This can be simply reproduced with the following
patch, which dumps the actual hash algorithm used in the signature
itself:
https://gist.github.com/Jakuje/b1f7161d89472c4b6a3e2024675b0b46
The issue can be simply reproduced by running ssh-agent from gnome-
keyring (pageant or others should do the same) and connect to the
server with the above patch. In the server log, we can notice the
following messages (where hash_alg=1 is SSH_DIGEST_SHA1):
debug1: Verifying signature with ktype=...