1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

paperkey: add page (#6378)

This commit is contained in:
Miles Glapa-Grossklag 2021-08-26 21:16:25 -07:00 committed by GitHub
parent 35e8bae324
commit 09f9b04b4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
pages/common/paperkey.md Normal file
View file

@ -0,0 +1,16 @@
# paperkey
> An OpenPGP key archiver.
> More information: <https://www.jabberwocky.com/software/paperkey/>.
- Take a specific secret key and generate a text file with the secret data:
`paperkey --secret-key {{path/to/secret_key.gpg}} --output {{path/to/secret_data.txt}}`
- Take the secret key data in `secret_data.txt` and combine it with the public key to reconstruct the secret key:
`paperkey --pubring {{path/to/public_key.gpg}} --secrets {{path/to/secret_data.txt}} --output {{secret_key.gpg}}`
- Export a specific secret key and generate a text file with the secret data:
`gpg --export-secret-key {{key}} | paperkey --output {{path/to/secret_data.txt}}`