Announcing paperbackup.py to backup keys as QR codes on paper

ಚಿರಾಗ್ ನಟರಾಜ್ gpg-users at chiraag.me
Mon Sep 14 16:07:33 CEST 2020


You'll have to install python3-qrencode, not qrencode. All of the dependencies should by in the form of python3-<blah> (or if that's not available, install it through pip3).

Hope that helps!

- Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his

14/09/20 08:16 ನಲ್ಲಿ, bexnews--- via Gnupg-users <gnupg-users at gnupg.org> ಬರೆದರು:
> Hello Friends,
> 
> Ok I am no coder so I am trying to bungle my way thru setting up
> paperbackup.py.
> 
> My goal was to be able to print out a paper encrypted backup of a strong key
> that I can use to encrypt data or other keys. I tried the Windows Paperbackup
> from OllyDbg but it is older, on Windows (I'm on Linux atm) and was having a
> hard time getting the roundtrip to work with my printer and scanner.
> Paperbackup.py looked like a smart idea and I like the redundancy of the QR
> code and text string outputs. I tried the usage instructions....
> 
> 1. the first issue was I think specifically you need to prefix "paperbackup.py"
> with "python" correct?
> 2. second issue was when I do #1 I get
> 
>     Traceback (most recent call last):
>       File "paperbackup.py", line 35, in <module>
>         import qrencode
>     ImportError: No module named qrencode
> 
> 
> 3. I may be failing to install all the dependencies properly. I did  "sudo apt
> install qrencode" and seems installed (qrencode version 3.4.4 Copyright (C)
> 2006-2012 Kentaro Fukuchi), but no change in the ImportError in #2. Is there
> some other way to "hook" qrencode into paperbackup.py? I tried putting it all
> into the same folder but it doesn't seem to help.
> 
> danke schoen!
> - bexnews
> 
>     Announcing paperbackup.py to backup keys as QR codes on paper
> 
>     Gerd v. Egidy [1]gerd.von.egidy at intra2net.com
>     Tue Feb 21 15:34:17 CET 2017
>       □ Previous message (by thread): [2]Problems with cert validation via CRL
>       □ Next message (by thread): [3]Announcing paperbackup.py to backup keys
>         as QR codes on paper
>       □ Messages sorted by: [4][ date ] [5][ thread ] [6][ subject ] [7][
>         author ]
>     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>    
>     Hi,
> 
>     I'd like to announce a program I wrote to backup GnuPG and SSH keys as
>     qrcodes on paper:
> 
>     paperbackup.py
>     [8]https://github.com/intra2net/paperbackup
> 
>     This is designed as fallback if all your regular backups failed to restore or
>     were lost.
> 
>     Usage is like this:
> 
>     gpg2 --armor --export "User Name" >key.asc
>     gpg2 --armor --export-secret-key "User Name" >>key.asc
>     paperbackup.py key.asc
>     paperrestore.sh key.asc.pdf | diff key.asc -
>     lpr key.asc.pdf
> 
>     You'll find all the details, reasoning and examples in the README.
> 
>     Kind regards,
> 
>     Gerd
> 
> 
> 
> 
> References:
> 
> [1] mailto:gnupg-users%40gnupg.org?Subject=Re%3A%20Announcing%20paperbackup.py%20to%20backup%20keys%20as%20QR%20codes%20on%20paper&In-Reply-To=%3C9664399.F7pj19RVc2%40thunder.m.i2n%3E
> [2] https://lists.gnupg.org/pipermail/gnupg-users/2017-February/057787.html
> [3] https://lists.gnupg.org/pipermail/gnupg-users/2017-February/057771.html
> [4] https://lists.gnupg.org/pipermail/gnupg-users/2017-February/date.html#57765
> [5] https://lists.gnupg.org/pipermail/gnupg-users/2017-February/thread.html#57765
> [6] https://lists.gnupg.org/pipermail/gnupg-users/2017-February/subject.html#57765
> [7] https://lists.gnupg.org/pipermail/gnupg-users/2017-February/author.html#57765
> [8] https://github.com/intra2net/paperbackup
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - gpg-users at chiraag.me.asc.pgp
Type: application/pgp-key
Size: 651 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200914/1eeab89a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 233 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200914/1eeab89a/attachment-0001.sig>


More information about the Gnupg-users mailing list