Use raw ArrayBuffer instead of Uint8Array for PRF salt input
This commit is contained in:
@@ -73,7 +73,7 @@ export async function registerUser(username: string): Promise<RegistrationResult
|
|||||||
}
|
}
|
||||||
options.extensions.prf = {
|
options.extensions.prf = {
|
||||||
eval: {
|
eval: {
|
||||||
first: PRF_SALT
|
first: PRF_SALT.buffer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ export async function loginUser(username?: string): Promise<LoginResult> {
|
|||||||
}
|
}
|
||||||
options.extensions.prf = {
|
options.extensions.prf = {
|
||||||
eval: {
|
eval: {
|
||||||
first: PRF_SALT
|
first: PRF_SALT.buffer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user