NIIBE Yutaka
c2525d507d
scd: PC/SC pinpad support. (Backported from master.)
...
* iso7816.h (iso7816_verify_kp): Remove arguments of CHV and CHVLEN.
* iso7816.c (iso7816_verify_kp): Call apdu_keypad_verify. Only
handle thecase with PININFO.
(iso7816_verify): Call apdu_send_simple.
* app-openpgp.c (verify_a_chv, verify_chv3): Follow the change of
iso7816_verify_kp.
* app-nks.c (verify_pin): Likewise.
* app-dinsig.c (verify_pin): Likewise.
* apdu.c: Include "iso7816.h".
(struct reader_table_s): New memeber function keypad_verify.
Add fields verify_ioctl and modify_ioctl in pcsc.
(CM_IOCTL_GET_FEATURE_REQUEST, FEATURE_VERIFY_PIN_DIRECT)
(FEATURE_MODIFY_PIN_DIRECT): New.
(pcsc_control): New.
(control_pcsc_direct, control_pcsc_wrapped, control_pcsc)
(check_pcsc_keypad, pcsc_keypad_verify): New.
(ccid_keypad_verify, apdu_keypad_verify): New.
(new_reader_slot): Initialize with check_pcsc_keypad,
pcsc_keypad_verify, verify_ioctl and modify_ioctl.
(open_ct_reader): Initialize keypad_verify with NULL.
(open_ccid_reader): Initialize keypad_verify.
(open_rapdu_reader): Initialize keypad_verify with NULL.
(apdu_open_reader): Initialize pcsc_control.
* pcsc-wrapper.c (load_pcsc_driver): Initialize pcsc_control.
(handle_control): New.
(main): Handle the case 6 of handle_control.
2012-06-25 10:04:22 +09:00
Werner Koch
983f91937c
Fix for extended length Le in decipher
2009-09-03 10:57:23 +00:00
Werner Koch
96abdb1386
Fix for card keys > 2048 bit.
2009-07-10 10:15:33 +00:00
Werner Koch
a766a37290
Print keyid in gpg --list-packets.
...
Add some not yet code to app-nks.c
Changed batch mode expiration time computation
2009-05-13 11:42:34 +00:00
Werner Koch
eeca39ae50
More support for Netkey cards.
...
Small changes to teh CCID driver.
Support 2048 bit OpenPGP cards.
2009-05-08 15:07:45 +00:00
Werner Koch
98e1a75e20
Implement decryption for TCOS 3 cards.
2009-03-30 12:46:06 +00:00
Werner Koch
990585ad7d
Signing using Netkey 3 cards does now work.
2009-03-26 19:27:04 +00:00
Werner Koch
36d681d98e
Fix keygrip computation for TCOS 3 cards.
...
Emit PROGRESS status lines during --learn-card.
2009-03-20 19:04:47 +00:00
Werner Koch
a3b63ac1dc
Add server option with-ephemeral-keys.
...
Extend SCD LEARN command.
2009-03-18 11:18:56 +00:00
Werner Koch
a9c317a95c
New gpg-agent command to list key information.
...
Gpgsm does now print the S/N of cards.
Consider ephemeral keys during listing an export.
2009-03-06 17:31:27 +00:00
Werner Koch
59d7a54e72
New PIN Callback attributes in gpg-agent.
...
Common prompts for keypad and simple card reader.
More support for Netkey cards; PIN management works now.
2009-03-05 19:19:37 +00:00
Werner Koch
7784e86a66
Add limited support for NetKey 3.0 cards.
2009-01-08 19:56:30 +00:00
Werner Koch
338ddd0bb6
Use bin2hex if possible.
2008-11-03 10:54:18 +00:00
Werner Koch
0a5f742466
Marked all unused args on non-W32 platforms.
2008-10-20 13:53:23 +00:00
Werner Koch
4817ff6528
Add support for the TCOS NullPIN feature.
2008-06-24 16:00:29 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
634b4c31d2
The Cherry XX44 keyboard's PINpad does now work.
...
DINSIG and NKS card applications are now also PIN pad aware.
2007-03-07 20:55:14 +00:00
Werner Koch
5e34f91852
Typo fixes
2007-02-14 16:25:38 +00:00
Werner Koch
eef036df23
The big Assuan error code removal.
2006-09-06 16:35:52 +00:00
Werner Koch
f98537733a
Updated FSF's address.
2006-06-20 17:21:37 +00:00
Werner Koch
6a13cf2c3d
Preparing an interim release
2005-11-28 11:52:25 +00:00
Werner Koch
4237a9cc7f
Changed the scdaemon to handle concurrent sessions. Adjusted
...
gpg-agent accordingly. Code cleanups.
2005-05-18 10:48:06 +00:00
Werner Koch
a22750dc1e
* configure.ac: Removed OpenSC detection and options.
...
* acinclude.m4: Ditto.
* scdaemon.texi: Removed OpenSC specific options.
* app-p15.c: New. Basic support for pkcs15 cards without OpenSC.
There are quite a couple of things missing but at least I can use
my old TCOS cards from the Aegypten-1 development for signing.
* app.c (select_application): Detect pkcs15 applications.
* Makefile.am (scdaemon_SOURCES): Removed card.c, card-common.h
and card-p15.c because they are now obsolete. Added app-p15.c.
Removed all OpenSC stuff.
* command.c (do_reset, open_card, cmd_serialno, cmd_learn)
(cmd_readcert, cmd_readkey, cmd_pksign, cmd_pkdecrypt): Removed
all special cases for the old card.c based mechanisms.
* scdaemon.c, apdu.c: Removed all special cases for OpenSC.
2005-04-27 12:09:21 +00:00
Werner Koch
e209ea3c39
* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c
...
* app-nks.c (get_length_of_cert): Removed.
* app-help.c: New.
(app_help_read_length_of_cert): New. Code taken from above. New
optional arg R_CERTOFF.
* card-dinsig.c: Removed.
* card.c (card_get_serial_and_stamp): Do not bind to the old and
never finsiged card-dinsig.c.
* iso7816.c (iso7816_read_binary): Allow for an NMAX > 254.
2004-03-16 18:59:21 +00:00
Werner Koch
f8d44bc637
*** empty log message ***
2004-03-16 10:49:37 +00:00
Werner Koch
97958029f6
(iso7816_manage_security_env): New.
...
(iso7816_decipher): Add PADIND argument.
** app-nks.c is now functional **
2004-01-28 16:21:57 +00:00
Werner Koch
eb24d8b751
Some minor bug fixes, new test utilities and started support for other
...
smartcard applications.
2004-01-27 16:40:42 +00:00