Re:OpenPGP master key on Nitrokey Start
by matheusmoreira on Tuesday March 28, 2023 @08:12AM
(#35339536)
These hardware devices can fail and take the key with them. Master keys aren't expendable like subkeys so it's always a good idea to have a paperkey backup. I worked on binary decoding for zbar to make them easy to decode with a laptop camera.
[ Parent
| on HN ]
Yes, and the author is importing a key from offline storage, not creating one on the Nitrokey directly.
Could you share your script?
Re:OpenPGP master key on Nitrokey Start
by matheusmoreira on Tuesday March 28, 2023 @08:58PM
(#35350546)
I don't have a script. I submitted patches to zbar and added instructions to the Arch Wiki once the updated version of zbar landed in the repositories.
https://wiki.archlinux.org/title/Paperkey#Restore_the_secret...
It's just a simple pipeline:
$ zbarcam --raw --oneshot -Sbinary | paperkey --pubring public-key.gpg | gpg --import
Even 4096 bit RSA keys fit in binary QR codes. Ideal for easily restoring keys in a live Linux system and ensuring they are never written to disk.