mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-03 13:31:11 +03:00
session: OpenSSH is using SHA256 fingerprints now
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
ddece69a07
commit
c0c1454298
@@ -1091,7 +1091,7 @@ int ssh_get_publickey(ssh_session session, ssh_key *key)
|
||||
* @warning It is very important that you verify at some moment that the hash
|
||||
* matches a known server. If you don't do it, cryptography wont help
|
||||
* you at making things secure.
|
||||
* OpenSSH uses SHA1 to print public key digests.
|
||||
* OpenSSH uses SHA256 to print public key digests.
|
||||
*
|
||||
* @see ssh_session_update_known_hosts()
|
||||
* @see ssh_get_hexa()
|
||||
|
||||
Reference in New Issue
Block a user