Commit Graph

1384 Commits

Author SHA1 Message Date
Frank Morgner
5a6238f397 fixed memory leak 2014-09-07 21:52:45 +02:00
Frank Morgner
2fd62ff431 include auto generated docs for test module 2014-09-07 15:28:18 +02:00
Frank Morgner
9f746a70c8 added vpcd-config 2014-09-07 15:28:14 +02:00
Frank Morgner
2f8ff4a29b added support for configuration URIs
http://frankmorgner.github.io/vsmartcard/remote-reader/README.html?host=1.1.1.1&port=123

https://frankmorgner.github.io/vsmartcard/remote-reader/README.html?host=1.1.1.1&port=123

vpcd://1.1.1.1:123
2014-09-07 14:50:04 +02:00
Frank Morgner
90892cb40f only use built in mechanisms for caching
drops caching of EF.CardAccess and CAN at the driver level. The CAN is
now cached at the PKCS#15 layer.
2014-08-08 14:05:26 +02:00
Frank Morgner
68f59aabc9 implemented npa_logout 2014-08-08 03:54:59 +02:00
Frank Morgner
74d6f6555a Merge pull request #19 from d0/master
Convert most of the remaining tests to unit tests
2014-08-02 22:25:33 +02:00
Dominik
6ac1e0627a Remove PBKDF2 tests 2014-08-01 21:34:00 +02:00
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
Frank Morgner
0c7c034f74 card-npa: free SM data when shutting down the card
fixes memory leak
2014-07-25 00:46:10 +02:00
Frank Morgner
1477f2df3a use OpenSC 0.14.0 2014-07-25 00:46:09 +02:00
Frank Morgner
cb96784ed8 include non exported OpenSC functions 2014-07-25 00:46:09 +02:00
Frank Morgner
b1966b5594 Merge pull request #18 from d0/master
Use the python unittest framework for vpicc
2014-07-24 22:49:06 +02:00
Dominik
9e606bb0d5 Run vpicc unit tests from Travis 2014-07-24 20:53:32 +02:00
Dominik
f4e013f3a0 Moved unit tests to a subpackage 2014-07-24 20:46:59 +02:00
Dominik
4629036944 Merge remote-tracking branch 'upstream/master' 2014-07-24 20:43:02 +02:00
Frank Morgner
18fafc7907 Merge pull request #17 from d0/master
Fix calls to virtualsmartcard.CryptoUtils.append_padding
2014-07-23 22:41:48 +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
9e87dfdceb Merge pull request #16 from d0/master
Fix an incorrect link
2014-07-21 16:46:34 +02:00
Dominik
948daa125d Fix an incorrect link 2014-07-21 07:02:14 +02:00
Frank Morgner
7540e7a9fc added reference to F-Droid 2014-07-20 19:58:43 +02:00
Frank Morgner
22e43d2101 use a short project name 2014-07-10 01:17:18 +02:00
Frank Morgner
d47dcbd882 added github ribbon 2014-07-10 01:05:50 +02:00
Frank Morgner
97045975a3 use current year for date of copyright 2014-07-08 22:00:01 +02:00
Frank Morgner
83c3d3d510 use bootswatch theme for better mobile viewing 2014-07-08 21:59:59 +02:00
Frank Morgner
a53ba4e51c fixed memory handling of boxing asn1 structure 2014-06-30 07:25:48 +02:00
Frank Morgner
d35e8e8de1 commented sc_driver_version of npa pkcs15 emulator 2014-06-27 12:41:17 +02:00
Frank Morgner
23fd1e83f4 set max_send/recv_size 2014-06-27 03:02:30 +02:00
Frank Morgner
b271321d91 fixed parsing of EF.CardAccess and Certificate Description 2014-06-26 07:30:35 +02:00
Frank Morgner
36aa547902 transmittedPin is of type numeric string 2014-06-25 21:57:10 +02:00
Frank Morgner
6d6b60e808 pinID has an INTGER tag 2014-06-25 21:48:31 +02:00
Frank Morgner
2ee0273c09 fixed boxing commands
I misread BSI TR-03119: The context specific data structures are
separately wrapped into octet strings or similar.
2014-06-24 07:46:00 +02:00
Frank Morgner
9f37dca959 working on documentation 2014-06-20 08:32:10 +02:00
Frank Morgner
0bc44e2cb1 added opensc.conf for windows binaries 2014-06-19 22:46:18 +02:00
Frank Morgner
8fe3880f58 documentation about setting OPENSC_CONF 2014-06-19 22:32:06 +02:00
Frank Morgner
800595efff building OpenSC requires its configure script 2014-06-19 21:06:15 +02:00
Frank Morgner
aeb2982cf7 documented nPA card drivers for OpenSC 2014-06-19 08:56:52 +02:00
Frank Morgner
1de9eb8c4f mention Remote Smart Card Reader 2014-06-16 23:01:03 +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
7869ff66cc added remote smart card reader app 2014-06-16 22:52:14 +02:00
Frank Morgner
5b6172acde show ATR of unrecognized cards for npa-tool -i 2014-06-03 09:36:06 +02:00
Frank Morgner
4793d74d32 fixed incorrect mix of uint32_t/unsigned long int 2014-06-02 22:02:59 +02:00
Frank Morgner
4bf88d63a4 ccid: updated guide for building OpenSC 2014-06-01 22:19:28 +02:00