Tangential, but why is there a docker image for a simple command line tool like this? Surely a git clone is enough, especially for a Go app, no?
Show HN: Qrkey – Offline private key backup on paper
21–30 of 46 posts
Re: Show HN: Qrkey – Offline private key backup on paper
#22You tag entries in your keepass DB with "safe-print", then point the tool to the db file, unlock it, then it generates a printout to put in your safe.
Re: Show HN: Qrkey – Offline private key backup on paper
#23Something similar, but encrypted, is PaperAge [1]. Admittedly, I haven't used it, but it seems like a nice solution for secure physical backup of small secrets. The catch, of course, is now you need to make sure you never forget your passphrase or back that up off-site somewhere else. [1]: https://github.com/matiaskorhonen/paper-age
It uses Shamir's secret sharing algorithm to generate shares where the private key is split in n shares with k needed to reconstruct it. The bytes are encoded as word on a PDF (either 'burnt in' or written manually with pen to minimise the risk of storing them on printers etc).
That way you can spread the risk of loosing the physical key, while still maintaining some assurance that e.g your friends can run away with the key (or be compelled to hand it over to some threat actor).
Re: Show HN: Qrkey – Offline private key backup on paper
#24How safe is printing a private key, considering potential vulnerabilities in the printer software, firmware, and its online connectivity?
While you pose a valid concern, I think most people don't have to worry about this. The reason is that printing private keys isn't a common practice, so I think it's unlikely that nation-states mandate backdoors in printer firmware to collect private keys, and most people don't have to worry about targeted attacks.
EDIT: On a second thought, your comment reminded me of that creepy time many years ago when a printer randomly regurgitated a partial print of a document I printed some time before (read: days or even weeks before), clearly showing that the printer kept it somewhere in memory. So it still possible that some printers memorize what you print. IIRC it was a Brother printer. At the end of the day, you can't account for every possible attack vector. Pick a reasonable threat model and act accordingly.
Re: Show HN: Qrkey – Offline private key backup on paper
#25> Recover from a PDF with QR codes with a barcode scanner Barcode scanners scan bar codes, not QR codes.
Re: Show HN: Qrkey – Offline private key backup on paper
#26What is the benefit of using a QR code over just printing and storing the document itself in a human-readable format? I'm trying to think of when/why I would want to add the extra step of converting to/from QR codes for the documents I keep in my safe, but I'm not coming up with any reasonable use case. I'm sure I could just be missing the use case(s) the author has in mind, perhaps they should be suggested in the re…
Error correction?
Re: Show HN: Qrkey – Offline private key backup on paper
#27How safe is printing a private key, considering potential vulnerabilities in the printer software, firmware, and its online connectivity?
You're posing a good question but, if you look at things from this perspective, then every time you type the password to decrypt your private key you should worry about the possibility of some software running on your machine reading it and sending it somewhere. While you pose a valid concern, I think most people don't have to worry about this. The reason is that printing private keys isn't a common practice, so I th…
Re: Show HN: Qrkey – Offline private key backup on paper
#28Re: Show HN: Qrkey – Offline private key backup on paper
#29Earlier quoted context omitted.
You're posing a good question but, if you look at things from this perspective, then every time you type the password to decrypt your private key you should worry about the possibility of some software running on your machine reading it and sending it somewhere. While you pose a valid concern, I think most people don't have to worry about this. The reason is that printing private keys isn't a common practice, so I th…
This certainly applies to office printers. Printers that accept new jobs while printing have to store them somewhere. There have been many incidents of finding old documents on disposed printers because it doesn’t occur to anyone to wipe them first. This especially applies to “copiers”, because a copier is just a printer in the same box as a scanner.
Re: Show HN: Qrkey – Offline private key backup on paper
#30I keep meaning to do something like this in combination with Shamir’s secret sharing (which allows you to split a secret into M blocks, of which any N can be combined to recover the key, and M and N are configurable) to distribute a private key among family members in case of my untimely demise so they can more easily access my financial accounts and stuff. Has anyone done that before, and if so, what tools do you pr…
It is a really fun idea and does not require deep technical knowledge to operate. The intent is for Bitcoin secret keys, but it can be used for any secrets.