diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-07-06 21:15:45 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-08-10 17:25:26 +0200 |
commit | f14cde2ca702f72415486bf5c310208a7c500e9c (patch) | |
tree | 38039b8b15d05f82f11bf0d5bb78028f4a7e5dc4 /apt-private/private-utils.h | |
parent | c1642be522a9d9cf5a4a9f2dd8794cfaf0264fb5 (diff) |
support gpg 2.1.x in apt-key
The output of gpg slightly changes in 2.1 which breaks the testcase, but
the real problem is that this branch introduces a new default keyring
format (which is called keybox) and mixing it with simple keyrings (the
previous default format) has various problems like failing in the keybox
to keyring import (#790665) or [older] gpgv versions not being able to
deal with keyboxes (and newer versions as well currently:
https://bugs.gnupg.org/gnupg/issue2025).
We fix this by being a bit more careful in who creates keyrings (aka: we
do it or we take a simple keyring as base) to ensure we always have a
keyring instead of a keybox. This way we can ensure that any version
combination of gpv/gpgv2 and gnupg/gnupg2 without doing explicit version
checks and use the same code for all of them.
Closes: 781042
Diffstat (limited to 'apt-private/private-utils.h')
0 files changed, 0 insertions, 0 deletions