quick-docs/modules/ROOT/pages/_partials/proc_backup-gpg-keys-cli.adoc

13 lines
357 B
Text
Raw Normal View History

2018-03-02 15:34:56 +00:00
[[backup-gpg-keys-cli]]
= Making a Key Backup Using the Command Line
Use the following command to make the backup, which you can then copy to a destination of your choice:
----
gpg2 --export-secret-keys --armor jqdoe@example.com > jqdoe-privkey.asc
----
Store the copy in a secure place, such as a locked container.
See now <<exporting-gpg-keys-cli>>.