mirror of
https://github.com/bitwarden/browser
synced 2026-02-05 11:13:44 +00:00
Cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user