From a2b72b08d4ae84c1f5651ed623cecd97487b3066 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 3 May 2019 14:24:03 +0200 Subject: [PATCH] gpg expert edit, add subkeys --- in/public/security/gpg/index.rst | 38 ++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/in/public/security/gpg/index.rst b/in/public/security/gpg/index.rst index 864567d..36d2b27 100644 --- a/in/public/security/gpg/index.rst +++ b/in/public/security/gpg/index.rst @@ -125,13 +125,12 @@ Modify .. code:: shell - gpg --edit-key "KEY ID" + gpg --expert --edit-key "KEY ID" […] :: - PassPhrase save add a subkey to a master key @@ -140,6 +139,41 @@ add a subkey to a master key :: addkey + 8 → RSA (set your own capabilities) + +[…] + +:: + + q → finished + 4096 + 1y → key expires in 1 year + y → this is correct + y → really create + PassPhrase + +sign +^^^^ + +:: + + e → toggle the encrypt capability + +encrypt +^^^^^^^ + +:: + + s → toggle the sign capability + +authenticate +^^^^^^^^^^^^ + +:: + + s → toggle the sign capability + e → toggle the encrypt capability + a → toggle the authenticate capability set expiration date -------------------