1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-05 11:13:44 +00:00
This commit is contained in:
Bernd Schoolmann
2025-08-29 12:16:49 +02:00
parent 2ea35579d5
commit ffa7fc2b7f

View File

@@ -33,12 +33,6 @@ export default class OsBiometricsServiceLinux implements OsBiometricService {
constructor() {}
async enrollPersistent(userId: UserId, key: SymmetricCryptoKey): Promise<void> {}
async hasPersistentKey(userId: UserId): Promise<boolean> {
return false;
}
async setBiometricKey(userId: UserId, key: SymmetricCryptoKey): Promise<void> {
await biometrics.provideKey(this.biometricsSystem, userId, Buffer.from(key.toEncoded().buffer));
}
@@ -110,4 +104,10 @@ export default class OsBiometricsServiceLinux implements OsBiometricService {
? BiometricsStatus.Available
: BiometricsStatus.UnlockNeeded;
}
async enrollPersistent(userId: UserId, key: SymmetricCryptoKey): Promise<void> {}
async hasPersistentKey(userId: UserId): Promise<boolean> {
return false;
}
}