Commit Graph

400 Commits

Author SHA1 Message Date
Dominik
6ea23f5606 Fix the rest of the Security Environment unit tests
This patch fixes the remaining Security Environment test cases so that
they will at least run. This has already turned up some
strange/inconsistent behaviour in the Security_Environment class and at
least one bug (incorrect usage of the bertlv_pack function in the
generate_public_key_pair method).
2014-08-01 21:10:51 +02:00
Dominik
ab26133ff7 Fix one of the SE test cases
The SE API has changed so that all the old tests will need to be fixed.
This is the first step in this direction.
2014-08-01 20:29:01 +02:00
Dominik
a23f6cdedf Add license header to tests and fix formating 2014-07-31 20:38:42 +02:00
Dominik
d73bab9860 Clean up PBKDF2 class
We currently include the PBKDF2 implementation from the PyCrypto author.
This patch removes some of the stuff we do not use and need. In the
future we should move to the PBKDF2 implementation that is nowadays included
in PyCrypto to clean up the code even more.
2014-07-31 20:32:22 +02:00
Dominik
60ce645d33 Use the python unittest framework for tests of utils.py 2014-07-31 20:30:28 +02:00
Dominik
f4e013f3a0 Moved unit tests to a subpackage 2014-07-24 20:46:59 +02:00
Dominik
2053648dd0 Bump the year in the header 2014-07-23 22:02:56 +02:00
Dominik
25d751c91d Convert existing unit tests to the python unittest framework 2014-07-23 22:00:51 +02:00
Dominik
9c53f1bbf4 Fix calls to virtualsmartcard.CryptoUtils.append_padding
The interface to append_padding changed some time ago but not all calls
have been adapted yet.
2014-07-23 21:49:12 +02:00
Frank Morgner
9f37dca959 working on documentation 2014-06-20 08:32:10 +02:00
Frank Morgner
5a76118e34 allow connections from any host 2014-06-16 22:52:17 +02:00
Frank Morgner
f84a398f91 added documentation about remote reader 2014-06-16 22:52:14 +02:00
Frank Morgner
4793d74d32 fixed incorrect mix of uint32_t/unsigned long int 2014-06-02 22:02:59 +02:00
Frank Morgner
142df850b0 fixed missing delimiter for reader array 2014-05-29 20:44:03 +02:00
Frank Morgner
31dbdd8dd7 openpace's python bindings were renamed to eac.py 2014-05-28 22:07:30 +02:00
Frank Morgner
40638afe31 fixed running without a given dataset 2014-05-28 22:07:04 +02:00
Frank Morgner
e89a7f0d72 README cleanup 2014-05-26 23:23:50 +02:00
Frank Morgner
0df695f4bc don't treat compiler warnings as errors 2014-05-26 22:32:09 +02:00
Frank Morgner
ebdb207a6b fixed indentation 2014-05-26 22:17:35 +02:00
Frank Morgner
5c05556f54 Merge branch 'psytester-patch-1' 2014-05-26 22:13:52 +02:00
Frank Morgner
0de33c842b moved example dataset to npa-example-data 2014-05-26 22:08:52 +02:00
Frank Morgner
47a09c5250 moved --datasetfile to nPA group 2014-05-26 22:03:43 +02:00
Frank Morgner
2b6a666fc3 Merge branch 'psytester-patch-2' 2014-05-26 22:00:52 +02:00
Frank Morgner
a723b738f9 added version from original libpcsclite 2014-05-26 21:56:34 +02:00
psytester
5da3add277 README.txt.in update for Windows 8
added another comment, since beginning with Windows 8 code signing is mandatory
2014-05-20 22:23:09 +02:00
psytester
adc4768a09 Merge pull request #1 from psytester/master
part 2 for new option to read dataset file
2014-05-19 22:04:52 +02:00
psytester
4d7b9dfbb6 example dataset file
An example how th new dataset file has to look like
2014-05-19 21:45:56 +02:00
psytester
c411deeb2e VirtualSmartcard new option for dataset
pass dataset file to CardGenerator
2014-05-19 21:43:08 +02:00
psytester
9768b2fbb4 CardGenerator can use input from dataset file
see new option in vicc, which will pass the dataset file content to CardGenerator
2014-05-19 21:35:10 +02:00
psytester
c070394f82 vicc reads dataset file
That new option -d <dataset file> or --datasetfile <dataset file> will read an optional dataset file to be able to start vicc->CardGenerator.py with various content
2014-05-19 21:26:40 +02:00
psytester
02f08646f4 Readme.txt.in added hints for vpcd on Windows
some details how to get build vpcd on Windows 64 bit
2014-05-09 21:02:43 +02:00
Dominik
63e98e8084 Update more links to the old repository 2014-05-01 23:24:18 +02:00
Frank Morgner
1d47e52b60 moved project home to github 2014-04-18 00:59:54 +02:00
Frank Morgner
8abb64e519 use a separate directory for ifd-vpcd and pcsclite-vpcd 2014-03-31 23:46:15 +02:00
Frank Morgner
0aec0e4d31 vpcd: added real thread safety 2014-03-31 22:59:59 +02:00
Frank Morgner
ac3b70f4d1 updated documentation 2014-03-26 21:47:27 +01:00
Frank Morgner
8f77abdc00 vpcd win32: fixed race condition 2014-03-26 17:47:50 +01:00
Frank Morgner
a1131dd83a fixed installation guide for vpcd on Windows 2014-03-26 01:08:22 +01:00
Frank Morgner
8fd63744e8 updated documentation 2014-03-26 00:58:17 +01:00
Frank Morgner
dcd9ff928c added documentation about Windows driver 2014-03-26 00:00:54 +01:00
Frank Morgner
bef01d2a31 Migrated to new Version of Flavio's Windows driver 2014-03-25 23:25:53 +01:00
Frank Morgner
e15307d662 added windows version of vpcd driver
based on Fabio Ottavi's UMDF Driver for a Virtual Smart Card Reader, see
http://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtual-Smart-Card-Reader
2014-03-20 01:20:34 +01:00
Frank Morgner
151f3fe3da correctly initialize winsock 2014-03-18 23:27:01 +01:00
Frank Morgner
c9aed4f5aa fix return code for blocked PIN 2014-02-28 23:20:02 +01:00
Frank Morgner
54e71a1028 use a 10 digit puk 2014-02-28 23:12:26 +01:00
Frank Morgner
6ad3f6070c return remaining tries of PIN verification in MSE:Set AT 2014-02-28 22:29:29 +01:00
Frank Morgner
9b40f70ad8 use a correct mrz by default 2014-02-23 01:16:53 +01:00
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