radicle_ssh/agent.rs
1/// Write clients for SSH agents.
2pub mod client;
3
4mod msg;
5
6/// Constraints on how keys can be used.
7#[derive(Debug, PartialEq, Eq)]
8pub enum Constraint {
9 /// The key shall disappear from the agent's memory after that many seconds.
10 KeyLifetime { seconds: u32 },
11 /// Signatures need to be confirmed by the agent (for instance using a dialog).
12 Confirm,
13 /// Custom constraints
14 Extensions { name: Vec<u8>, details: Vec<u8> },
15}