diff options
author | Neal H. Walfield <[email protected]> | 2015-12-14 11:05:29 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-12-14 12:02:50 +0000 |
commit | e573e6188dada4d70f6897aa2fda3c3af8c50441 (patch) | |
tree | f8361bb274744bfc1980a7af772b086b026737ca /common/exectool.c | |
parent | scd: Fix regression for generating RSA keys on card. (diff) | |
download | gnupg-e573e6188dada4d70f6897aa2fda3c3af8c50441.tar.gz gnupg-e573e6188dada4d70f6897aa2fda3c3af8c50441.zip |
gpg: Fix --default-key checks.
* g10/getkey.c (parse_def_secret_key): Don't just check if a secret
key is available for the public key, also consider subkeys. Also
check that the key has the signing capability, is not revoked, is not
expired and is not disabled. Print a warning if there was a least one
value passed to --default-key and all were ignored.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Regression-due-to: e16d7168
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions