4 ms·
> I also disagree with the idea of backing up the private key. You should have secure copies of your master key. Especially if you've invested time in building
by matheusmoreira 5y ago
> I also disagree with the idea of backing up the private key.
You should have secure copies of your master key. Especially if you've invested time in building up your web of trust. Backing up encryption keys is also useful. If they're lost, data cannot be decrypted later. Signing keys are the only ones which are completely expendable.
Creating a paperkey and storing it in a physical safe is ideal. That way you can keep your master key offline until needed and use subkeys for daily use.
You can encode it as a QR code:
gpg --export-secret-key $KEY | paperkey --output-type raw | qrencode --8bit --output secret.png
And easily restore it later with zbar:
zbarimg --raw --oneshot -Sbinary secret.png | paperkey --pubring public.asc | gpg --import
zbarcam --raw --oneshot -Sbinary | paperkey --pubring public.asc | gpg --import
- vasili111 5y ago>You should have secure copies of your master key. Especially if you've invested time in building up your web of trust. Backing up encryption keys is also useful. If they're lost, data cannot be decrypted later. Signing keys are the only ones which are completely expendable. Where can I read to how to do that?
- matheusmoreira 5y agoThe paperkey documentation. https://www.jabberwocky.com/software/paperkey/ https://www.jabberwocky.com/software/paperkey/ https://wiki.archlinux.org/title/Paperkey https://wiki.archlinux.org/title/Paperkey The paperkey tool will produce a human-readable text file that you can print out. I found that to be inconvenient and settled on QR codes instead. They're ubiquitous, machine-readable and have built-in error correction.
- abdullahkhalids 5y agoA vast majority of people should create paperkeys. I will just note that if one creates a paperkey by printing it out, they are transmitting their secret key over the network to likely an internet-connected printer that also sometimes stores documents in its cache for a while.