Skip to content

Commit

Permalink
Delete parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vernans committed Oct 24, 2024
1 parent 7644755 commit 65d16fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_07_jwe.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ def test_ecdh_encrypt_decrypt_direct_key_wo_apu_apv():
assert params["apv"] == b""
assert params["apu"] == b""

# Delete agreement party information
del params["apv"]
del params["apu"]

kwargs = {"params": params, "cek": cek, "iv": iv, "encrypted_key": encrypted_key}
jwt = jwenc.encrypt(**kwargs)

Expand Down

0 comments on commit 65d16fb

Please sign in to comment.