set -e source helpers.sh start_up CRYPTO_PROFILE="RSA" setup_fapi $CRYPTO_PROFILE function cleanup { tss2 delete --path=/ shut_down } trap cleanup EXIT PW1=abc PW2=def KEY_PATH=HS/SRK/myRSASign DIGEST_FILE=$TEMP_DIR/digest.file SIGNATURE_FILE=$TEMP_DIR/signature.file PUBLIC_KEY_FILE=$TEMP_DIR/public_key.file IMPORTED_KEY_NAME=importedPubKey PADDINGS="RSA_PSS" set -x tss2 provision echo 0123456789012345678 > $DIGEST_FILE tss2 createkey --path=$KEY_PATH --type="noDa, sign" --authValue=$PW1 if [ "$CRYPTO_PROFILE" = "RSA" ]; then expect <