diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-30 22:00:26 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-03-30 22:00:26 +0100 |
commit | 69ce6e468264e7f73904625fa65a778dce665645 (patch) | |
tree | 90c12806d7b4082898acc498819504712ebbd074 /src/tools/gpg.md | |
parent | d5772f62300453d98ad0cfa8334efe0b62a7d157 (diff) | |
download | notes-69ce6e468264e7f73904625fa65a778dce665645.tar.gz notes-69ce6e468264e7f73904625fa65a778dce665645.zip |
gpg: fix key output comment pub -> private
Diffstat (limited to 'src/tools/gpg.md')
-rw-r--r-- | src/tools/gpg.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/gpg.md b/src/tools/gpg.md index c37353f..91d5607 100644 --- a/src/tools/gpg.md +++ b/src/tools/gpg.md @@ -44,7 +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 --export-secret-key --armor --output <KEY.PRIVATE> <KEY ID> gpg --import <FILE> ``` |