Expand description
Salus - A secure secret store in Rust
Structs§
- Init
- The init message to send to the daemon
- Search
Query - A predictive key-name search request.
- SetInfo
- Summary of a single enrolled set, returned by
AgentAction::Status. - Share
- A share message to send to the daemon
- Shares
- A share message to send to the daemon
- Ssss
Config - Configuration used to drive the
gen_sharesfunction. - Store
- A store message to send to the daemon
Enums§
- Action
- A message to send to the daemon
- Agent
Action - A request sent from the client to the
salus-agent. - Agent
Response - A response sent from the
salus-agentback to the client. - Response
- A response from the daemon
- Unlock
Timeout - How long the daemon should keep the reconstructed key in memory after a successful unlock.
Constants§
- MAX_
MESSAGE_ SIZE - Maximum size, in bytes, of a single encoded protocol message (1 MiB).
- MAX_
UNLOCK_ SECONDS - The maximum number of seconds the daemon will hold an unlocked key (24 h).
Functions§
- agent_
socket_ name - Get the socket name used to talk to the
salus-agent. - decode
- Decode a protocol message using the shared, size-bounded wire configuration.
- encode
- Encode a protocol message using the shared, size-bounded wire configuration.
- fuzzy_
rank - Fuzzy-rank
candidatesagainstquery, best match first. - gen_
shares - Generate a new key and split it into shares using Shamir’s Secret Sharing Scheme.
- socket_
name - Get the socket name used for daemon interprocess communication.
- unlock_
key - Unlock the key from the given shares using Shamir’s Secret Sharing Scheme.