aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgtar.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-12-04 07:56:02 +0000
committerWerner Koch <[email protected]>2015-12-04 07:56:02 +0000
commit28311d1fa56bfbd801103a8475597459132874f4 (patch)
treea6e85b3d5e3419bea03f0ffda4f166531d3bfcdc /tools/gpgtar.c
parentdirmngr: Add command to print the resolver version. (diff)
downloadgnupg-28311d1fa56bfbd801103a8475597459132874f4.tar.gz
gnupg-28311d1fa56bfbd801103a8475597459132874f4.zip
gpg: Do not pre-check keys given on the command line.
* g10/keydb.h (PK_LIST_ENCRYPT_TO, PK_LIST_HIDDEN, PK_LIST_CONFIG) (PK_LIST_SHIFT): New. * g10/pkclist.c (build_pk_list): Use them here. * g10/gpg.c (check_user_ids, main): Ditto. * g10/gpg.c (main): Set PK_LIST_CONFIG for REMUSR and LOCUSR. (check_user_ids): Skip check for command line specified options. -- If a key has been given on the command line and it has not been given by one of the encrypt-to options, we now skip the checks. The reason is that the actual key selection code does its own checks and provides proper status message to the caller to detect the wrong keys. Without this we would break most frontends because they expect for example STATUS_INV_RECP. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions