gnupg/scd
NIIBE Yutaka fec75a3868 scd: Support PASSWD --clear for OpenPGP card.
* scd/app-openpgp.c (do_change_pin): Implement handling
APP_CHANGE_FLAG_CLEAR.

--

It is specified in the specification version 3.1 or later.  Some
version 2 cards (including Gnuk) support this feature.  Any version 1
card has no support for this feature.

For CHVNO = 1, it clears for both of 81 and 82; That is, user's key
usages for signing and others (decryption and auth).
For CHVNO = 3, it clears for 83, admin key.

For CHVNO = 2, it clears 82; That is, user's key usages
others (decryption and auth).

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-01-23 12:12:54 +09: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: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
apdu.h scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
app-common.h scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00
app-dinsig.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-geldkarte.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
app-help.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app-nks.c scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00
app-openpgp.c scd: Support PASSWD --clear for OpenPGP card. 2019-01-23 12:12:54 +09:00
app-p15.c Use the gpgrt log functions if possible. 2017-11-27 15:00:25 +01:00
app-piv.c scd: Support CHV-STATUS and CHECKPIN for PIV. 2019-01-21 15:01:45 +01:00
app-sc-hsm.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
app.c scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +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: Fix for USB INTERRUPT transfer. 2019-01-07 14:08:51 +09:00
ccid-driver.h scd: Support "acknowledge button" feature. 2018-10-11 15:41:49 +09:00
command.c scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00
iso7816.c scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
iso7816.h scd: One new and one improved 7816 function. 2019-01-20 11:41:23 +01:00
scdaemon-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
scdaemon.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
scdaemon.h scd: Add option --clear to PASSWD. 2019-01-21 14:06:51 +01:00