mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Add ansible password prompts to `comint-password-prompt-regexp'
* lisp/comint.el (comint-password-prompt-regexp): * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add ansible password prompts. (Bug#78442)
This commit is contained in:
parent
50e3bce315
commit
f60ad8d1e0
2 changed files with 8 additions and 0 deletions
|
|
@ -404,6 +404,8 @@ This variable is buffer-local."
|
|||
(regexp-opt
|
||||
'("Enter" "enter" "Enter same" "enter same" "Enter the" "enter the"
|
||||
"Current"
|
||||
;; Ansible. (Bug#78442)
|
||||
"Vault" "SSH" "BECOME"
|
||||
"Enter Auth" "enter auth" "Old" "old" "New" "new" "login"
|
||||
"Kerberos" "CVS" "UNIX" " SMB" "LDAP" "PEM" "SUDO"
|
||||
"[sudo]" "doas" "Repeat" "Bad" "Retype" "Verify")
|
||||
|
|
@ -418,6 +420,8 @@ This variable is buffer-local."
|
|||
;; The ccrypt encryption dialog doesn't end with a colon, so
|
||||
;; treat it specially.
|
||||
"\\|^Enter encryption key: (repeat) *\\'"
|
||||
;; Ansible. The vault-id syntax is a guess. (Bug#78442)
|
||||
"\\|^Vault password ([^@-][^@]*): \\'"
|
||||
;; Default openssh format: "user@host's password:".
|
||||
"\\|^[^@ \t\n]+@[^@ \t\n]+'s password: *\\'"
|
||||
;; openssh-8.6p1 format: "(user@host) Password:".
|
||||
|
|
|
|||
|
|
@ -50,6 +50,10 @@
|
|||
"Enter encryption key: (repeat) " ; ccrypt
|
||||
"Enter Auth Password:" ; OpenVPN (Bug#35724)
|
||||
"Verify password: " ; zip -e zipfile.zip ... (Bug#47209)
|
||||
"Vault password: " ; ansible-playbook --ask-vault-pass ... (Bug#78442)
|
||||
"Vault password (dev): " ; ansible-playbook --vault-id dev@prompt ... (Bug#78442)
|
||||
"SSH password: " ; ansible-playbook --ask-pass playbook.yml ... (Bug#78442)
|
||||
"BECOME password: " ; ansible-playbook --ask-become-pass ... (Bug#78442)
|
||||
"Mot de Passe :" ; localized (Bug#29729)
|
||||
"Passwort:") ; localized
|
||||
"List of strings that should match `comint-password-prompt-regexp'.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue