aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-03-30 22:00:26 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-03-30 22:00:26 +0100
commit69ce6e468264e7f73904625fa65a778dce665645 (patch)
tree90c12806d7b4082898acc498819504712ebbd074 /src/tools
parentd5772f62300453d98ad0cfa8334efe0b62a7d157 (diff)
downloadnotes-69ce6e468264e7f73904625fa65a778dce665645.tar.gz
notes-69ce6e468264e7f73904625fa65a778dce665645.zip
gpg: fix key output comment pub -> private
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/gpg.md2
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>
```