Commit Graph

535 Commits

Author SHA1 Message Date
Frank Morgner
13307b950e workaround for windows compiler without inet_ntop 2015-08-22 00:22:41 +02:00
Frank Morgner
f66c7834ba fixed windows cross compilation of vpcd 2015-08-21 22:56:13 +02:00
Frank Morgner
e4b438e870 fixed windows cross compilation of vpcd-config 2015-08-21 04:34:48 +02:00
Frank Morgner
f0c0805679 vpcd-config: use the configured maximum number of slots 2015-08-21 03:48:19 +02:00
Frank Morgner
24dbde75b0 fixed dependency to pcsclite.h
regression of 1581c61e4b
2015-08-13 09:21:38 +02:00
Frank Morgner
799894c83a don't print raw binary data 2015-08-13 09:21:38 +02:00
Frank Morgner
3b31a0347b MacOSX (un)install: use /usr/local/libexec/... on El Capitan
For Mac OS X El Capitan 10.11 it is no more possible to add files in
/usr/libexec/SmartCardServices/drivers/.

Third party smart card drivers must use
/usr/local/libexec/SmartCardServices/drivers/ instead.
2015-08-09 14:50:23 +02:00
Frank Morgner
051e9a999c make sure built files are most recent 2015-07-31 19:10:32 +02:00
Frank Morgner
88b8727d02 fixed broken pointers in documentation 2015-07-23 23:56:43 +02:00
Frank Morgner
a7c0f04ec2 removed code duplication
regression of cde9393
2015-06-21 00:16:25 +02:00
Frank Morgner
470552da48 fixed missing import of sys
closes #55 #56 #57 #58
2015-06-20 00:36:50 +02:00
Frank Morgner
7e1c7cbbbd added documentaion about OS X 2015-06-20 00:26:22 +02:00
psytester
f7fa7f071a Remove AM_COND_IF from configure.ac as older automake versions do not support this macro
On SLES SP3 the automake tool has Version 1.10.1 and it does not know the new introducted AM_COND_IF macro.
I found the related work around on Mailing list of automake from year 2009
http://lists.gnu.org/archive/html/automake/2009-01/msg00011.html
since AM_COND_IF is not available in old Versions, the way is to use simple shell if statements as done in your configure.ac several times.
2015-06-10 14:27:43 +02:00
Frank Morgner
9fc68af432 documented libqrcode dependency
fixes #51
2015-06-08 22:06:25 +02:00
Frank Morgner
d471598380 Let SmartcardOS have only stubs
mf and SAM are implementations pecific to Iso7816OS
2015-05-21 22:04:44 +02:00
Frank Morgner
cbc8ab7ab9 implement reset() for relay card
fixes #48
2015-05-21 21:56:08 +02:00
Frank Morgner
a2da548bd1 list dependencies per emulated card 2015-05-20 02:17:55 +02:00
Frank Morgner
10fcdcd3fd added Mac OS X to the compatibility list 2015-05-20 02:17:55 +02:00
Frank Morgner
ca7dbab716 moved HandlerTestOS to cards/HandlerTest.py 2015-05-20 02:17:55 +02:00
Frank Morgner
dbc8054813 moved NPAOS to nPA.py 2015-05-20 02:17:55 +02:00
Frank Morgner
cde9393e89 moved CryptoflexOS to cryptoflex.py 2015-05-20 02:17:55 +02:00
Frank Morgner
3277da7824 moved RelayOS into separate file 2015-05-20 02:17:55 +02:00
Frank Morgner
3f74291dc2 fixed pycrypto import
fixes regression from bca53f92f1
2015-05-18 08:43:37 +02:00
Frank Morgner
bca53f92f1 import Crypto only when needed 2015-05-18 07:55:18 +02:00
Frank Morgner
2ef0e7828c let user configure the number of slots 2015-05-18 07:55:18 +02:00
Frank Morgner
f3dc6db045 use two slots by default 2015-05-18 07:55:18 +02:00
Frank Morgner
70e72f8c14 Workaround for getting ATR on OS X 10.10 2015-05-18 07:55:18 +02:00
Frank Morgner
7215a6ed3f announce non thread safety 2015-05-18 07:55:18 +02:00
Frank Morgner
570bcf996a use pcsc-lite's debuglog.h or syslog
...or no log at all for debugging
2015-05-18 07:55:18 +02:00
Frank Morgner
a6e6beb2a9 better error handling
set output length to 0 on error
2015-05-18 07:55:18 +02:00
Frank Morgner
36f64cf59a added scritps to build package for OS X 2015-05-18 07:55:18 +02:00
Frank Morgner
c7f757b2fb Added compatibility with Info.plist bundle
primarily for usage on OS X
2015-05-18 07:55:18 +02:00
Frank Morgner
1581c61e4b use a static pcsclite.h compatible with pcsc-lite 1.8.9 2015-05-18 07:55:17 +02:00
Frank Morgner
118bc2fb51 fixed compiling without LOG 2015-05-12 20:00:51 +02:00
Frank Morgner
7763802d96 fixed check for strlcpy and strlcat 2015-05-12 19:55:42 +02:00
Frank Morgner
c7261f5640 fixed documentation of BixVReader.ini 2015-03-24 08:32:41 +01:00
Frank Morgner
6dfab7fbf1 pcsc-relay: fixed handling ATR for vpcd emulator 2015-03-18 07:54:44 +01:00
Frank Morgner
aa90d22813 allow ommiting data in vicc_transmit/vicc_connect
allows using these operations for both ends, vicc *and* vpcd
2015-03-14 15:03:16 +01:00
Frank Morgner
1af188e2b2 fixed library name in documentation 2015-03-14 01:52:04 +01:00
Frank Morgner
a515be58f9 export vicc_connect 2015-03-14 00:53:55 +01:00
Frank Morgner
78d181017b added note about possible Android usage 2015-02-27 23:34:50 +01:00
Frank Morgner
a76a859a92 fixed loading file image
partially fixes #41
2015-02-08 20:41:07 +01:00
Frank Morgner
832e4110f9 close socket on error 2015-02-02 19:26:52 +01:00
Frank Morgner
676bc3707a save reference date/community id in the local object, not the class
- mapps a truncated brith date YYYYMM to YYYYMM31
- uses python magic to shorten the code
- closes #38
2015-01-30 22:58:55 +01:00
psytester
702e248a48 Verify implemented for Age, DocumentValidity and PlaceVerification checks
In case of AgeVerification , DocumentValidity and PlaceVerification checks, the return code is not longer hard coded.
Based on given reference values a check is does against given DG3, DG8 and DG18 values

Still ToDo is incomplete DG8 BirthDate in Format YYYY-XX where the day is missing
2015-01-30 22:58:55 +01:00
psytester
c4790e02b3 provide CommunityID as hex string
CommunityID is taken now from default value or dataset file in readable digit-string Format.
Benefits:
- internal "NotOnChip" function is now working for DG18
- The value is readable ;-)
2015-01-30 22:58:31 +01:00
Frank Morgner
46024daf22 close socket on error 2015-01-28 23:07:30 +01:00
Frank Morgner
feebfe7a74 fixed potentially dereferencing null pointer 2015-01-25 04:00:31 +01:00
Frank Morgner
f03760e27e suppress warning of unclosed fd 2015-01-25 04:00:31 +01:00
Frank Morgner
94dbdd5405 fixed freeing context on exit 2015-01-25 04:00:31 +01:00