From 55e7ac39ba0e3e200d23302b6ac0efcfaa967a05 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 6 Aug 2008 14:49:55 -0400 Subject: [PATCH 1/1] suggesting user-friendliness improvements for monkeysphere gen-key --- ...nkeysphere-gen-key-should-guess-KeyID.mdwn | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 website/bugs/monkeysphere-gen-key-should-guess-KeyID.mdwn diff --git a/website/bugs/monkeysphere-gen-key-should-guess-KeyID.mdwn b/website/bugs/monkeysphere-gen-key-should-guess-KeyID.mdwn new file mode 100644 index 0000000..f50cbf0 --- /dev/null +++ b/website/bugs/monkeysphere-gen-key-should-guess-KeyID.mdwn @@ -0,0 +1,23 @@ +[[meta title="`monkeysphere gen-key` should guess at KeyID if none provided"]] + +Currently, if you have a single private key in your GnuPG keyring, and +you call: + + monkeysphere gen-key + +(with no additional arguments), it will report an error. + +It would be more user-friendly if we could guess which key to use. I +suggest: + +* If the user only has no GPG secret keys at all, it should fail, and + suggest that the user create a key first, then re-run `monkeysphere + gen-key`. (`monkeysphere` could actually invoke `gpg --gen-key` for + the user directly, if the user wants that) + +* If the user only has one GPG secret key, it should use that key. + +* If the user has more than one GPG secret key, `monkeysphere` should + fail, and report the different key IDs that they user might want to + select (reporting which keys already have authorization subkeys or + the authorization capability on the primary key would be useful too) -- 2.25.1