New answers tagged

1

You may be interested in paperkey, which is designed to take a GPG secret key, and transform it into a sequence of bytes that can be printed out on paper. The secret key can be subsequently recovered from the text after scanning it or keying it in. There's also a discussion of various ways of archiving data on paper which you might find interesting.


3

I just found out that this is not possible. % wc -c ~/private.key 6709 /home/toogley/private.key (-c counts characters.) to cite from wikipedia: max characters for alphanumerical characters: 4,296.


5

Your error message already gives a hint as to what's wrong! Your one-liner is providing the actual file content as filename to the qrencode program. Hence the error message. Try qrencode -o test.png -t png < private.key. You should take a look at shell input-output redirection. For example, I/O Redirection. I see that you too have found your way to ...


2

An alternative, if you have a fairly recent pinentry/gpg2 (tested with 0.9.7 and 2.1.11 respectively on Arch Linux), is to use http://elpa.gnu.org/packages/pinentry.html. Install pinentry from M-x list-packages, then put allow-emacs-pinentry in your .gnupg/gpg-agent.conf and put (setenv "INSIDE_EMACS" (format "%s,comint" emacs-version)) ...


0

You cannot change the passphrase, but you can decrypt and reencrypt: gpg --decrypt file.txt.gpg | (gpg -c > tmp.gpg && mv tmp.gpg file.txt.gpg) You shouldn't directly redirect to your encrypted file (it still needs to be decrypted) and the && make sure the mv is not executed unless the encryption succeeded. The above will prompt you ...


1

Although underlying crypto primitives are similar, PGP file (packet) formats including keys are very different from those used by OpenSSL (mostly ASN.1 and PEM). You don't say so, but this appears to be an RSA key. If Java is okay for you, it can do that using BCPROV plus BCPKIX (for PEM) and BCPG (for PGP) from http://www.bouncycastle.org . Adjust name ...


1

I had the same issue as the original poster. I want EasyPG to save files with a .asc extension in ASCII-armored ciphertext, not binary. There's some good info in the responses, but none was complete enough to solve the OP's issue. I think I solved it with the following configuration. (epa-file-enable) (setq epa-file-name-regexp ...


0

Uncomment 'use-agent' in .gnupg/gpg.conf. Embarrassing but true...



Top 50 recent answers are included