From 9058b14426d159651df10e47a26f81110ed89c02 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Wed, 6 May 2020 04:03:59 -0400 Subject: Avoid making SHA1 signatures. --- lib/KeyRing/BuildKeyDB.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/KeyRing') diff --git a/lib/KeyRing/BuildKeyDB.hs b/lib/KeyRing/BuildKeyDB.hs index 3fe1d17..44952de 100644 --- a/lib/KeyRing/BuildKeyDB.hs +++ b/lib/KeyRing/BuildKeyDB.hs @@ -688,7 +688,7 @@ insertSubkey transcode kk (KeyData top topsigs uids subs) tags inputfile key0 = try wkun' $ \wkun -> do sig_ov <- pgpSign (Message [wkun]) tor_ov - SHA1 + SHA256 (show $ fingerprint wkun) flip (maybe $ return $ KikiSuccess (uids,[(fname, WarnFailedToMakeSignature)])) (sig_ov >>= listToMaybe . signatures_over) -- cgit v1.2.3