diff --git a/apps/vault/src/ux/fido.rs b/apps/vault/src/ux/fido.rs index d7a8890fc..7447bf724 100644 --- a/apps/vault/src/ux/fido.rs +++ b/apps/vault/src/ux/fido.rs @@ -573,6 +573,7 @@ pub(crate) fn deserialize_app_info(descriptor: Vec::) -> Option:: { log::trace!("invalid line skipped: {:?}", line); } } + #[cfg(any(target_os = "none", target_os = "xous"))] if appinfo.name.len() > 0 && appinfo.id != [0u8; 32] && appinfo.ctime != 0 { // atime can be 0 - indicates never used @@ -580,6 +581,13 @@ pub(crate) fn deserialize_app_info(descriptor: Vec::) -> Option:: { } else { None } + #[cfg(not(any(target_os = "none", target_os = "xous")))] + if appinfo.name.len() > 0 + && appinfo.id != [0u8; 32] { // atime can be 0 - indicates never used. In hosted mode, ctime is 0. + Some(appinfo) + } else { + None + } } else { None }