Use proper salt

This commit is contained in:
Karl Ludwig Weise
2026-06-25 21:42:51 +02:00
parent c2f18a0a03
commit b272a739cf
+1 -1
View File
@@ -140,7 +140,7 @@ export const getCredentialOptions = ({
options.publicKey.extensions = {
prf: {
eval: {
first: new TextEncoder().encode("ein-fortlaufender-32-byte-salt-"),
first: crypto.getRandomValues(new Uint8Array(32)),
},
},
};