Skip to content

Commit

Permalink
test: update Firefox X25519 expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Sep 18, 2024
1 parent 6796396 commit e932007
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tap/ecdh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export default (QUnit: QUnit, lib: typeof jose, keys: typeof jose) => {
['ECDH-ES', false, { crv: 'secp256k1' }],
[
'ECDH-ES',
env.isNode || env.isElectron || env.isWorkerd || env.isEdgeRuntime,
env.isNode ||
env.isElectron ||
env.isWorkerd ||
env.isEdgeRuntime ||
(env.isGecko && env.isBrowserVersionAtLeast(131)),
{ crv: 'X25519' },
],
['ECDH-ES', env.isNode || env.isEdgeRuntime, { crv: 'X448' }],
Expand Down

0 comments on commit e932007

Please sign in to comment.