From 6877a7e364e34ab1545cb9c2f10724af9126715f Mon Sep 17 00:00:00 2001 From: Andrea Piccione Date: Tue, 17 Dec 2024 09:09:54 -0800 Subject: [PATCH] Fix CTS demo scripts following the recent pyscitt CLI updates (#254) --- demo/cts_poc/2a-claim-generator.sh | 6 +++--- demo/cts_poc/3-client-demo.sh | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/demo/cts_poc/2a-claim-generator.sh b/demo/cts_poc/2a-claim-generator.sh index 612d6587..f503a238 100755 --- a/demo/cts_poc/2a-claim-generator.sh +++ b/demo/cts_poc/2a-claim-generator.sh @@ -35,7 +35,7 @@ echo -e "\nCreating and signing claim" if [ "$SIGNING_METHOD" = "did" ]; then echo "Using DID document for signing" scitt sign \ - --claims "$CLAIM_CONTENT_PATH" \ + --statement "$CLAIM_CONTENT_PATH" \ --content-type "$CLAIM_CONTENT_TYPE" \ --key "$PRIVATE_KEY_PATH" \ --did-doc "$DID_DOC_PATH" \ @@ -43,7 +43,7 @@ if [ "$SIGNING_METHOD" = "did" ]; then elif [ "$SIGNING_METHOD" = "cacert" ]; then echo "Using local CA certificate for signing" scitt sign \ - --claims "$CLAIM_CONTENT_PATH" \ + --statement "$CLAIM_CONTENT_PATH" \ --content-type "$CLAIM_CONTENT_TYPE" \ --key "$PRIVATE_KEY_PATH" \ --x5c "$CACERT_PATH" \ @@ -51,7 +51,7 @@ elif [ "$SIGNING_METHOD" = "cacert" ]; then elif [ "$SIGNING_METHOD" = "akv" ]; then echo "Using AKV configuration for signing" scitt sign \ - --claims "$CLAIM_CONTENT_PATH" \ + --statement "$CLAIM_CONTENT_PATH" \ --content-type "$CLAIM_CONTENT_TYPE" \ --akv-configuration "$AKV_CONFIG_PATH" \ --x5c "$CACERT_PATH" \ diff --git a/demo/cts_poc/3-client-demo.sh b/demo/cts_poc/3-client-demo.sh index 9f60107a..41918ac5 100755 --- a/demo/cts_poc/3-client-demo.sh +++ b/demo/cts_poc/3-client-demo.sh @@ -40,8 +40,7 @@ RECEIPT_PATH="$RECEIPT_FOLDER"/embedded.receipt.cose # Submit signed claim scitt submit "$COSE_CLAIMS_PATH" \ - --receipt "$RECEIPT_PATH" \ - --receipt-type embedded \ + --transparent-statement "$RECEIPT_PATH" \ --url "$SCITT_URL" \ --development