From 09f9b04b4c79df3fc0f15d1e1816212fef5c0da8 Mon Sep 17 00:00:00 2001 From: Miles Glapa-Grossklag Date: Thu, 26 Aug 2021 21:16:25 -0700 Subject: [PATCH] paperkey: add page (#6378) --- pages/common/paperkey.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/paperkey.md diff --git a/pages/common/paperkey.md b/pages/common/paperkey.md new file mode 100644 index 0000000000..73ed52a034 --- /dev/null +++ b/pages/common/paperkey.md @@ -0,0 +1,16 @@ +# paperkey + +> An OpenPGP key archiver. +> More information: . + +- 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}}`