[Pgp-tools-commit] r746 - in trunk: debian gpg-key2latex

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Fri Dec 12 01:08:07 UTC 2014


Author: guilhem-guest
Date: 2014-12-12 01:08:07 +0000 (Fri, 12 Dec 2014)
New Revision: 746

Modified:
   trunk/debian/changelog
   trunk/gpg-key2latex/gpg-key2latex
Log:
Generate QR codes with (M)edium error correction level.

Since as noted by Peter Lebbing, "you get a more resilient QR code for
free" -- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772854#10

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2014-12-12 01:08:00 UTC (rev 745)
+++ trunk/debian/changelog	2014-12-12 01:08:07 UTC (rev 746)
@@ -19,6 +19,7 @@
   * gpg-key2latex
     + Add a fixed 4 module wide quiet zone around QR codes as specified in the
       standard. (Closes: #772854)
+    + Generate QR codes with (M)edium error correction level.
 
  -- Guilhem Moulin <guilhem at guilhem.org>  Mon, 17 Nov 2014 16:49:51 +0100
 

Modified: trunk/gpg-key2latex/gpg-key2latex
===================================================================
--- trunk/gpg-key2latex/gpg-key2latex	2014-12-12 01:08:00 UTC (rev 745)
+++ trunk/gpg-key2latex/gpg-key2latex	2014-12-12 01:08:07 UTC (rev 746)
@@ -221,7 +221,7 @@
             close $rfd or die "Can't close: $!";
             dup2 (fileno $wfd, 1);
             close $wfd or die "Can't close: $!";
-            exec qw/qrencode -i -d300 -tEPS -o -/, "OPENPGP4FPR:$key{fpr}" or die "Can't exec: $!";
+            exec qw/qrencode -i -lM -d300 -tEPS -o -/, "OPENPGP4FPR:$key{fpr}" or die "Can't exec: $!";
         }
     }
 




More information about the Pgp-tools-commit mailing list