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

IJHack / QtPass / 24585183540
55%

Build:
DEFAULT BRANCH: main
Ran 17 Apr 2026 08:31PM UTC
Jobs 1
Files 63
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

17 Apr 2026 08:25PM UTC coverage: 21.818% (+0.5%) from 21.329%
24585183540

push

github

web-flow
fix: set PASSWORD_STORE_* env vars and grey out pass-managed controls (#1032)

* fix: set PASSWORD_STORE_* env vars and grey out pass-managed controls (#265 #443)

- Pass::updateEnv() now sets PASSWORD_STORE_GENERATED_LENGTH and
  PASSWORD_STORE_CHARACTER_SET from QtPass settings so the pass binary
  honours the configured length and character set
- ConfigDialog::setGroupBoxState() disables password-generation
  controls (length, charset, pwgen options) when the pass binary is
  selected, since those are managed by pass in that mode
- passworddialog.ui spinBox_pwdLength maximum was already 255

Closes #265
Closes #443

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: isolate generateRandomPassword, boundedRandom, configIsValid tests from QSettings

Tests were reading isUsePwgen() and isUsePass() from the user's saved
QSettings, causing failures when those flags were enabled. Add RAII
guards to force the relevant settings to the expected values and restore
them on exit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: address code review findings on password generation controls and env vars

configdialog.cpp:
- setGroupBoxState() now disables all password-gen controls in pass mode
  and delegates to on_checkBoxUsePwgen_clicked() when restoring native
  mode, instead of blindly re-enabling everything
- on_checkBoxUsePwgen_clicked() guards against pass mode so usePwgen()
  called after usePass(true) in the constructor cannot re-enable the
  pwgen sub-controls

pass.cpp:
- Clamp passConfig.selected before array access to guard against
  out-of-range values in QSettings
- Remove stale PASSWORD_STORE_CHARACTER_SET env entry when charset
  becomes empty, instead of leaving the old value in place
- Add PASSWORD_STORE_GENERATED_LENGTH and PASSWORD_STORE_CHARACTER_SET
  to WSLENV so they propagate into the WSL environment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor: replace duplicate inline rollback ... (continued)

28 of 46 new or added lines in 3 files covered. (60.87%)

1 existing line in 1 file now uncovered.

1176 of 5390 relevant lines covered (21.82%)

8.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
0.0
0.0% src/configdialog.cpp
4
54.13
9.57% src/pass.cpp

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% src/configdialog.cpp
Jobs
ID Job ID Ran Files Coverage
1 24585183540.1 17 Apr 2026 08:31PM UTC 63
21.82
GitHub Action Run
Source Files on build 24585183540
  • Tree
  • List 63
  • Changed 6
  • Source Changed 6
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24585183540
  • d18bdbfb on github
  • Prev Build on main (#24572823908)
  • Next Build on main (#24588315042)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc