From a4b0fad555989e17b5f8d5f82088dba0d768063b Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 25 Mar 2021 11:53:10 +0100 Subject: Update GPG --- gpg.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gpg.md b/gpg.md index 8b7cc2f..b76bba3 100644 --- a/gpg.md +++ b/gpg.md @@ -25,6 +25,10 @@ Add `--armor` to make it readable-ASCII encoded. gpg --armor --export [--output ] +## Import key + + gpg --import + ## Asymmetric crypto gpg --encrypt [--sign] [-u ] [--recipient ] file @@ -40,6 +44,16 @@ Add new email to key: > save # saves and quits +Sign a key (changes trust from `unknown` to `full`), apparently necessary for +use in mutt: + + gpg --edit-key + > sign + > save + + # specify the signing key (by default it's your first one) + gpg --local-user --edit-key + ## gpg-agent `gpg-agent` is a daemon that e.g. provides a passphrase cache for GPG. Running -- cgit v1.2.3