Commit Graph

1636 Commits

Author SHA1 Message Date
Dominik
33dc00e175 Fix broken function SmartcardSAM.set_asym_cipher 2016-03-19 07:35:15 +01:00
Frank Morgner
aa82e78ce7 Merge pull request #75 from d0/master
Remove bitbake files
2016-03-19 00:21:52 +01:00
Dominik
d882ef0fdc Remove bitbake files 2016-03-18 22:43:25 +01:00
Frank Morgner
3c61d1926d Merge pull request #74 from d0/pep8
Refactor code according to PEP8

Fixes https://github.com/frankmorgner/vsmartcard/issues/72
2016-03-17 00:27:27 +01:00
Dominik
c0bea2cd25 Refactor code according to PEP8 2016-03-13 15:30:15 +01:00
Frank Morgner
82db5fb5ec added ISSUE_TEMPLATE 2016-03-11 21:00:40 +01:00
Dominik
83047f139a Install PyCrypto via pip for Travis CI build
PyCrypto is currently not available when running the vpicc unittest so
the tests fails. In order to run the tests sucessfully we install
PyCrypto via pip. This only works only works on linux and only when not
using mingw32-gcc.
2016-03-07 01:58:26 +01:00
Frank Morgner
d813ce0cc9 updated OpenSC 2016-03-07 01:56:51 +01:00
Frank Morgner
5bbd645817 Merge pull request #73 from d0/master
Updated regression tests and simplified code a bit
2016-03-07 01:56:17 +01:00
Dominik
08f91685fc Updated regression tests and simplified code a bit 2016-03-05 13:46:22 +01:00
Frank Morgner
9d6d39cf83 Merge pull request #69 from d0/master
Replace PBKDF2 class by python stdlib implementation
2016-03-04 06:48:30 +01:00
Dominik
c8f27768a4 Added a regression test for strings generated by the old crypt() implementation 2016-03-03 22:06:08 +01:00
Dominik
82e924811e Added a regression test for strings generated by the old protect_string() implementation 2016-03-03 21:33:07 +01:00
Dominik
36970a26d7 Replace PBKDF2 class by python stdlib implementation
hashlib.pbkdf2_hmac has been backported to Python 2.7 (see PEP 466). In
order to avoid reinventing the wheel and to include less third party
code we switch to the stdlib implementation.
2016-03-02 23:02:59 +01:00
Frank Morgner
76a4a601d8 use z modifier for printing size_t 2016-03-01 14:51:25 +01:00
Frank Morgner
dcf657f343 npa: check if filename to read is non-null
avoids exception on Windows
2016-02-17 08:13:22 +01:00
Frank Morgner
3fe38b0e6d ACardEmulator: added GIDS Applet
http://www.mysmartlogon.com/generic-identity-device-specification-gids-smart-card/
2016-02-10 23:05:22 +01:00
Frank Morgner
74f15ae9ef removed MUSCLE applet
it never worked with OpenSC anyway
2016-02-09 08:11:01 +01:00
Frank Morgner
2caffed6a1 released npa-0.7 2016-01-05 08:17:40 +01:00
Frank Morgner
db255fda46 renamed android distribution directory 2016-01-04 20:11:46 +01:00
Frank Morgner
c54b80a706 Building with PIE for Android 4.1+ 2016-01-04 20:07:51 +01:00
Frank Morgner
62f72d29bc uninstall CV and X.509 certificates 2016-01-04 08:20:53 +01:00
Frank Morgner
83fc417b5f install CVC and X.509 directory if needed 2016-01-04 08:16:27 +01:00
Frank Morgner
9723ef014e added missing files from OpenSC 2016-01-04 08:13:07 +01:00
Frank Morgner
62311c75ca fixed build location of manual files 2016-01-04 08:10:06 +01:00
Frank Morgner
29dfed5de9 Updated mail address 2015-12-15 16:58:28 +01:00
Frank Morgner
6e6c09fc01 fixed wiping SM state when receiving protected APDU 2015-12-11 07:52:21 +01:00
Frank Morgner
855e87fc6d check for list_iterator_next is not needed 2015-11-02 22:13:42 +01:00
Frank Morgner
437ff70e6f again, include source files from OpenSC
(unused) dependencies are satisfied with dummy implementations
2015-11-02 22:13:42 +01:00
Frank Morgner
6d91730ab4 added missing sc_apdu2bytes 2015-11-02 21:44:39 +01:00
Frank Morgner
902afa889b export sc_apdu_set_resp from OpenSC 2015-11-02 21:28:23 +01:00
Frank Morgner
abee9f8853 copy code from OpenSC instead of including its source files 2015-11-02 21:22:55 +01:00
Frank Morgner
d20a879a9c use shield.io for badge images 2015-11-02 20:53:41 +01:00
Frank Morgner
65188183b6 we need sc_apdu_set_resp to avoid including apdu.c 2015-11-02 18:44:37 +01:00
Frank Morgner
de52c73258 updated OpenSC 2015-11-02 18:44:37 +01:00
Frank Morgner
612db6f2f9 scroll vertically only 2015-11-02 16:36:00 +01:00
Frank Morgner
97074650b7 only show help in first run and on request 2015-11-02 16:36:00 +01:00
Frank Morgner
37a4d494b5 added accidently deleted icon files
regression of a1026c43c5
2015-09-29 22:22:02 +02:00
Frank Morgner
d7c5495b83 updated build tools 2015-09-29 22:22:02 +02:00
Frank Morgner
e6e480d48b Merge pull request #64 from eriknellessen/master
Added missing import.
2015-09-29 20:28:21 +02:00
Erik Nellessen
e8076f0f38 Added missing import. 2015-09-28 15:49:45 +02:00
Frank Morgner
42ae85ddb3 Activate Fabio's card backends by default 2015-09-23 07:56:11 +02:00
Frank Morgner
a02bcb2a0c Compiles vpcd-config with VC in AppVeyor 2015-09-21 11:30:39 +02:00
Frank Morgner
c3ba3ca4a3 Maps sleep to Sleep on Windows 2015-09-20 02:54:40 +02:00
Frank Morgner
d9dfc2c697 Checks for ssize_t
Works around the different typedef of ssize_t in MinGW
2015-09-20 02:54:40 +02:00
Frank Morgner
b1b7616c24 Cross compiles for Win64 with travis 2015-09-19 02:40:51 +02:00
Frank Morgner
57d55c8776 Removes definition of BOOL which conflicts with mignw 2015-09-18 08:47:04 +02:00
Frank Morgner
da6e2109d6 Adds initial AppVeyor configuration
builds vpcd for Windows
2015-09-18 15:22:40 +02:00
Frank Morgner
a23913ff9c Uses %Ix instead of %x
Fixes compiler warning about implicit type conversion on 64 bit machine
2015-09-18 15:22:40 +02:00
Frank Morgner
16ee860a66 Fixes windows warning about casting on x64 2015-09-18 15:22:35 +02:00