File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ v0.3.4.dev0
2828 resource leaks.
2929* :gh:issue: `659 ` Removed :mod: `mitogen.compat.simplejson `, not needed with Python 2.7+, contained Python 3.x syntax errors
3030* :gh:issue: `983 ` CI: Removed PyPI faulthandler requirement from tests
31+ * :gh:issue: `998 ` SSH: Added support for TOTP password prompts (i.e. 'Verification code: '), as used by google-authenticator-libpam
3132
3233v0.3.3 (2022-06-03)
3334-------------------
Original file line number Diff line number Diff line change 6666)
6767
6868# sshpass uses 'assword' because it doesn't lowercase the input.
69+ # 'password': standard password prompt
70+ # 'verification code': TOTP prompt(as used by e.g. google-authenticator-libpam)
71+ # These should also match 'password & verification code' for password and TOTP
72+ # prompt (as used by e.g. google-authenticator-libpam)
6973PASSWORD_PROMPT_PATTERN = re .compile (
70- b ('password' ),
74+ b ('( password|verification code) ' ),
7175 re .I
7276)
7377
You can’t perform that action at this time.
0 commit comments