1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00
gnupg/scd
Werner Koch ecb9265b8d
scd:p15: Match private keys with certificates also by labels.
* scd/app-p15.c (cdf_object_from_label): New.
(cdf_object_from_certid): Fallback to label matching.
(read_p15_info): Ditto.
(keygrip_from_prkdf): Ditto.  Replace duplicated code by a call to
cdf_object_from_objid.
--

In case there is no certificate for a private key we now also try to
find a certificate using a matching label.

Signed-off-by: Werner Koch <wk@gnupg.org>
2021-04-12 11:41:00 +02:00
..
apdu.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02: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: New flag --reread for LEARN 2021-04-01 10:31:52 +02:00
app-dinsig.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
app-geldkarte.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
app-help.c scd: Fix duplicate output of KEYPAIRINFO by readkey command. 2021-04-08 19:27:25 +02:00
app-nks.c scd:nks: Handle APP_READKEY_FLAG_INFO. 2021-04-08 19:30:51 +02:00
app-openpgp.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
app-p15.c scd:p15: Match private keys with certificates also by labels. 2021-04-12 11:41:00 +02:00
app-piv.c scd: New option --pcsc-shared. 2021-03-12 09:31:17 +01:00
app-sc-hsm.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
app.c scd: New flag --reread for LEARN 2021-04-01 10:31:52 +02:00
atr.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02: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: Fix CCID driver for SCM SPR332/SPR532. 2021-04-08 13:41:28 +09:00
ccid-driver.h scd:ccid-driver: Fix pinpad error handling for cancel/timeout. 2020-11-27 15:17:56 +09:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
command.c scd: Fix duplicate output of KEYPAIRINFO by readkey command. 2021-04-08 19:27:25 +02: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
Makefile.am scd: Add very basic support for PIV cards. 2019-01-20 11:45:57 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c scd: Replace all assert macros by the log_assert macro. 2021-03-31 19:16:05 +02:00
scdaemon.h scd:p15: Implement CHV-STATUS attribute 2021-03-16 18:52:38 +01:00