linux:gpg_howto
Differences
This shows you the differences between two versions of the page.
linux:gpg_howto [2023/09/13 07:13] – created dodger | linux:gpg_howto [2023/09/13 07:13] (current) – dodger | ||
---|---|---|---|
Line 8: | Line 8: | ||
<code bash> | <code bash> | ||
gpg --list-secret-keys --keyid-format=long | gpg --list-secret-keys --keyid-format=long | ||
- | < | + | </code> |
sort: | sort: | ||
<code bash> | <code bash> | ||
gpg --list-secret-keys | gpg --list-secret-keys | ||
- | < | + | </code> |
Line 19: | Line 19: | ||
<code bash> | <code bash> | ||
gpg --export-secret-keys --armor 1234ABCD > secret.asc | gpg --export-secret-keys --armor 1234ABCD > secret.asc | ||
- | < | + | </code> |
===== Export public key ===== | ===== Export public key ===== | ||
<code bash> | <code bash> | ||
gpg --export --armor --output bestuser-gpg.pub | gpg --export --armor --output bestuser-gpg.pub | ||
- | < | + | </code> |
linux/gpg_howto.txt · Last modified: 2023/09/13 07:13 by dodger