From 6cd76216c51cfbebab98f9ef41c65eb94b141f8a Mon Sep 17 00:00:00 2001 From: Rodney Lorrimar Date: Wed, 22 Jan 2020 09:12:17 +1000 Subject: [PATCH] Add information about setting the primary user ID --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index f38c7f4..d3f1a61 100644 --- a/README.md +++ b/README.md @@ -712,9 +712,39 @@ ssb rsa4096/0x3F29127E79649A3D [ultimate] (1). Dr Duh [ unknown] (2). Dr Duh +gpg> uid 1 + +sec rsa4096/0xFF3E7D88647EBCDB +created: 2017-10-09 expires: never usage: SC + trust: ultimate validity: ultimate +ssb rsa4096/0xBECFA3C1AE191D15 + created: 2017-10-09 expires: never usage: S +ssb rsa4096/0x5912A795E90DD2CF + created: 2017-10-09 expires: never usage: E +ssb rsa4096/0x3F29127E79649A3D + created: 2017-10-09 expires: never usage: A +[ultimate] (1)* Dr Duh +[ unknown] (2). Dr Duh + +gpg> primary + +sec rsa4096/0xFF3E7D88647EBCDB +created: 2017-10-09 expires: never usage: SC + trust: ultimate validity: ultimate +ssb rsa4096/0xBECFA3C1AE191D15 + created: 2017-10-09 expires: never usage: S +ssb rsa4096/0x5912A795E90DD2CF + created: 2017-10-09 expires: never usage: E +ssb rsa4096/0x3F29127E79649A3D + created: 2017-10-09 expires: never usage: A +[ultimate] (1)* Dr Duh +[ unknown] (2) Dr Duh + gpg> save ``` +By default, the last identity added will be the primary user ID. Use `primary` to change that. + # Verify List the generated secret keys and verify the output: