From 4e6a7beb09e86faa3d798734232ff1c9d2f0cf54 Mon Sep 17 00:00:00 2001 From: Theron Luhn Date: Mon, 16 Oct 2023 10:12:35 -0700 Subject: [PATCH] Fix test. --- tests/test_api_jws.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_api_jws.py b/tests/test_api_jws.py index 0ede4581..c764f09f 100644 --- a/tests/test_api_jws.py +++ b/tests/test_api_jws.py @@ -290,10 +290,9 @@ def test_decodes_with_jwk_and_no_algorithm(self, jws, payload): def test_decodes_with_jwk_and_mismatched_algorithm(self, jws, payload): jwk = PyJWK( { - "kty": "EC", - "crv": "P-256", - "x": "PTTjIY84aLtaZCxLTrG_d8I0G6YKCV7lg8M4xkKfwQ4", - "y": "ank6KA34vv24HZLXlChVs85NEGlpg2sbqNmR_BcgyJU", + "kty": "oct", + "alg": "HS512", + "k": "c2VjcmV0", # "secret" } ) example_jws = (