From 4c8c879b387991eea22fa1e27b501d34420754c2 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Thu, 19 Aug 2021 17:39:31 +0200 Subject: signkey: remove !! from SHA1 digest (#130) Remove the "!!" chars from message when printing the key-fingerprint, as it's confusing users. They have been added when switching from MD5, but SHA1 can be considered as standard today. Signed-off-by: Sven Roederer --- signkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signkey.c b/signkey.c index 1f9b682..96446c8 100644 --- a/signkey.c +++ b/signkey.c @@ -568,7 +568,7 @@ static char * sign_key_sha1_fingerprint(const unsigned char* keyblob, buflen = 7 + 3*SHA1_HASH_SIZE; ret = (char*)m_malloc(buflen); - strcpy(ret, "sha1!! "); + strcpy(ret, "sha1 "); for (i = 0; i < SHA1_HASH_SIZE; i++) { unsigned int pos = 7 + 3*i; -- cgit v1.2.3