ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
ssh_agent.h File Reference

Go to the source code of this file.

Functions

SSH Agent Detection
bool ssh_agent_is_available (void)
 Check if ssh-agent is running and available.
SSH Agent Key Management
asciichat_error_t ssh_agent_add_key (const private_key_t *private_key, const char *key_path)
 Add a private key to ssh-agent.
bool ssh_agent_has_key (const public_key_t *public_key)
 Check if a public key is already in ssh-agent.
asciichat_error_t ssh_agent_get_key (const public_key_t *public_key, private_key_t *key_out)
 Retrieve a private key from ssh-agent by matching public key.
asciichat_error_t ssh_agent_sign (const public_key_t *public_key, const uint8_t *message, size_t message_len, uint8_t signature[64])
 Sign data using SSH agent with the specified public key.