lockbox

password manager
Log | Files | Refs | README | LICENSE

commit a51a0f63854f20627c24e7622c9d44d1bfb2e4e2
parent d83078bbbb528eb22fcabf6d39e97fc257c2c1d3
Author: Sean Enck <sean@ttypty.com>
Date:   Sun, 24 Oct 2021 17:15:46 -0400

test using an invalid key to show

Diffstat:
Mtests/run.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/run.sh b/tests/run.sh @@ -48,12 +48,13 @@ _run() { echo yes 2>/dev/null | $BIN/lb rm totp/test echo + LOCKBOX_KEY="invalid" $BIN/lb show keys/one2 $BIN/lb-rekey -outkey "test" -outmode "plaintext" $BIN/lb-rw -file bin/lb/keys/one2.lb -key "test" -keymode "plaintext" -mode "decrypt" } LOG=$TESTS/lb.log -_run | sed "s#$LOCKBOX_STORE##g" > $LOG +_run 2>&1 | sed "s#$LOCKBOX_STORE##g" > $LOG diff -u $LOG expected.log if [ $? -ne 0 ]; then exit 1