Skip to main content

Module offline

Module offline 

Source
Expand description

Prepared offline contact packages and short-lived capabilities (E16.4).

Queue capacity is 8. Release checks Generation equality rather than a caller-asserted “authority is current” boolean. Expired packages stay sealed; clock rollback does not extend expiry.

ScopedCapability cannot be refreshed by copying: a copy keeps the original deadline and activate_capability still expires after it.

Offline permissions are never labelled “current” after freshness lapses. Remote wipe and attestation cannot guarantee safety after endpoint compromise or seizure (E16.7).

Structs§

OfflinePackage
OfflineQueue
ScopedCapability
Short-lived capability. Copying does not extend Self::expires_unix.

Constants§

MAX_OFFLINE

Functions§

activate_capability
Activates an offline capability.
extend_capability_by_copy
Copying is not a refresh: the deadline is unchanged and this call is denied.
queue_offline
Enqueue a sealed package. Capacity 8. Clock rollback is Conflict and does not rewrite stored expiry.
release_offline
Release a queued package. Authority freshness is the live generation, not a boolean assertion from the caller.
release_queued
Release from the queue, applying monotonic clock checks.