gpg export private key and subkeys

This commit is contained in:
Marc Beninca 2019-05-03 19:07:54 +02:00
parent 79e73eb9cc
commit c6558b4525

View file

@ -236,10 +236,27 @@ set primary UserID
Export Export
====== ======
public key
----------
.. code:: shell .. code:: shell
gpg --armor --export "Key ID" > pub.asc gpg --armor --export "Key ID" > pub.asc
private key
-----------
.. code:: shell
gpg --armor --export-secret-keys FFIINNGGEERRPPRRIINNTT > key.gpg
private subkeys
---------------
.. code:: shell
gpg --armor --export-secret-subkeys FFIINNGGEERRPPRRIINNTT > subkeys.gpg
Dump Dump
==== ====