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

IJHack / QtPass / 46316736984
95%

Build:
DEFAULT BRANCH: main
Ran 29 Nov 2026 10:27PM UTC
Jobs 1
Files 88
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

29 Nov 2026 10:15PM UTC coverage: 94.474%. Remained the same
46316736984

push

github

web-flow
Refuse a list signature whose signing key two key blocks hold (#2405)

GpgIdSigner::verify() accepted a signature when VALIDSIG named a
configured fingerprint and gpg reported no revocation. gpg reports a
revocation only for the key block it picked for the signing key, so
someone holding a revoked signing key's secret could bind it as a
subkey of their own key, and gpg could pick their block, where it is
not revoked, and call a list they signed good.

GpgIdSigner::heldByOneKey(): after a good signature, gpg lists the key
blocks that hold the signing (sub)key VALIDSIG names; anything but one
block, or a listing that fails, refuses the signature, as a recipient
line two blocks hold already is (#2383). A configured subkey
fingerprint keeps working.

- The listing keeps gpg.conf (its keyrings) and brings its own list
  filter (select=key_size>0), so a list-filter there cannot hide a
  second block; a gpg before 2.4, which knows no --list-filter, lists
  without it.
- The refusal names the signing key and the keys that hold it and says
  to delete the one that claims it (GpgIdSigner::refusal(), shown by
  Pass::verifySignedList()).

Lost convenience (CHANGELOG): binding a key as a subkey needs only its
public part, so anyone whose key update you import can make every
signed list be refused; deleting that key undoes it.

Tests: one block verifies, two or none are refused, the refusal names
both holders, the user sees it on a save, the listing carries its own
filter, and a gpg without --list-filter still verifies one block and
refuses two. Each guard was reverted once and its test failed.

Scan finding ANT-2026-51HP7K09.

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

31 of 36 new or added lines in 2 files covered. (86.11%)

11130 of 11781 relevant lines covered (94.47%)

23733.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
92.0
-1.37% src/gpgidsigner.cpp
Jobs
ID Job ID Ran Files Coverage
1 46316736984.1 29 Nov 2026 10:27PM UTC 88
94.47
GitHub Action Run
Source Files on build 46316736984
  • Tree
  • List 88
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46316736984
  • 3468283d on github
  • Prev Build on main (#46310192125)
  • Next Build on main (#46322307370)
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