Commit Graph

1161 Commits

Author SHA1 Message Date
psytester
2c135644ce Some ATR values for nPA OS
different ATR (Answer To Reset) values depending on used Chip version
It's just a playground, because in past eID client 'Open eCard App' did not recognize the card correctly with newest ATR values.
2014-10-23 20:13:27 +02:00
Frank Morgner
0cc19fe1f0 Merge pull request #29 from psytester/patch-5
DG13 = Birth Name
2014-10-22 21:23:37 +02:00
Frank Morgner
0530dd540c Merge pull request #28 from psytester/patch-4
since some new nPA version: DG13 = Birth Name
2014-10-22 21:22:19 +02:00
psytester
d4718b0c1b DG13 = Birth Name 2014-10-22 20:08:22 +02:00
psytester
666396e705 since some new nPA version: DG13 = Birth Name 2014-10-22 20:04:03 +02:00
Frank Morgner
4bc1a37c4e use enableReaderMode if possible 2014-10-03 12:50:53 +02:00
Frank Morgner
e6e6518650 clouds are for internet 2014-10-03 00:47:29 +02:00
Frank Morgner
784d1fbef4 added links to sub components 2014-10-03 00:47:29 +02:00
Frank Morgner
4958cde4d8 fixed missing initialisation 2014-10-02 11:13:13 +02:00
Frank Morgner
3ca879fafa updated app version 2014-10-01 01:11:33 +02:00
Frank Morgner
61fa2f444e Added clear button for Log 2014-10-01 01:11:33 +02:00
Frank Morgner
f056eca72a Added copy button for Log 2014-10-01 01:11:33 +02:00
Frank Morgner
66370d2bbc don't use compatibility libraries from Android L
google's hardcoded internal values conflict with minsdkversion=11, see
https://code.google.com/p/android/issues/detail?id=72430

fixes #24
2014-09-29 22:19:10 +02:00
Frank Morgner
22953bf9dc automatic changes from updating android studio 2014-09-29 06:59:52 +02:00
Frank Morgner
26e5411158 always connect() when creating NFCReader
removes SCReader.present() as it was never used

fixes #21
2014-09-29 07:29:28 +02:00
Frank Morgner
7dd1dfee91 disable screen locking when the app is running
fixes #22
2014-09-29 07:18:56 +02:00
Frank Morgner
0d8d325f12 slightly better ui messages 2014-09-26 02:46:21 +02:00
Frank Morgner
bb6f28a9fa fixed halucinated tag when resuming the app 2014-09-26 02:44:56 +02:00
Frank Morgner
1bcfd0c795 fixed description 2014-09-25 20:35:34 +02:00
Frank Morgner
2721cd3afb don't disconnect from tag on reset or poweroff
fixes #21
2014-09-25 09:09:48 +02:00
Frank Morgner
6b5b1a0c29 allow fid of ef.dir and ef.atr for file creation 2014-09-15 21:23:01 +02:00
Frank Morgner
c75f32d426 nPA: fixed short fid for ef.dir 2014-09-15 21:22:42 +02:00
Frank Morgner
0aa531f25b allow TA without PACE 2014-09-15 07:26:12 +02:00
Frank Morgner
1b011b6974 nPA: added EF.DIR to fool Open eCard App 2014-09-15 07:25:33 +02:00
Frank Morgner
04d26c376c vpcd-config: added scripts for windows builds 2014-09-12 07:58:44 +02:00
Frank Morgner
75137a3e59 added info about vpcd-config 2014-09-12 19:46:57 +02:00
Frank Morgner
28c8b3c719 fixed memory leak 2014-09-09 00:30:22 +02:00
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