diff options
author | aszlig <aszlig@nix.build> | 2024-06-18 23:17:09 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2024-06-18 23:17:09 +0200 |
commit | 767c4e9084d22d951d5bd9b845bf936a63958510 (patch) | |
tree | 96db15de5a0610f548493ccbe09d9e25050839d9 /tests/programs/gnupg | |
parent | 5dc62d96419e5d76bc0311daf6ec38167692eb0a (diff) |
tests/gnupg: Fix password prompt during ssh-add
With Pinentry version 1.3.0, the password prompt for the curses interface has changed and instead of being two separate dialogs for the password and the confirmation password, it's now a single dialog with two fields that can be switched via tab key. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'tests/programs/gnupg')
-rw-r--r-- | tests/programs/gnupg/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/programs/gnupg/default.nix b/tests/programs/gnupg/default.nix index bb0ed107..eb9eee8c 100644 --- a/tests/programs/gnupg/default.nix +++ b/tests/programs/gnupg/default.nix @@ -80,8 +80,7 @@ in { machine.succeed(ssh('ssh-keygen -t ed25519 -f ~/testkey -N ""')) machine.succeed(ssh('${mkExpect '' expect -regexp ---+.*Please.enter - send supersecret\r - expect -regexp ---+.*Please.re-en + send supersecret\t send supersecret\r '' "ssh-add ~/testkey"}')) |