LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

paperkey

extracts printable GPG key data

TLDR

Extract secret from GPG key
$ paperkey --secret-key [secret.gpg] --output [paperkey.txt]
copy
Restore from paper backup
$ paperkey --pubring [public.gpg] --secrets [paperkey.txt] --output [restored.gpg]
copy
Output in base16
$ paperkey --secret-key [secret.gpg] --output-type base16
copy

SYNOPSIS

paperkey [options]

DESCRIPTION

paperkey extracts printable GPG key data. Creates paper backups.
The tool enables offline key storage. Requires public key to restore.

PARAMETERS

--secret-key FILE

Secret key file.
--pubring FILE
Public keyring for restore.
--secrets FILE
Paper backup file.
--output FILE
Output file.
--output-type TYPE
Output format (raw, base16).

CAVEATS

Requires public key for restore. Print and store securely.

HISTORY

paperkey was created for paper-based GPG key backup and recovery.

SEE ALSO

gpg(1), gpg2(1)

Copied to clipboard
Kai