new option sfadump -c to run verify[_chain] on related object against user-provided...
[sfa.git] / keyconvert / testkey.sh
1 # do not execute this script directly; it is run by test.sh
2
3 rm -rf signature.bin
4 openssl dgst $1 -sign test/openssh_$2 test.txt > signature.bin
5 openssl dgst $1 -signature signature.bin -verify testout/openssl_$2.pem test.txt
6 rm -rf signature.bin