summaryrefslogtreecommitdiff
path: root/apt-pkg/solver3.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2022-03-07 13:03:24 +0100
committerJulian Andres Klode <jak@debian.org>2022-03-07 13:04:23 +0100
commit55452afa1e8eb3b252f76e455b49df5883e0b811 (patch)
tree329ddd15ff7571f7a3e6a3baed639bf11d3a5af2 /apt-pkg/solver3.cc
parentee427f308600a4a3a6f67a4a7835e1172605ba06 (diff)
gpgv: Use Valid instead of Good to determine fallback
Change the logic to use "Valid" instead of "Good" to determine whether we need to fallback and if fallback was successful. That means that if you have an expired key in trusted.gpg.d, and a non-expired in trusted.gpg, verification will now fail directly with the expired key in trusted.gpg.d and not try to fallback. Likewise, if the key in trusted.gpg is expired, this will now also be reported correctly again, instead of producing an error message that the key could not be found.
Diffstat (limited to 'apt-pkg/solver3.cc')
0 files changed, 0 insertions, 0 deletions