aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command-ssh.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-29 12:48:11 +0000
committerWerner Koch <[email protected]>2021-03-29 12:49:08 +0000
commita494b29af9cc9c4c8c8323bae20e845d5a390448 (patch)
treee17f010a84c7b912ecb2aea8aa0380e437ffb857 /agent/command-ssh.c
parentgpg: Allow ECDH with a smartcard returning just the x-ccordinate. (diff)
downloadgnupg-a494b29af9cc9c4c8c8323bae20e845d5a390448.tar.gz
gnupg-a494b29af9cc9c4c8c8323bae20e845d5a390448.zip
scd:p15: Support ECDSA and ECDH for CardOS.
* scd/iso7816.c (iso7816_pso_csv): New. * scd/app-help.c (app_help_pubkey_from_cert): Uncompress a point if needed. * scd/app-p15.c (CARD_PRODUCT_RSCS): New. (struct prkdf_object_s): Add fields is_ecc, token_label, and tokenflags. (do_deinit): Free new fields. (cardproduct2str): New. (read_ef_prkdf): Set new is_ecc flag. (read_ef_tokeninfo): Store some data and move Tokeninfo diags to ... (read_p15_info): here. set the product info here after all data has been gathered. (send_keypairinfo): Chnage the way the gpgusage flags are used. (make_pin_prompt): If the token has a label and the current cert has no CN, show the label as holder info. (do_sign): Support ECDSA. Take care of the gpgusage flags. (do_decipher): Support ECDH. Take care of the gpgusage flags. -- This has been tested with Trusted Object Manager generated cards by Rohde & Schwarz Cybersecurity. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'agent/command-ssh.c')
0 files changed, 0 insertions, 0 deletions