Skip to main content

Crate tsafe_mobile_core

Crate tsafe_mobile_core 

Source
Expand description

Portable read-only facade for future tsafe mobile clients.

The crate deliberately works from vault bytes and caller-supplied identity material. Native iOS/Android shells remain responsible for GitHub transport, secure storage, biometric prompts, clipboard handling, and app lifecycle.

Modules§

envelopes
Source-local mobile enrollment and QR envelope parsing.

Structs§

MobileItemMetadata
Redacted metadata for one vault item.
MobileTotpCode
Current TOTP code plus the remaining seconds in the stored TOTP profile.
MobileVault
Authenticated read-only mobile session over a vault file held in memory.
MobileVaultItem
A single decrypted item.

Enums§

MobileAuditKind
Mobile-local audit operation. Values are never accepted by this type.
MobileAuditStatus
Mobile-local audit outcome.
MobileItemKind
Coarse item classification derived from redacted metadata only.
MobileVaultKind
Which backing vault format authenticated this mobile session.
SafeError
Top-level error type for all tsafe-core operations.

Functions§

build_mobile_audit_event
Build a local audit event for mobile surfaces without accepting or recording any secret value, TOTP seed, or TOTP code.

Type Aliases§

SafeResult
Convenience alias for Result<T, SafeError>.