diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-03-13 16:15:49 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-03-13 16:15:49 +0100 |
commit | 20590d5c1d973b46b783210e916484aa3b9d3ec9 (patch) | |
tree | 0500aa21beca19cb018a49c3cd5fe3283859d776 | |
parent | a7d5161041378ae600affa8955e0c67a7cb1ba65 (diff) | |
download | notes-20590d5c1d973b46b783210e916484aa3b9d3ec9.tar.gz notes-20590d5c1d973b46b783210e916484aa3b9d3ec9.zip |
gpp: export private key
-rw-r--r-- | src/tools/gpg.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/gpg.md b/src/tools/gpg.md index 316f53f..f79265b 100644 --- a/src/tools/gpg.md +++ b/src/tools/gpg.md @@ -44,6 +44,7 @@ delkey delete selected subkey ## Export & Import Keys ```bash gpg --export --armor --output <KEY.PUB> <KEY ID> +gpg --export-secret-key --armor --output <KEY.PUB> <KEY ID> gpg --import <FILE> ``` |