From 19b1db8258369647fd2cbcbe3436f9a536f59bf5 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Sat, 10 Aug 2024 15:29:13 -0500 Subject: [PATCH] test --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b45191f1..4b6207da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,3 +28,19 @@ jobs: jose keypub ./private.sig.jwk.json --output ./public.sig.jwk.json - name: Log Public Key run: cat ./public.sig.jwk.json + - name: Sign Message + id: sign_message + uses: ./ + with: + transmute: | + jose sign ./tests/fixtures/private.sig.jwk.json ./tests/fixtures/message.json --detached --compact --output ./tests/fixtures/message.signature.detached.compact.jws + - name: Log Detached Signature + run: echo "${{ steps.sign_message.outputs.jws }}" + - name: Verify Message + id: verify_message + uses: ./ + with: + transmute: | + jose verify ./tests/fixtures/public.sig.jwk.json ./tests/fixtures/message.signature.detached.compact.jws ./tests/fixtures/message.json --detached --compact + - name: Log Message Verification + run: echo "${{ steps.verify_message.outputs.json }}"