mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 10:30:41 +08:00
This keeps the top level of the repo cleaner, e.g. <https://github.com/radicle-dev/heartwood> scrolls less and <https://app.radicle.xyz/nodes/rosa.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/> might show more files at the top level. This way we also don't have to explicitly name all crates in `Cargo.toml`.
16 lines
449 B
Rust
16 lines
449 B
Rust
/// Write clients for SSH agents.
|
|
pub mod client;
|
|
|
|
mod msg;
|
|
|
|
/// Constraints on how keys can be used.
|
|
#[derive(Debug, PartialEq, Eq)]
|
|
pub enum Constraint {
|
|
/// The key shall disappear from the agent's memory after that many seconds.
|
|
KeyLifetime { seconds: u32 },
|
|
/// Signatures need to be confirmed by the agent (for instance using a dialog).
|
|
Confirm,
|
|
/// Custom constraints
|
|
Extensions { name: Vec<u8>, details: Vec<u8> },
|
|
}
|