mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-08-17 21:25:52 +02:00
Merge pull request #302 from open-reception/feat/windows-prf-passkeys
Added salt for supporting windows hello
This commit is contained in:
@@ -138,7 +138,11 @@ export const getCredentialOptions = ({
|
||||
// Enable PRF extension for zero-knowledge key derivation
|
||||
if (enablePRF) {
|
||||
options.publicKey.extensions = {
|
||||
prf: {},
|
||||
prf: {
|
||||
eval: {
|
||||
first: crypto.getRandomValues(new Uint8Array(32)),
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user