mirror of
https://github.com/amark/gun.git
synced 2025-06-06 22:26:48 +00:00
proof subtle missing await bug fixed
This commit is contained in:
parent
701b672dae
commit
22bae446fa
2
sea.js
2
sea.js
@ -1078,7 +1078,7 @@
|
|||||||
const key = await subtle.importKey(
|
const key = await subtle.importKey(
|
||||||
'raw', new TextEncoder().encode(pass), { name: 'PBKDF2' }, false, ['deriveBits']
|
'raw', new TextEncoder().encode(pass), { name: 'PBKDF2' }, false, ['deriveBits']
|
||||||
)
|
)
|
||||||
const result = subtle.deriveBits({
|
const result = await subtle.deriveBits({
|
||||||
name: 'PBKDF2',
|
name: 'PBKDF2',
|
||||||
iterations: pbKdf2.iter,
|
iterations: pbKdf2.iter,
|
||||||
salt: new TextEncoder().encode(salt),
|
salt: new TextEncoder().encode(salt),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user