Skip to content

Commit 4a19599

Browse files
committed
test: expect ed25519 support on blink
1 parent 1e13a8e commit 4a19599

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tap/keys.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
import * as lib from '../src/index.js'
22
import * as env from './env.js'
33

4-
export const algs = ['PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'ES256', 'ES384']
4+
export const algs = [
5+
'PS256',
6+
'PS384',
7+
'PS512',
8+
'RS256',
9+
'RS384',
10+
'RS512',
11+
'ES256',
12+
'ES384',
13+
'EdDSA',
14+
'Ed25519',
15+
]
516
export const fails: string[] = []
617
// TODO: remove when P-521 integration in Deno is finished
718
if (!env.isDeno) {
819
algs.push('ES512')
920
}
10-
;(env.isBlink ? fails : algs).push('EdDSA', 'Ed25519')
1121

1222
export const keys = algs.reduce(
1323
(acc, alg) => {

0 commit comments

Comments
 (0)