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

IJHack / QtPass / 43697648335
96%

Build:
DEFAULT BRANCH: main
Ran 15 Nov 2026 09:19AM 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

15 Nov 2026 09:06AM UTC coverage: 96.28% (+0.005%) from 96.275%
43697648335

push

github

web-flow
Key generation: refuse a passphrase with a blank at either end (#2179)

The key generation dialog hands the passphrase to gpg as a Passphrase:
line of a batch parameter file. gpg skips white space after the colon and
cuts spaces and tabs off the end of every value, so a passphrase typed
with a leading or trailing space or tab protected the new key without it.
The dialog closed as a success, and when the key was first needed gpg
refused the passphrase typed twice, as if it were wrong. Checked with
gpg 2.5.24: "abc def " unlocks with "abc def", a leading space and a
trailing tab go the same way, a no-break space is kept.

The batch format cannot carry such a value, so done() refuses it next to
the line-break check, with "The passphrase cannot start or end with a
space or a tab." The new KeygenDialog::isBatchPassphrase() matches gpg:
ASCII white space only, so a no-break space at either end is still
accepted. A passphrase of only spaces, which made gpg fail, is refused up
front too. The first-run wizard and the settings dialog both go through
done().

Tests batchPassphraseHasNoOuterBlanks and
passphraseWithOuterBlanksStartsNothing. Removing the refusal, checking
one end only, counting only the space, or counting every Unicode space
each fails a test. Finding 424Q5OQ6.

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

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

8540 of 8870 relevant lines covered (96.28%)

571.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43697648335.1 15 Nov 2026 09:19AM UTC 87
96.28
GitHub Action Run
Source Files on build 43697648335
  • Tree
  • List 87
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43697648335
  • f677894c on github
  • Prev Build on main (#43695847678)
  • Next Build on main (#43701036262)
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