Integrate Android biometrics with the shared Rust lease (#98)
Android ARM verification / rust (push) Failing after 47m23s
Android ARM verification / android (push) Failing after 8s
Dependency security audit / rustsec (push) Successful in 23s

This commit is contained in:
hugo committed 2026-10-09 16:32:01 +02:00
1 parent 5c933a99a3
commit 647dc1bb4b
21 files changed
+1473 -118

No files matched your search

+21
View File
@@ -1762,6 +1762,27 @@ impl MobileAuthentication {
.map_err(Into::into)
}
pub fn enroll_biometric_unlock(
&self,
passphrase: String,
) -> Result<MobileAuthenticationState, MobileAuthenticationFfiError> {
self.authentication
.enroll_biometric_unlock(ironstorage::repository::SecretBytes::new(
passphrase.into_bytes(),
))
.map(Into::into)
.map_err(Into::into)
}
pub fn restore_biometric_lease(
&self,
) -> Result<MobileAuthenticationState, MobileAuthenticationFfiError> {
self.authentication
.restore_biometric_lease()
.map(Into::into)
.map_err(Into::into)
}
pub fn touch_user_activity(&self) -> Result<(), MobileAuthenticationFfiError> {
self.authentication
.touch_user_activity()