Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

21
paperkey Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`