Skip to main content

Module secrets

Module secrets 

Source
Expand description

App-scoped secrets: tilo_secrets under the toolkit’s module path.

Modules§

conformance
The contract every SecretStore keeps, as checks a backend’s tests (and a host’s own backend’s tests) run. They write, overwrite and delete one key, tilo-conformance, of the store they are given.

Structs§

ItemSecret
PutOptions
Secret
Secret bytes: wiped from memory on drop and never printed by Debug.
SecretStore
SecretsScope
Keeps a thread’s stores in one backend until it is dropped: see scope_thread.

Enums§

Availability
Feature
Protection
SecretError

Constants§

SECRETS_DIR_ENV

Traits§

SecretBackend

Functions§

arm_device_proof
Arm this process with the device secret it just read; only the key derived for proofs is kept.
availability
available
items_outlive_rebuilds
Whether what this build puts in the system store stays readable by later builds of the same program. On macOS only a Developer ID signature does; an ad-hoc or dev signature’s items are readable by that build alone.
keep_in_memory_for_process
From now on, every SecretStore::for_app in this process shares one in-memory store and never reaches the platform’s, which may prompt and holds the user’s real secrets.
memory_backend
scope_thread
From now until the guard drops, every SecretStore::for_app this thread creates keeps its secrets in backend, never the platform’s store.
unscoped

Type Aliases§

Unsupported