Skip to content

Commit

Permalink
Hide private key entry
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan committed Jan 24, 2024
1 parent 785c714 commit fcf9a0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/interactive.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ log "Expecting private key prompt in editor"
expect -exact "Paste your Passbolt private key"
sleep .1
send -- "i"
log "Hiding user private_key input"
log_user 0
send -- "$private_key"
# Escape key
send -- "\x1b"
send -- ":x\r"
sleep .5
log "private_key entry done"
log_user 1

log "Expecting passphrase prompt"
expect_prompt "Passbolt passphrase"
Expand Down

0 comments on commit fcf9a0b

Please sign in to comment.