Skip to main content

Module agent_core

Module agent_core 

Source
Expand description

Re-exports of agent process types from auths-core. Re-exports of agent types from auths-core.

NOTE: SSH agent IPC uses Unix domain sockets — the underlying auths-core::agent::client module is #[cfg(unix)]-gated. The re-exports below mirror that gate so the SDK compiles on Windows. AgentHandle is cross-platform (no socket dependency) and stays unconditionally exported.

Structs§

AgentHandle
A handle to an agent instance that manages its lifecycle.

Enums§

AgentStatus
Status of the agent connection.

Functions§

add_identity
Add an identity (private key) to the SSH agent.
agent_sign
Sign data using a key loaded in the SSH agent.
check_agent_status
Check the status of the SSH agent.
remove_all_identities
Remove all identities (keys) from the SSH agent.
start_agent_listener_with_handle
Starts the SSH agent listener using the provided AgentHandle.