diff --git a/in/public/security/gpg/index.rst b/in/public/security/gpg/index.rst index 186ee80..763bb83 100644 --- a/in/public/security/gpg/index.rst +++ b/in/public/security/gpg/index.rst @@ -236,10 +236,27 @@ set primary UserID Export ====== +public key +---------- + .. code:: shell 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 ====