Module messages

Module messages 

Source

Structs§

ArchivedCreateSecurityKey
An archived CreateSecurityKey
ArchivedCtapProcessCbor
An archived CtapProcessCbor
ArchivedEditSecurityKey
An archived EditSecurityKey
ArchivedKeysChangedEvent
An archived KeysChangedEvent
ArchivedListSecurityKeys
An archived ListSecurityKeys
ArchivedOperationOutcomeEvent
An archived OperationOutcomeEvent
ArchivedPresenceKeepAliveEvent
An archived PresenceKeepAliveEvent
ArchivedSubscribeKeyChanges
An archived SubscribeKeyChanges
ArchivedSubscribeOperationOutcomes
An archived SubscribeOperationOutcomes
ArchivedSubscribePresenceKeepAlive
An archived SubscribePresenceKeepAlive
ArchivedU2fApduCommand
An archived U2fApduCommand
ArchivedU2fProcessApdu
An archived U2fProcessApdu
CreateSecurityKey
Create a new security key with UI metadata. Returns the new key’s index, or an error if creation failed before any state was mutated. Note: a save_and_notify failure after a successful in-memory create is intentionally still returned as Ok(index) and only logged — the new key is usable in this session and worst case is lost on reboot, which is a softer failure mode than refusing the create over a transient FS or subscriber hiccup.
CreateSecurityKeyResolver
The resolver for an archived CreateSecurityKey
CtapProcessCbor
CtapProcessCborResolver
The resolver for an archived CtapProcessCbor
EditSecurityKey
Edit metadata of an existing security key. Returns the validation outcome so the GUI can surface EmptyLabel/DuplicateLabel without a separate validate_label round-trip.
EditSecurityKeyResolver
The resolver for an archived EditSecurityKey
GetSelectedSecurityKey
KeysChangedEvent
Wrapper for the key list published via events.
KeysChangedEventResolver
The resolver for an archived KeysChangedEvent
ListSecurityKeys
Blocking synchronous snapshot of all security keys. Used at app startup to populate local state before the async SubscribeKeyChanges stream has had a chance to run — avoids a race where the app (launched by a presence check) concludes “no keys” because the initial subscribed event hasn’t been drained yet.
ListSecurityKeysResolver
The resolver for an archived ListSecurityKeys
OperationOutcomeEvent
Event published by the FIDO server after a U2F/CTAP operation completes (success or failure). The Security Keys app is the only subscriber: it shows the success/failure modal in response. At outcome time the app is guaranteed running (it just handled the presence prompt), so a subscription is sufficient.
OperationOutcomeEventResolver
The resolver for an archived OperationOutcomeEvent
PresenceKeepAliveEvent
Heartbeat published by the FIDO server every time it replies to an RP with a “retry me” status (ConditionNotSatisfied for U2F, UserActionPending for CTAP2). Subscribers — the Security Keys app while its user-presence modal is up — use these to distinguish an active RP from an abandoned one and auto-dismiss the modal when the heartbeat stops.
PresenceKeepAliveEventResolver
The resolver for an archived PresenceKeepAliveEvent
SelectSecurityKey
Fire-and-forget message for selecting a security key.
SetArchived
Set the archived state of a security key. Archived keys are automatically set to live=false. Restoring from archive sets live=true.
SubscribeKeyChanges
Subscribe to key changes. Returns current key list immediately, then pushes updates whenever keys are modified.
SubscribeKeyChangesResolver
The resolver for an archived SubscribeKeyChanges
SubscribeOperationOutcomes
Subscribe to operation outcome events.
SubscribeOperationOutcomesResolver
The resolver for an archived SubscribeOperationOutcomes
SubscribePresenceKeepAlive
Subscribe to presence keep-alive events.
SubscribePresenceKeepAliveResolver
The resolver for an archived SubscribePresenceKeepAlive
U2fApduCommand
U2fApduCommandResolver
The resolver for an archived U2fApduCommand
U2fProcessApdu
U2fProcessApduResolver
The resolver for an archived U2fProcessApdu

Enums§

ArchivedOperationType
An archived OperationType
ArchivedTransport
An archived Transport
OperationType
Whether a completed FIDO operation was a registration or an authentication.
OperationTypeResolver
The resolver for an archived OperationType
Transport
TransportResolver
The resolver for an archived Transport
U2fApduParseError