tomb

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

00_create.sh (417B)


      1 #!/usr/bin/env zsh
      2 
      3 export test_description="Testing tomb creation"
      4 
      5 source ./setup
      6 test_cleanup
      7 
      8 test_export "test"
      9 test_expect_success 'Testing tomb creation: dig, forge and lock' '
     10     tt_dig -s 20 &&
     11     tt_forge --tomb-pwd $DUMMYPASS &&
     12     print $DUMMYPASS \
     13         | gpg --batch --passphrase-fd 0 --no-tty --no-options -d $tomb_key \
     14         | hexdump -C &&
     15     tt_lock --tomb-pwd $DUMMYPASS
     16     '
     17 
     18 test_done