diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-08-01 15:22:09 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-10-26 13:18:36 +0200 |
commit | f29f7ce33d6570fca5a6d0160cac215da184de89 (patch) | |
tree | 0d6da66b917e3184a145b02ee96f39c6e3b30193 /CMakeLists.txt | |
parent | fb73af35d69d998a75eefc946a8452e56c4ff99c (diff) |
ignore unsupported key formats in apt-key
gpg2 generates keyboxes by default and users end up putting either those
or armored files into the trusted.gpg.d directory which apt tools
neither expect nor can really work with without fortifying backward
compatibility (at least under the ".gpg" extension).
A (short) discussion about how to deal with keyboxes happened in
https://lists.debian.org/deity/2017/07/msg00083.html
As the last message in that thread is this changeset lets go ahead
with it and see how it turns out.
The idea is here simply that we check the first octal of a gpg file to
have one of three accepted values. Testing on my machines has always
produced just one of these, but running into those values on invalid
files is reasonabily unlikely to not worry too much.
Closes: #876508
(cherry picked from commit 012932793ba0ea9398a9acd80593bed8e77cfbfc)
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions