PuTTY bug cmdline-pw-local-prompt

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Privacy | Changes | Wishlist

summary: -pwfile (and -pw) affect local key passphrase prompts
class: bug: This is clearly an actual problem we want fixed.
fixed-in: bdb3ac9f3b80b0c94c05261abc9cbe7b89a9ebea (0.78)

The -pwfile option to supply a login password via the command line (and, equivalently, the deprecated -pw option) are not very selective about which kinds of prompt they will respond to.

In particular, if we needed to ask the user for the passphrase needed to decrypt a locally-stored private key, these options could suppress that prompt and supply the answer.

These options should only affect password requests that come from the remote server. (If you want to avoid being prompted for a local key's passphrase, there are better ways of doing that.)

(This could be particularly awkward in the case of a server that requires multiple types of authentication in sequence.)


If you want to comment on this web site, see the Feedback page.
Audit trail for this bug.
(last revision of this bug record was at 2022-10-28 23:51:12 +0100)