ssh-agent-lib 0.5.2

A collection of types for writing custom SSH agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ssh_agent_lib::proto::{Identity, Response};
use ssh_key::public::KeyData;

use super::fixtures;

pub fn expected() -> Response {
    Response::IdentitiesAnswer(vec![Identity {
        pubkey: KeyData::Ecdsa(fixtures::demo_key().into()),
        comment: "baloo@angela".to_string(),
    }])
}