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

Aaron Toponce atoponce-guest at moszumanska.debian.org
Wed May 14 18:18:57 UTC 2014


Author: atoponce-guest
Date: 2014-05-14 18:18:57 +0000 (Wed, 14 May 2014)
New Revision: 617

Added:
   trunk/keyart/BUGS
Modified:
   trunk/keyart/keyart
Log:
Add BUGS and redirect STDERR to /dev/null

Redirecting STDERR to /dev/null removes the error about the MD5 digest
algorithm being deprecated. The error is exactly:

    :gpg: WARNING: digest algorithm MD5 is deprecated
    gpg: please see http://www.gnupg.org/faq/weak-digest-algos.html for more information



Added: trunk/keyart/BUGS
===================================================================
--- trunk/keyart/BUGS	                        (rev 0)
+++ trunk/keyart/BUGS	2014-05-14 18:18:57 UTC (rev 617)
@@ -0,0 +1,5 @@
+BUGS
+----
+
+* Keys with a direct signature on the key will not display the ^fpr line.
+  See https://bugs.g10code.com/gnupg/issue1640.

Modified: trunk/keyart/keyart
===================================================================
--- trunk/keyart/keyart	2014-05-14 13:25:46 UTC (rev 616)
+++ trunk/keyart/keyart	2014-05-14 18:18:57 UTC (rev 617)
@@ -18,10 +18,12 @@
     sys.exit(3)
 
 try:
+    DEVNULL = open(os.devnull, 'wb')
     gpg = subprocess.Popen(
         ('gpg','--with-fingerprint','--with-colons', keyfile),
-        stdout=subprocess.PIPE)
+        stdout=subprocess.PIPE, stderr=DEVNULL)
     out = gpg.communicate()
+    DEVNULL.close()
 except OSError:
     print "Please install GnuPG before using this script."
     sys.exit(4)




More information about the Pgp-tools-commit mailing list