Commit Graph

353 Commits

Author SHA1 Message Date
Frank Morgner
0f96feb7c1 libpcsclite is a library 2013-12-08 23:06:07 +01:00
Frank Morgner
2cc664f698 added documentation about our PC/SC implementation 2013-12-06 22:22:08 +01:00
Frank Morgner
18463fc820 fixed definition for c++ 2013-12-04 22:17:42 +01:00
Frank Morgner
0e9b87cc7b use python wrappers to EAC_CTX and PACE_SEC
requires openpace 17891be5ee99d32e67bd954fbb26ff5eab6a0609
2013-11-01 19:38:52 +01:00
Frank Morgner
9970fbe742 don't use hard coded domain parameters for CA
needs OpenPACE 32d42f3b337cb0e9fca5a76824e471f431f4fbe0
2013-10-25 22:14:15 +02:00
Frank Morgner
ca5dfae640 use convenience wrapper for TA step 6 2013-10-23 09:55:12 +02:00
Frank Morgner
372ec6c265 hard coded CA protocol parameters are required currently
otherwise the curve will be unknown in OpenPACE. Fixes bug in
combination with OpenPACE 572eb903590257ac60f1661f0ba69a9994b4c3f5 and
later
2013-10-22 20:56:14 +02:00
Frank Morgner
a11be64015 catch and debug more errors 2013-10-21 21:01:08 +02:00
Frank Morgner
e76238505b iv is mandatory in python-crypto now 2013-09-30 13:52:17 +02:00
Frank Morgner
951c5473bd use a faked rID 2013-09-25 07:38:57 +02:00
Frank Morgner
15a53a39df use EAC_init() and EAC_cleanup() 2013-09-25 07:22:37 +02:00
Frank Morgner
12aef1e72f added more fci data for nPA 2013-09-11 06:38:56 +02:00
Frank Morgner
af02f4026a fixed compilation for windows 2013-08-16 09:25:11 +02:00
Frank Morgner
539a8ddee1 fixed references to sf's git repositories 2013-08-08 23:22:45 +02:00
Frank Morgner
17ddef0297 reversed connection mode: allow vpcd to reconnect 2013-08-07 23:57:02 +02:00
Frank Morgner
765cb8d7ef defined missing symbols from pcsclite.h 2013-08-07 21:46:53 +02:00
Frank Morgner
7e6b7cd4f6 avoid error: variable modified at file scope 2013-08-07 21:43:44 +02:00
Frank Morgner
4971ca1e17 don't install libvpcd when libpcsclite is requested
libpcsclite now statically links against libvpcd. This also is fully
compatible with OpenSC now, which uses dlopen/LoadLibrary for the PC/SC
provider.
2013-08-07 21:43:41 +02:00
Frank Morgner
a82d98a93d copied helper files from PCSC-Lite 2013-07-28 13:43:49 +02:00
Frank Morgner
4d1e67a26e use a valid ATR for handler_test 2013-07-19 23:51:00 +02:00
Frank Morgner
a766a6e01a fixed handling of SW1=0x61 in handler_test 2013-07-19 23:51:00 +02:00
Frank Morgner
cdf68d62b3 implemented my own version of libpcsclite
Allows customizing of the default adress to which vpcd or libpcsclite
connect to.

My libpcsclite is currently not thread safe. It should not be installed
together with PCSC-Lite since both packages have conflicting files. Use
./configure --enable-libpcsclite to use my version. Use ./configure
--enable-vpcdhost=ADRESS to define connection mode and adress of vpicc.
2013-07-19 23:49:01 +02:00
Frank Morgner
291178d139 implemented reversed connection establishment
vpcd can now be configured connect to a previously started vpicc.
2013-07-15 10:18:40 +02:00
Frank Morgner
6468c87e9f use ifd handler api v3.0 only.
port for connection may be specified in the device name
2013-07-11 00:07:34 +02:00
Frank Morgner
d6bf6a0b93 fixed extracting reference flags for select 2013-07-09 07:34:05 +02:00
Frank Morgner
8e5d044ab5 catch SwErrors in formatResult 2013-07-09 07:24:15 +02:00
Frank Morgner
50b2f85cc4 switch verbosity level via command line 2013-07-09 07:22:12 +02:00
Frank Morgner
68e01ac452 use hexdump to print strings of objects 2013-07-09 07:20:18 +02:00
Frank Morgner
8c1694f5b4 raise a SW error on failed decryption 2013-07-09 07:10:18 +02:00
Frank Morgner
a082227347 wrap errors in sm if decryption was successfull 2013-07-09 07:09:28 +02:00
Frank Morgner
470c364f78 version bump 2013-07-03 01:09:52 +02:00
Frank Morgner
962279fac6 updated ChangeLog 2013-07-03 01:03:32 +02:00
Frank Morgner
2bf5c40333 fixed location of .git 2013-07-03 00:31:16 +02:00
Frank Morgner
adc70a0a40 fixed distcheck-hook 2013-06-28 23:45:38 +02:00
Frank Morgner
31ff210f08 include program version in help 2013-06-27 00:25:05 +02:00
Frank Morgner
59b8c8cab1 throw an error if the APDU is too big 2013-06-27 00:08:33 +02:00
Frank Morgner
9c259f4af7 implemented vicc to pass PCSC-Lite's handler_test 2013-06-27 00:02:46 +02:00
Frank Morgner
46d0132856 check for vicc presence and return immediately 2013-06-26 23:22:49 +02:00
Frank Morgner
fa0b3bae28 network byte order is big endian 2013-06-26 21:21:41 +02:00
Frank Morgner
013abb2f35 get cards atr on first try 2013-06-26 11:58:06 +02:00
Frank Morgner
2d64ca4e14 fixed asn1 structure of nPA's default data 2013-06-25 23:05:54 +02:00
Frank Morgner
a7ceffeb9f removed debug output 2013-06-25 21:48:49 +02:00
Frank Morgner
04efb3588e use libpcsclite.pc's new serialconfdir 2013-06-25 01:44:10 +02:00
Frank Morgner
fb4dbe59ba allow multiple cards to connect to vpcd
due to limitations of pcscd this is currently limited to 10 cards.
Note that there is a double free corruption in pcscd when unloading the
driver.
2013-06-25 01:05:20 +02:00
Frank Morgner
2dc76bdac6 generate ChangeLog from git 2013-06-25 01:05:17 +02:00
Frank Morgner
59eaa16c45 include a summary in documentation and tools 2013-06-17 10:03:38 +02:00
Frank Morgner
58dc2e1a01 fixed default location of reader.conf.d
use `./configure --confdir` for changing the default
2013-06-11 23:13:42 +02:00
Frank Morgner
4cd2177944 added empty m4 directories
... to satisfy autoconf
2013-06-11 15:20:12 +02:00
Frank Morgner
5db6ce6935 added default cvca trust anchor (German eID PKI) 2013-06-11 15:13:22 +02:00
Frank Morgner
686eb9d455 added meaningfull default data 2013-06-09 23:23:36 +02:00