gnupg/scd
Werner Koch a494b29af9
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 <wk@gnupg.org>
2021-03-29 14:49:08 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
apdu.c scd: Fix PC/SC error handling at apdu_dev_list_start. 2021-03-26 11:24:30 +09:00
apdu.h scd:p15: Make it code work again for D-Trust cards. 2021-02-23 12:56:42 +01:00
app-common.h scd: Minor tweak for easier backporting 2021-02-19 10:15:54 +01:00
app-dinsig.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app-geldkarte.c scd: First changes to implement a PIN cache. 2020-01-07 18:45:33 +01:00
app-help.c scd:p15: Support ECDSA and ECDH for CardOS. 2021-03-29 14:49:08 +02:00
app-nks.c scd:p15: First step towards real CardOS 5 support. 2021-01-26 17:42:55 +01:00
app-openpgp.c scd:openpgp: Allow reading and writing user certs for keys 1 and 2 2021-03-19 18:26:03 +01:00
app-p15.c scd:p15: Support ECDSA and ECDH for CardOS. 2021-03-29 14:49:08 +02:00
app-piv.c scd: New option --pcsc-shared. 2021-03-12 09:31:17 +01:00
app-sc-hsm.c scd: Extend an internal function to also return the algo. 2020-05-05 08:07:11 +02:00
app.c scd:p15: Extract extended usage flagsand act upon them. 2021-02-22 17:51:11 +01:00
atr.c Spelling fixes in docs and comments. 2017-04-28 10:06:33 +09:00
atr.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ccid-driver.c scd:ccid:spr532: Extend abort_cmd for initialization time. 2020-12-09 12:54:43 +09:00
ccid-driver.h scd:ccid-driver: Fix pinpad error handling for cancel/timeout. 2020-11-27 15:17:56 +09:00
command.c scd:p15: Allow to use an auth object label with cmd CHECKPIN. 2021-03-18 16:30:10 +01:00
iso7816.c scd:p15: Support ECDSA and ECDH for CardOS. 2021-03-29 14:49:08 +02:00
iso7816.h scd:p15: Support ECDSA and ECDH for CardOS. 2021-03-29 14:49:08 +02:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd: New option --pcsc-shared. 2021-03-12 09:31:17 +01:00
scdaemon.h scd:p15: Implement CHV-STATUS attribute 2021-03-16 18:52:38 +01:00