diff options
author | Justus Winter <[email protected]> | 2017-05-24 15:03:58 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-05-24 15:07:13 +0000 |
commit | 3a07a69dfc87b4fff610740d3dde8e23f0d2f8bc (patch) | |
tree | a7b8c993bc26ba9c2c6d86373cf63e3c09c0f8ff /agent/command-ssh.c | |
parent | common: Support different digest algorithms for ssh fingerprints. (diff) | |
download | gnupg-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 '')
0 files changed, 0 insertions, 0 deletions