• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 46060387640
95%

Build:
DEFAULT BRANCH: main
Ran 27 Nov 2026 08:09PM UTC
Jobs 1
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Nov 2026 07:58PM UTC coverage: 94.728% (+0.03%) from 94.7%
46060387640

push

github

web-flow
GpgIdSigner: pin the trust model when verifying a list (#2370)

A signature by a revoked signing key is refused on gpg's REVKEYSIG or
KEYREVOKED status. Under `trust-model always` in gpg.conf, gpg skips the
trust check that reports KEYREVOKED, and once the revoked key has also
expired it reports only EXPKEYSIG, which counts as merely expired. A
leaked signing key, revoked and expired, then still vouched for a
recipient list naming its holder's key.

verify() now passes --trust-model=pgp, whatever gpg.conf says, and
--no-auto-check-trustdb, so a keyring kept under another model does not
get its trustdb rebuilt on the first verify. The model changes no
verdict on the signature itself, only the notes gpg adds, and KEYREVOKED
is among them again; the revoked flag comes from the key block, not the
trustdb.

An integration test makes two keys at a faked time in a keyring of its
own (both expired by now), revokes one, sets trust-model always, and
checks the expired key still vouches while the revoked one does not; it
fails without the change. The gpgidsigner argument checks expect the
new options and find the signature copy by position from the end.

1.8 is left as it is: its verifyGpgIdFile() has no revocation check to
pin the model for.

Scan finding ANT-2026-762RKXO4.

Signed-off-by: Anne Jan Brouwer <brouwer@annejan.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

4 of 4 new or added lines in 1 file covered. (100.0%)

10332 of 10907 relevant lines covered (94.73%)

25573.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46060387640.1 27 Nov 2026 08:09PM UTC 87
94.73
GitHub Action Run
Source Files on build 46060387640
  • Tree
  • List 87
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46060387640
  • f2049d78 on github
  • Prev Build on main (#46054932082)
  • Next Build on main (#46063877318)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc