Paperkey (Was: Re: )

David Shaw dshaw at jabberwocky.com
Thu Mar 11 23:53:03 CET 2010


On Mar 11, 2010, at 3:16 AM, john espiro wrote:

> I am using paperkey 1.2 from http://www.jabberwocky.com/software/paperkey/
> and 
> dmtxwrite version 0.7.3
> libdmtx version 0.7.3
> 
> If I run this command:
> gpg --export-secret-key mykey at me.com | paperkey --ignore-crc-error  --output-type raw | dmtxwrite -e8 -f png > my_pdf_file.png
> 
> I get the 2D barcode generated correctly -- if the key is 1024 or 2048.  If I try this with a secret key that is 4096, I am left with 20x20 pixel image that in no way looks complete.  I wonder if there's a limitation with either paperkey or dmtxwrite, or if I am doing something wrong.

Paperkey doesn't care what size the key is.  Try doing that same command line, but use "wc -c" instead of the dmtxwrite part to check that the output is larger than with a 2048 bit key.  Perhaps dmtxwrite is having a problem?

David




More information about the Gnupg-users mailing list