Closed proddata closed 8 months ago
Thanks for the patch.
I agree to unify the behavior between -W
and <n/a> when prompting for passwords, unless there are other objections. There may have been specific reasons for the current behaviour to discriminate between tty vs. non-interactive environments, but personally I can't see any, as long as is_tty
is respected properly.
To check/ask back for that, I am also adding @seut and @mfussenegger as reviewers.
About
Better catch unauthorized errors with forced password prompt instead of displaying stack trace, when using the
-W
option.Before, it was like:
References