Created
July 16, 2018 03:54
-
-
Save zhsj/eacb1bca11ec4427ab94e31a701b8ccc to your computer and use it in GitHub Desktop.
sks poison key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/keydb.ml b/keydb.ml | |
index 949a1f4..7ff976a 100644 | |
--- a/keydb.ml | |
+++ b/keydb.ml | |
@@ -1166,6 +1166,11 @@ struct | |
try | |
if has_hash hash then [] else | |
let keyid = Fingerprint.keyid_from_key ~short:true key in | |
+ let keyid_long = Fingerprint.keyid_to_string ~short:false (Fingerprint.keyid_from_key ~short:false key) in | |
+ | |
+ (* Blacklist poison key - RT#112669 *) | |
+ plerror 4 "considering keyid %s" keyid_long; | |
+ if List.mem keyid_long ["E41ED3A107A7DBC7"] then [] else | |
let potential_merges = List.filter ~f:(fun x -> x <> key) | |
(get_by_short_keyid keyid) | |
in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment