Skip to content

PuTTY passwords through a file, safe password generator, release 0.1.0-alpha.4 - #5

Merged
Modding merged 2 commits into
mainfrom
passwords-off-command-lines
Nov 14, 2026
Merged

Modding merged 2 commits into
mainfrom
passwords-off-command-lines

Conversation

@Modding

@Modding Modding commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Three points from the work list in ROADMAP.md, and the version for the next alpha.

Changes

  • PuTTY, plink, psftp, pscp: the password goes through -pwfile (a file only the user can read, overwritten and removed when the program is done) instead of -pw on the command line. The jump-host password inside PuTTY's proxy command goes the same way; its file stays until PuTTY ends, because plink reads it again on every reconnect. A PuTTY older than 0.77 is recognised by its program file, still gets -pw, and the tab says so.
  • Password generator: a failing random source is an error now. Before, the error was ignored and the password was built from zero bytes. Characters are equally likely (no modulo bias).
  • Master password hint: where a password is saved without a master password, the properties panel says it is only obscured and leads to the settings. It reuses existing texts.
  • Version 0.1.0-alpha.4.

Tested

  • Windows: cargo fmt --check, cargo clippy --all-targets --locked -- -D warnings, cargo test --locked (38 passed), the window started in --screenshot mode.
  • New tests: password file round trip and clean-up, old/new PuTTY detection, generator with a failing and with a constant random source.

Not tested

  • No PuTTY was at hand: the real programs with -pwfile, the jump host through plink and file transfer with psftp/pscp are untried.
  • The hint in the properties panel was not looked at in a screenshot.
  • Linux and macOS: left to CI.

Both untried points are items 3 and 4 of the work list. FreeRDP's /p: stays open as item 1.

…ord hint

- PuTTY, plink, psftp and pscp get the password with -pwfile (a file only the user can read,
  overwritten and removed when the program is done) instead of -pw on the command line. The
  jump-host password inside PuTTY's proxy command goes the same way and its file stays until
  PuTTY ends, because plink reads it again on every reconnect. A PuTTY older than 0.77 is
  recognised by its program file, still gets -pw, and the tab says so.
- The password generator no longer ignores a failing random source (it built the password
  from zero bytes then): it shows the error instead. Characters are now equally likely.
- Where a password is saved without a master password, the properties panel says that it is
  only obscured and leads to the settings.
- Roadmap: these points leave the work list; FreeRDP stays, with what is known about it.
@Modding
Modding merged commit 9c23b6f into main Nov 14, 2026
5 checks passed
@Modding
Modding deleted the passwords-off-command-lines branch November 14, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant