fix(protocol,storage): platform-aware client version and Android stub (TODO-010,011)

pick_client_version() now returns correct version per platform via
cfg(target_os). keyring_load() on unsupported platforms returns
StorageError instead of silently returning Ok(None).
This commit is contained in:
Edison Jwa
2026-06-11 09:46:57 +09:00
parent b20e6b663a
commit b2937da726
2 changed files with 23 additions and 2 deletions
+3 -1
View File
@@ -270,7 +270,9 @@ impl IdentityFileStore {
target_os = "ios"
)))]
fn keyring_load(&self) -> Result<Option<[u8; 32]>, StorageError> {
Ok(None)
Err(StorageError::SecureStore(
"keyring is not yet supported on this platform".into(),
))
}
/// Persist the DEK in the platform keyring. Returns true on