Skip to content

Generate PDF document with secret GPG keys or revocation certificates.

License

Notifications You must be signed in to change notification settings

sajimon/gpg2paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gpg2paper

Generate PDF document with secret GPG keys or revocation certificates using pdflatex.

Credits goes to @costrouc.

Example usage:

pdflatex -shell-escape "\\def\gptitle{Master Key}\\def\gpkeyfinger{478122ED}\\def\gpfile{data.bin}\\include{gpg2paper}"

The data.bin file contains your secret data or any other data you wish to backup. It can contain the output of

gpg --output data.bin --export-secret-key [YOURKEYID]

but it's recommended to use paperkey utility to extract only secret data. It will produce less bytes to backup and make QR codes less dense.

Remember to destory your printer afterwards, preferably with 🔥!

Example output:

alt tag

About

Generate PDF document with secret GPG keys or revocation certificates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages