Implement Rust-owned adaptive Android password navigation (#96)
Android ARM verification / rust (push) Failing after 46m4s
Android ARM verification / android (push) Failing after 9s
Dependency security audit / rustsec (push) Successful in 22s

This commit is contained in:
hugo committed 2026-10-09 12:25:02 +02:00
1 parent 36e5f55283
commit 8c9341f214
26 files changed
+1553 -16

No files matched your search

+23
View File
@@ -5,6 +5,8 @@
mod private_storage;
pub use private_storage::*;
mod password_navigation;
pub use password_navigation::*;
use std::{
error::Error,
@@ -1747,6 +1749,27 @@ impl MobileAuthentication {
.map_err(Into::into)
}
pub fn navigation_entry(
&self,
directory: String,
row_id: String,
revision: String,
passphrase: Option<String>,
unix_seconds: u64,
) -> Result<MobileEntryPresentation, MobileAuthenticationFfiError> {
self.authentication
.navigation_entry(
&directory,
&row_id,
&revision,
passphrase
.map(|value| ironstorage::repository::SecretBytes::new(value.into_bytes())),
unix_seconds,
)
.map(Into::into)
.map_err(Into::into)
}
pub fn entry_page(
&self,
path: String,