2020-12-21 Manual autocrypt

I got encrypted mail, yay! I noticed that the sender had helpfully used autocrypt, because there was a header:

Autocrypt: addr=somebody@example.com; keydata=

How to extract this? I don’t know. I know that with Delta Chat, this would have just worked. I noticed that Emacs has a package implementing autocrypt, but I don’t actually want to setup an account and I don’t understand all the extras it does (gossip‽) – so I wanted to do it manually.

I saved the keydata in a file and decoded it, ignoring the whitespace at the beginning of each line:

base64 --ignore-garbage --decode test.txt > test.key

And imported it:

gpg --import test.key

Phew! 😅


Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Just say HELLO