Skip to main content

Module lockbox

Module lockbox 

Source
Expand description

Portable encrypted archive API.

Modules§

vault_integration
Narrow integration surface used by revault_vault_api.

Structs§

CacheStats
Snapshot of decoded-page cache usage.
ContactKeyPair
Hybrid X25519 + ML-KEM-768 contact keypair.
ContactPublicKey
Public hybrid X25519 + ML-KEM-768 contact key.
ContactWrappedKey
Content key wrapped to a hybrid X25519 + ML-KEM-768 contact.
ContentChunk
Metadata for one streamed content range.
ContentStreamOptions
Options for streaming lockbox file content without extracting to disk.
ExtractPolicy
Safety and behavior limits for extracting lockbox contents.
FormDefinition
FormFieldDefinition
FormFieldValue
FormRecord
FormTypeId
ImportStats
Coarse import pipeline timing counters.
ListOptions
Options for listing lockbox entries.
Lockbox
Open encrypted lockbox container.
LockboxEntry
Metadata returned by lockbox listing and stat APIs.
LockboxFileInspection
Public metadata read from a lockbox file without decrypting its contents.
LockboxFileMut
Seekable read/write handle over a file inside a writable lockbox.
LockboxFileReader
Seekable read handle over a file inside a lockbox.
LockboxId
Stable UUID-style identifier embedded in each lockbox.
LockboxInspector
Read-only diagnostics for an opened lockbox.
LockboxKeySlot
Public metadata for one key slot.
LockboxOptions
Options used when creating or opening a lockbox.
LockboxOwnerInspection
Owner-signing metadata verified from an opened lockbox.
LockboxPath
Canonical path for an directory, file or symlink entry inside a lockbox.
OpenFileOptions
Options used when opening a writable file handle inside a lockbox.
OwnerSigningKeyPair
OwnerSigningPublicKey
PageInspection
Public diagnostic view of one physical lockbox page.
PageObjectInspection
Public diagnostic view of one object inside a page.
ReadOnly
Marker for lockbox handles that can read but cannot be committed.
RecoveryReport
Summary produced by lockbox recovery and salvage scans.
RecoveryReportOptions
Rendering options for RecoveryReport.
RecoveryScanner
Scans damaged lockbox storage and reports or salvages recoverable content.
ScopedFileLock
SecretString
SecretVec
VariableName
Validated variable name stored inside a lockbox.
VariableNamePattern
Validated variable-name filter.
Writable
Marker for lockbox handles that can be mutated and committed.

Enums§

ArtifactKind
Native persisted artifact whose format version was rejected.
CacheLimit
Decoded-page cache size policy.
ContentStreamOrder
Ordering used by Lockbox::stream_content.
Error
Error type returned by lockbox operations.
FileLockScope
FormFieldKind
FormValue
LockboxEntryKind
Kind of logical node returned by lockbox listing and stat APIs.
LockboxKeySlotAlgorithm
Algorithm used by a key slot to wrap the lockbox content key.
LockboxKeySlotProtection
User-facing protection type represented by a key slot.
LockboxOpen
Key material used to open an existing lockbox file.
LockboxProtection
Key material used when creating a new lockbox file.
VariableSensitivity
Sensitivity marker for variables stored in a lockbox.
VariableValueRef
Borrowed variable value yielded by Lockbox::visit_variables.
WorkerPolicy
Worker policy for CPU-heavy lockbox work.
WorkloadProfile
High-level access pattern hint for cache and write behavior.

Constants§

LOCKBOX_FORMAT_VERSION
MAX_KEY_SLOT_NAME_BYTES
Maximum UTF-8 byte length for a user-facing key slot name.

Functions§

lock_path_for
Returns the hidden sidecar path used to coordinate writes to target.
probe_lockbox_format_version
Reads the stable native archive format discriminator from a complete, authenticated public header without attempting to parse that format.

Type Aliases§

Result
Convenient result alias for lockbox operations.