diff options
| author | Stephan Mueller <[email protected]> | 2019-02-19 07:14:41 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-09-06 15:12:38 +0000 |
| commit | e825aea2ba3529c333d7ec2c76e63998cb83d999 (patch) | |
| tree | b4f8392f45f824950ed950c2b5c17dd2e73a34c6 /dirmngr/t-support.c | |
| parent | gpg: Make --quiet work on --send-keys. (diff) | |
| download | gnupg-e825aea2ba3529c333d7ec2c76e63998cb83d999.tar.gz gnupg-e825aea2ba3529c333d7ec2c76e63998cb83d999.zip | |
gpg: expand GPG groups when resolving a key
* g10/expand-group.c: New
* g10/pkclist.c: Extract expand_group and expand_id into expand-group.c.
* g10/keydb.h: Add prototypes of expand_id and expand_group.
* g10/getkey.c: Use expand_group before resolving key references.
* g10/Makefile.am: Compile expand-group.c.
--
When searching a key by its name, try to expand the provided name in
case it is a GPG group reference. This GPG group resolution is performed
before the individual keys are verified.
This allows key listing using a GPG group reference. In particular, this
modification fixes the encryption to group support in KDE's Kmail which
is broken since version 18.04.
Signed-off-by: Stephan Mueller <[email protected]>
- Changed new filename to use a dash instead of an underscore.
- Indendation changes.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/t-support.c')
0 files changed, 0 insertions, 0 deletions
