NIIBE Yutaka
93db5ed4e6
PC/SC pinpad support (pinpad input for modify pass phrase with resetcode, by admin).
2011-12-02 21:57:33 +01:00
NIIBE Yutaka
2be05d2c7e
PC/SC pinpad support (pinpad input for modify pass phrase).
2011-12-02 21:57:32 +01:00
NIIBE Yutaka
a4ff2f4fdf
PC/SC pinpad support.
...
Before this change, it is layered like following:
iso7816_verify
iso7816_verify_kp
apdu_send_simple, apdu_send_simple_kp
...
After this change, it will be layered like:
iso7816_verify iso7816_verify_kp
apdu_send_simple apdu_keypad_verify
...
and apdu_send_simple_kp will be deprecated.
For PC/SC API, we use:
SCardControl API to compose CCID PC_to_RDR_Secure message
SCardTransmit API to compose CCID PC_to_RDR_XfrBlock message
Considering the support of PC/SC, we have nothing to share between _kp
version of iso7816_* and no _kp version.
2011-12-02 21:57:32 +01:00
Marcus Brinkmann
2959e9e4d1
Initial port to Npth.
2011-10-13 17:09:29 +02:00
Werner Koch
816bee1fa0
Fixed set but unused variable bugs
2011-08-10 14:11:30 +02:00
Werner Koch
7c03c8cc65
Lock scdaemon to CCID if once found.
...
This solves a problem where ccid was used, the card unplugged and then
scdaemon tries to find a new (plugged in) reader and thus will
eventually try PC/SC over and over again.
Also added an explicit --kill command to gpgconf.
2011-02-23 10:15:34 +01:00
Werner Koch
b008274afd
Nuked almost all trailing white space.
...
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.
2011-02-04 12:57:53 +01:00
Werner Koch
ca2d315765
Detect non operational readers.
...
Backport from 2.0.
2011-01-25 21:51:58 +01:00
Werner Koch
0103a53aa6
Smartcard related updates
2010-11-17 13:21:24 +00:00
Werner Koch
983f91937c
Fix for extended length Le in decipher
2009-09-03 10:57:23 +00:00
Werner Koch
0792525d22
Make bug reporting address easier changeable.
2009-07-21 14:21:05 +00:00
Werner Koch
e49d808e1f
Add code to better handle unplugging of a reader.
2009-07-16 15:54:59 +00:00
Werner Koch
d0d4931e00
* ccid-driver.c (struct ccid_driver_s): Add fields last_progress,
...
progress_cb and progress_cb_arg.
(ccid_set_progress_cb): New.
(print_progress): New.
(ccid_transceive): Call print_progress for wait time extensions.
* apdu.c (struct reader_table_s): Add field set_progress_cb.
(new_reader_slot): Clear that field.
(open_ccid_reader): Set it to ..
(set_progress_cb_ccid_reader): ... new fucntion.
* app.c (print_progress_line): New.
(lock_reader): Add arg CTRL to set a progress callback and
change all callers to provide it.
(unlock_reader): Remove the progress callback.
2009-07-13 09:59:22 +00:00
Werner Koch
d8d1ca6151
Reworked the estream memory buffer allocation.
...
Committed already posted patches for the v2 card.
2009-06-29 10:43:57 +00:00
Werner Koch
e095815c4d
Make PIN changing code work for v2 cards.
2009-05-20 16:12:25 +00:00
Werner Koch
5e208460a1
Improved smartcard robustness.
2009-05-13 17:12:00 +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
588a7c34bb
Make sure not to leak file descriptors if running gpg-agent with a
...
command. Restore the signal mask to solve a problem in Mono.
2009-03-19 07:09:31 +00:00
Werner Koch
618afc4231
Fixed a nasty bug in scdaemon which led to a card reset if the card was
...
inserted during scdaemon startup and a connection was made before the
ticker had a chance to run. Add some stuff for better debugging.
2009-02-25 10:58:56 +00:00
Werner Koch
7784e86a66
Add limited support for NetKey 3.0 cards.
2009-01-08 19:56:30 +00:00
Werner Koch
511c7a89fc
Fix card change detection.
2009-01-05 19:56:52 +00:00
Werner Koch
7bd2e417d1
Fixed some card related problems.
2008-12-18 16:34:28 +00:00
Werner Koch
0a5f742466
Marked all unused args on non-W32 platforms.
2008-10-20 13:53:23 +00:00
Werner Koch
b519a52cea
Made scdaemon more robust on Windows.
2008-10-15 13:23:10 +00:00
Werner Koch
d0ca953014
SCD changes for PC/SC under W32.
2008-10-14 18:18:21 +00:00
Marcus Brinkmann
d62ca1bf4a
2008-09-28 Marcus Brinkmann <marcus@g10code.com>
...
* apdu.c (pcsc_get_status): Fix last change.
2008-09-28 12:48:41 +00:00
Marcus Brinkmann
8368144fa7
Marcus Brinkmann <marcus@g10code.com>
...
* apdu.c (pcsc_get_status): Be more relaxed with the usable flag
under Windows.
M scd/ChangeLog
M scd/apdu.c
2008-09-23 13:04:42 +00:00
Werner Koch
f899b9683b
Support the Certifciate DO of the v2 OpenPGP cards.
2008-09-23 09:57:45 +00:00
Werner Koch
4fa68f839b
Fix APDU buffer problem under MAC OS.
2008-08-11 07:42:25 +00:00
Werner Koch
c850656d28
Applied exact length hack.
2007-08-01 18:25:32 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
0cfbfd6186
A whole bunch of changes to allow building for Windows.
...
See the ChangeLogs for details.
2007-06-14 17:05:07 +00:00
Werner Koch
2c9791db55
First steps towards supporting W32.
...
This is mainly source code reorganization.
Update gnulib.
g10/ does currently not build.
2007-06-06 18:12:30 +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
252b668814
Preparing 2.0.1
2006-11-28 16:36:02 +00:00
Werner Koch
e50c5f39cc
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
...
good chance that gpg2 will now work.
Other cleanups.
Updated gettext.
2006-11-21 11:00:14 +00:00
Werner Koch
5885142c83
Made some PIN pads work.
...
Some cleanups for 64 bit CPUs.
2006-11-20 16:49:41 +00:00
Werner Koch
be410be660
Pth tweaks and improved estream.c
2006-10-17 14:34:42 +00:00
Werner Koch
eef036df23
The big Assuan error code removal.
2006-09-06 16:35:52 +00:00
Werner Koch
c664309a0a
Added command APDU
2006-04-11 13:53:21 +00:00
Werner Koch
89824e5d59
Fixed card removal problems
2006-03-01 11:05:47 +00:00
Werner Koch
496c3b5572
Print warning for missing pcsc-wrapper
2005-12-06 16:44:20 +00:00
Werner Koch
6a13cf2c3d
Preparing an interim release
2005-11-28 11:52:25 +00:00
Werner Koch
1b2f7cbe3b
Basically made Belgian EID cards work.
...
Signature creation has not yet been tested.
Also other changes to better cope with T=0 cards.
2005-09-05 14:36:36 +00:00
Werner Koch
68191d0c93
* keylist.c (email_kludge): Reworked.
...
* certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf
arg to unsigned.
* call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
2005-07-20 15:05:05 +00:00
Werner Koch
deeba405a9
gcc-4 defaults forced me to edit many many files to get rid of the
...
char * vs. unsigned char * warnings. The GNU coding standards used to
say that these mismatches are okay and better than a bunch of casts.
Obviously this has changed now.
2005-06-16 08:12:03 +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