Add examples for exporting GPG keys (#907)

This chage adds examples for exporting public and private GPG keys.

This is particularly useful for backing up keys. In both cases they have
been output as ASCII armored text with the `--armor` flag to make the
output easier to work with.
This commit is contained in:
Rob Young 2016-06-20 23:58:28 +01:00 committed by Waldir Pimenta
parent 40223d8eef
commit b78dd40547

View File

@ -21,3 +21,11 @@
- Import a public key:
`gpg --import {{public.gpg}}`
- Export public key for alice@example.com (output to STDOUT):
`gpg --export --armor {{alice@example.com}}`
- Export private key for alice@example.com (output to STDOUT):
`gpg --export-secret-keys --armor {{alice@example.com}}`