DOC: add section on signing with existing key

This commit is contained in:
Thomas A Caswell 2018-09-02 18:02:29 -04:00
parent 96c15ba3f3
commit de7675f7a9
No known key found for this signature in database
GPG Key ID: BCD928050D713D75
1 changed files with 11 additions and 0 deletions

View File

@ -416,6 +416,17 @@ Export the key ID as a [variable](https://stackoverflow.com/questions/1158091/de
$ export KEYID=0xFF3E7D88647EBCDB
```
# Sign with an existing key (if you have one)
Export your existing key to move it to the working keyring. From a different terminal do:
$ gpg --export-secret-keys --armor --output /tmp/new.sec
and then
$ gpg --default-key $OLDKEY --sign-key $KEYID
# Sub-keys
Edit the master key to add sub-keys: