I want to generate a QR code of my 4096-bit armored GPG private key. The key is so big, the program qrencode
seems to fail because of its size.
$ gpg --export-secret-keys --armor > ~/private.key
$ ./qrencode -o test.png < ~/private.key
Result:
Failed to encode the input data: Numerical result out of range
How can I make that happen? Are there alternative programs to qrencode which can handle a very big GPG key? I want to print it on paper as this security.SE question suggested.
The comments of @geruetzel and @ cuonglm are addressing this version of my question.
<
, the command isqrencode -o test.png -t png "$( cat private.key)"
– cuonglm Apr 30 '16 at 15:53