[Pgp-tools-commit] r737 - trunk/keyart

Aaron Toponce atoponce-guest at moszumanska.debian.org
Mon Nov 24 22:17:00 UTC 2014


Author: atoponce-guest
Date: 2014-11-24 22:17:00 +0000 (Mon, 24 Nov 2014)
New Revision: 737

Modified:
   trunk/keyart/keyart
Log:
Remove colons from the fingerprint, which is common 


Modified: trunk/keyart/keyart
===================================================================
--- trunk/keyart/keyart	2014-11-17 21:36:17 UTC (rev 736)
+++ trunk/keyart/keyart	2014-11-24 22:17:00 UTC (rev 737)
@@ -255,6 +255,8 @@
     cmd = [gpg_bin, '--no-options', '--with-colons', '--fingerprint']
     if ARGS.fingerprint:
         for fpr in ARGS.fingerprint:
+            # remove any possible colons, as is common with fingerprints
+            fpr = fpr.translate(None, ':')
             if len(fpr) % 8 != 0:
                 print("Hex string must be a multiple of 8 bytes.")
                 sys.exit(2)




More information about the Pgp-tools-commit mailing list