[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Add SIG_SUBPACKET as a known_keyword.



SIG_SUBPACKET denotes a preferred keyserver was set for the key but requires no
additional processing and has no bearing on signature validity. It simply needs
to be ignored.

Signed-off-by: Jeremy T. Bouse <jbouse@debian.org>
---
 daklib/utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index 3cc4053..7d5c4c4 100644
--- a/daklib/utils.py
+++ b/daklib/utils.py
@@ -1360,7 +1360,7 @@ def check_signature (sig_filename, data_filename="", keyrings=None, autofetch=No
 
     # Finally ensure there's not something we don't recognise
     known_keywords = dict(VALIDSIG="",SIG_ID="",GOODSIG="",BADSIG="",ERRSIG="",
-                          SIGEXPIRED="",KEYREVOKED="",NO_PUBKEY="",BADARMOR="",
+                          SIGEXPIRED="",KEYREVOKED="",NO_PUBKEY="",BADARMOR="",SIG_SUBPACKET="",
                           NODATA="",NOTATION_DATA="",NOTATION_NAME="",KEYEXPIRED="",POLICY_URL="")
 
     for keyword in keywords.keys():
-- 
1.6.3.3


Reply to: