Merge remote branch 'origin/master'
[monkeysphere.git] / website / bugs / monkeysphere-gen-key-should-guess-KeyID.mdwn
1 [[!meta title="`monkeysphere gen-key` should guess at KeyID if none provided"]]
2
3 Currently, if you have a single private key in your GnuPG keyring, and
4 you call:
5
6         monkeysphere gen-key
7
8 (with no additional arguments), it will report an error.
9
10 It would be more user-friendly if we could guess which key to use.  I
11 suggest:
12
13 * If the user only has no GPG secret keys at all, it should fail, and
14   suggest that the user create a key first, then re-run `monkeysphere
15   gen-key`.  (`monkeysphere` could actually invoke `gpg --gen-key` for
16   the user directly, if the user wants that)
17
18 * If the user only has one GPG secret key, it should use that key.
19
20 * If the user has more than one GPG secret key, `monkeysphere` should
21   fail, and report the different key IDs that they user might want to
22   select (reporting which keys already have authorization subkeys or
23   the authorization capability on the primary key would be useful too)
24
25 [[bugs/done]] completed 2008-08-08 09:40:33-0400 (to be released in 0.8-1)