diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2018-09-02 18:02:29 -0400 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2019-08-23 12:54:28 -0400 |
commit | de7675f7a92430b77f94bf6d3ecc3916d89b5b13 (patch) | |
tree | 8a0dadc763d64424c2826608de6f3f9ddb22e6e2 | |
parent | Merge pull request #120 from timcooijmans/patch-1 (diff) | |
download | YubiKey-Guide-de7675f7a92430b77f94bf6d3ecc3916d89b5b13.tar.gz |
DOC: add section on signing with existing key
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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: |