Bug#823746: apt: Broken error handling for GnuPG status-fd NODATA status
Source: apt
Source-Version: 1.2.11
Severity: normal
Hi!
I was looking into the apt implementation for inspiration on how to
improve GnuPG signature checks in dpkg-dev :), when I noticed that
the GNUPGNODATA handling is broken, as it is expecting a UID as argument
but the GnuPG docs state that this returns an integer value mapping to
specific error codes.
(As a minor issue the sizeof is on GNUPGBADSIG instead of GNUPGNODATA,
but happily they have the exact same size so… :)
Thanks,
Guillem
Reply to: