aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-init.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-01-12 18:12:02 +0000
committerWerner Koch <[email protected]>2016-01-12 18:12:02 +0000
commite2f984b4afffaa89bdeba2f5d447b5681237177e (patch)
treee6c12f002a78cafdf9f0c0c916aa0a1db370af21 /kbx/keybox-init.c
parentgpg: Re-indent check_key_signature2. (diff)
downloadgnupg-e2f984b4afffaa89bdeba2f5d447b5681237177e.tar.gz
gnupg-e2f984b4afffaa89bdeba2f5d447b5681237177e.zip
ssh: Accept OpenSSH *cert-v01 key variants.
* agent/command-ssh.c (SPEC_FLAG_WITH_CERT): New. (ssh_key_types): Add OpenSSH cert types. (stream_read_string): Allow a dummy read. (ssh_receive_mpint_list): Pass SPEC by reference. (ssh_receive_mpint_list): New arg CERT and use it. (ssh_receive_key): Read certificate into an estream object and modify parser to make use of that object. -- This is a first step to support certificate via the agent. The only effect of this change is the removal of an error message parsing the certificate. Note that ssh-add sends the private key anyway first and only then follows with the certificate+private key. What we need to implement next is a way to store the certificate in the agent and return it on request. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'kbx/keybox-init.c')
0 files changed, 0 insertions, 0 deletions