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

IJHack / QtPass / 46165298070
95%

Build:
DEFAULT BRANCH: main
Ran 28 Nov 2026 04:42PM 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

28 Nov 2026 04:27PM UTC coverage: 94.471% (+0.03%) from 94.442%
46165298070

push

github

web-flow
Refuse a recipient key that another key also holds (#2383)

gpg resolves a .gpg-id fingerprint or key ID among primary keys and
subkeys, and anyone can bind another person's public key to their own
as a subkey. After the user imported such an update of a colleague's
key, every entry saved or re-encrypted for the person the line names
was encrypted to the colleague instead, silently, with no access to
the store needed.

Pass::keyLinesHeldTwice() lists the keyring once, in the store's
environment, and finds every key ID or fingerprint line (grouped with
spaces too) that more than one key block holds. Such a line is
refused, naming both keys:

- native backend: Insert(), Init() and each folder of a re-encryption
  run;
- pass backend: insert, init and move/copy, right before pass runs and
  including every folder's own list below that pass re-encrypts to;
- the Users dialog keeps such a line as written, with a warning, and
  does not probe or search it;
- "Export my public key" refuses, and exports in the store's keyring.

A gpg that starts but cannot list its keyring refuses too; one that
does not start fails as before. Each check runs after the existing
refusals. Lost convenience: such a folder cannot be saved to until the
key that claims someone else's is deleted.

Tests: the listing parser (fingerprints, key IDs, "!", grouped lines,
v5 naming); ImitatePass refuses Insert() and re-encryption with nothing
encrypted, and a keyring that cannot be listed; RealPass refuses insert
and an init with a child list held twice (also past a decoy x.gpg
folder); the Users dialog keeps the line; export refuses. Each guard
was reverted once and its test failed.

Scan finding ANT-2026-ZQIJE21W.

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

164 of 170 new or added lines in 6 files covered. (96.47%)

10764 of 11394 relevant lines covered (94.47%)

24513.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
95.25
-0.19% src/mainwindow.cpp
2
96.12
0.28% src/pass.cpp
1
97.13
-0.17% src/usersdialog.cpp
Jobs
ID Job ID Ran Files Coverage
1 46165298070.1 28 Nov 2026 04:42PM UTC 87
94.47
GitHub Action Run
Source Files on build 46165298070
  • Tree
  • List 87
  • Changed 10
  • Source Changed 10
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46165298070
  • c2b28b04 on github
  • Prev Build on main (#46158232118)
  • Next Build on main (#46170777129)
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