Skip to content

Commit

Permalink
fix: integration-test (#153)
Browse files Browse the repository at this point in the history
Co-authored-by: Salvatore Laiso <[email protected]>
  • Loading branch information
salvatorelaiso and Salvatore Laiso authored Nov 14, 2023
1 parent 13a3c25 commit 4669062
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions example/satosa/integration_test/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
trust_chain_wallet,
ta_ec,
ta_ec_signed,
leaf_cred_signed
leaf_cred_signed, leaf_cred_jwk_prot
)

from pyeudiw.jwk import JWK
Expand Down Expand Up @@ -160,10 +160,12 @@

ISSUER_PRIVATE_JWK = JWK(leaf_cred_jwk.serialize(private=True))

CREDENTIAL_ISSUER_JWK = JWK(leaf_cred_jwk_prot.serialize(private=True))

issued_jwt = issue_sd_jwt(
sd_specification,
settings,
ISSUER_PRIVATE_JWK,
CREDENTIAL_ISSUER_JWK,
WALLET_PUBLIC_JWK,
trust_chain=trust_chain_issuer
)
Expand Down Expand Up @@ -242,7 +244,7 @@
}
encrypted_response = JWEHelper(
# RSA (EC is not fully supported todate)
JWK(rp_ec["metadata"]['wallet_relying_party']['jwks'][1])
JWK(rp_ec["metadata"]['wallet_relying_party']['jwks']['keys'][1])
).encrypt(response)


Expand Down

0 comments on commit 4669062

Please sign in to comment.