Improved show passphrase feature

This commit is contained in:
Sun Knudsen 2021-06-10 22:15:15 -04:00
parent 329b98b3aa
commit 16ab6d0e6b
No known key found for this signature in database
GPG key ID: 1FA767862BBD1305
3 changed files with 21 additions and 13 deletions

View file

@ -147,6 +147,12 @@ expect {
$passphrase
}
expect {
-re {Press enter to continue} {
test_send "\r"
}
}
expect {
-re {SHA512 short hash: .+?([a-f0-9]{8})} {
set short_hash $expect_out(1,string)