Skip to content

Commit

Permalink
fix(compat): ensure WebCryptoAPI runtime imported keys are re-exporta…
Browse files Browse the repository at this point in the history
…ble (#409)
  • Loading branch information
evansims authored Jun 24, 2024
2 parents aff09ba + dbe0804 commit e056e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function retrieveSigningKeys(jwks) {

for (const jwk of jwks) {
try {
const key = await jose.importJWK(jwk, resolveAlg(jwk));
const key = await jose.importJWK({ ...jwk, ext: true }, resolveAlg(jwk));
if (key.type !== 'public') {
continue;
}
Expand Down

0 comments on commit e056e51

Please sign in to comment.