Tidy GPG article

This commit is contained in:
2019-04-30 14:35:23 +02:00
parent 468783dce7
commit 41849e4007
+7 -2
View File
@@ -14,7 +14,8 @@ will only work for so long. But that means that every expiry interval you need
to update the expiry dates to keep using the keys. And of course, like me, you
totally remember how to do that a year (or a month, or 10 minutes) later. Right?
So I wrote it down.
There is conflicting information about this, and GnuPG's documentation and UI
are terrible, so I wrote it down for us both.
For this recipe, you will need:
@@ -39,7 +40,9 @@ export GNUPGHOME=$(mktemp -d)
gpg --import
```
Just paste your master key into the terminal, or however else you want to get it into the container. Obviously look for people standing behind you scribbling furiously. You will be asked for your passphrase.
Just paste your master key into the terminal, or however else you want to get
it into the container. Obviously look for people standing behind you scribbling
furiously. You will be asked for your passphrase.
The output will include something like:
@@ -98,3 +101,5 @@ new expiry date.
```
gpg --recv-keys masterkeyid
```
Now if only I could work out how to get GPG agent forwarding to work...