tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

65_passwd.sh (582B)


      1 #!/usr/bin/env zsh
      2 
      3 export test_description="Testing changing tomb password"
      4 
      5 source ./setup
      6 
      7 test_export "test" # Using already generated tomb
      8 test_expect_success 'Testing tomb with GnuPG keys: passwd' '
      9     tt passwd -k $tomb_key --unsafe \
     10         --tomb-old-pwd $DUMMYPASS --tomb-pwd $DUMMYPASSNEW  &&
     11     tt passwd -k $tomb_key --unsafe \
     12         --tomb-old-pwd $DUMMYPASSNEW --tomb-pwd $DUMMYPASS
     13     '
     14 
     15 test_export "recipient" # Using already generated tomb
     16 test_expect_success 'Testing tomb with GnuPG keys: passwd' '
     17     tt passwd -k $tomb_key -g -r $KEY2
     18     '
     19 
     20 test_done