proof subtle missing await bug fixed

This commit is contained in:
mhelander 2018-02-03 23:54:57 +02:00
parent 701b672dae
commit 22bae446fa

2
sea.js
View File

@ -1078,7 +1078,7 @@
const key = await subtle.importKey(
'raw', new TextEncoder().encode(pass), { name: 'PBKDF2' }, false, ['deriveBits']
)
const result = subtle.deriveBits({
const result = await subtle.deriveBits({
name: 'PBKDF2',
iterations: pbKdf2.iter,
salt: new TextEncoder().encode(salt),