diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-12-16 19:50:48 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-12-31 02:29:19 +0100 |
commit | 6376dfb8dfb99b9d182c2fb13aa34b2ac89805e3 (patch) | |
tree | d22e9bdf482821c1e1496f27e3ff28735eff07e7 /test/libapt/strutil_test.cc | |
parent | 4ce2f35248123ff2366c8c365ad6a94945578d66 (diff) |
warn if clearsigned file has ignored content parts
Clearsigned files like InRelease, .dsc, .changes and co can potentially
include unsigned or additional messages blocks ignored by gpg in
verification, but a potential source of trouble in our own parsing
attempts – and an unneeded risk as the usecases for the clearsigned
files we deal with do not reasonably include unsigned parts (like emails
or some such).
This commit changes the silent ignoring to warnings for now to get an
impression on how widespread unintended unsigned parts are, but
eventually we want to turn these into hard errors.
Diffstat (limited to 'test/libapt/strutil_test.cc')
0 files changed, 0 insertions, 0 deletions