aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-05-24 15:03:58 +0000
committerJustus Winter <[email protected]>2017-05-24 15:07:13 +0000
commit3a07a69dfc87b4fff610740d3dde8e23f0d2f8bc (patch)
treea7b8c993bc26ba9c2c6d86373cf63e3c09c0f8ff /agent/command-ssh.c
parentcommon: Support different digest algorithms for ssh fingerprints. (diff)
downloadgnupg-3a07a69dfc87b4fff610740d3dde8e23f0d2f8bc.tar.gz
gnupg-3a07a69dfc87b4fff610740d3dde8e23f0d2f8bc.zip
common: Correctly render SHA256-based ssh fingerprints.
* common/ssh-utils.c (dummy_realloc): New function. (dummy_free): Likewise. (get_fingerprint): Prepend the fingerprint with the name of the digest algorithm. Correctly render SHA256-based ssh fingerprints. * common/t-ssh-utils.c (sample_keys): Add SHA256 hashes for the keys. (main): Add an option to dump the keys to gather fingerprints, also print the SHA256 fingerprint for keys given as arguments, and check the SHA256 fingerprints of the test keys. GnuPG-bug-id: 2106 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions