Commit Graph

152 Commits

Author SHA1 Message Date
frankmorgner
78fd66c8b5 fixed clang --analyze warnings
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@780 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 12:10:44 +00:00
frankmorgner
6394a961c2 fixed clang compiler warnings
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@779 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 11:49:31 +00:00
frankmorgner
da0b1d02e7 minor improvements of the manpages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@767 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-12 01:04:46 +00:00
frankmorgner
b90c6b5ed2 fixed distribution of opensc headers
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@761 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 20:05:30 +00:00
frankmorgner
c8fcb5c36e use macro for sed im makefiles
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@755 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:49:34 +00:00
frankmorgner
3ce000b846 removed reference to pcscutil.h, which is now part of pcsc-relay
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@742 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 22:18:28 +00:00
frankmorgner
cc23508082 stringify_error now returns a string instead of printing the error
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@741 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 22:15:57 +00:00
frankmorgner
b85a8d4613 use help2man to generate minimal man pages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@739 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 03:47:53 +00:00
frankmorgner
931f51e2f1 switched to command line handling with gengetopt
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@737 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 01:18:18 +00:00
frankmorgner
e5b947f3ab follow symbolic links when searching for openscs header files
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@724 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-26 22:19:30 +00:00
frankmorgner
5ad4fdfcdf get ef.cardaccess on demand. newer versions of ausweisapp dont screw this up anymore.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@718 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-17 18:43:51 +00:00
frankmorgner
2ed6a468fc using patched OpenSC enabled with PACE to use the reader's capabilities
sourcecode can be fetched from here https://github.com/frankmorgner/OpenSC


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@696 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-25 15:04:52 +00:00
frankmorgner
5088c7daa2 added chat for signature terminal and some error codes
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@614 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-04 13:43:13 +00:00
frankmorgner
a75ae8a2bd handling certificate description and chat in libnpa instead of ccid-emulator
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@534 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-20 21:22:32 +00:00
frankmorgner
85158c9ed9 checking certificate description on pso:verify certificate
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@533 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-20 20:12:50 +00:00
frankmorgner
93d727841e dumping chat
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@532 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-20 19:41:31 +00:00
frankmorgner
d8e2eb9afc dumping certificate description
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@531 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-20 19:36:32 +00:00
frankmorgner
dc3164422a added ugly hack to support changing the eID-PIN with AusweisApp
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@529 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-14 14:24:30 +00:00
frankmorgner
b66134e000 fixed parsing of modification input
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@528 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-14 14:07:28 +00:00
frankmorgner
84d609ea51 - new pin was not included in apdu for pin modification (fixed)
- added support for modification/verification apdus from the host that don't contain any data. the reader automatically allocates the correct number of bytes for the pin(s) and modifies apdu's case and lc.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@521 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 22:14:38 +00:00
frankmorgner
0f979c9563 fixed problems parsing pin modification data structure
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@520 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 19:29:10 +00:00
frankmorgner
e1e359b440 fixed bugs for pin modification
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@519 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 15:38:01 +00:00
frankmorgner
59b8a9b0da fixed bugs due to new version of opensc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@517 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-02 13:48:17 +00:00
frankmorgner
495022b38a - added openssl debug code to ccid emulator
- fixed some bugs due to changes in recent opensc version
- added support for changing pin via standard leser


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@511 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-30 15:55:40 +00:00
frankmorgner
0fdb1004eb returning default strings on selection of wrong language
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@481 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 10:52:45 +00:00
frankmorgner
8176a7fdf0 fixed potential buffer overflow when parsing input
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@476 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-02 09:04:29 +00:00
frankmorgner
d3b7dd4dac switched to opensc 0.12.1, where build_apdu has been accepted as sc_bytes2apdu
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@433 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 21:14:28 +00:00
frankmorgner
dea6b519ac added support for GetReaderInfo of BSI TR-03119
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@432 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 20:04:16 +00:00
frankmorgner
319e571cee - bugfix to be conform to OpenPACE API
- added consistency checks for lengths of APDUs


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@431 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 18:54:09 +00:00
frankmorgner
8e91433b98 fixed generation of distribution file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@414 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 21:48:14 +00:00
frankmorgner
a1796eb535 adapted to the latest changes of libnpa
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@413 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 21:35:37 +00:00
frankmorgner
02b770e6b8 added mingw compatibility
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@411 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-08 14:03:38 +00:00
frankmorgner
24b13a0700 building clean distribution file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@404 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-02 19:06:35 +00:00
frankmorgner
8cd77084cc renamed libpace to libnpa
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@403 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-02 18:49:14 +00:00
frankmorgner
ddbf72ee2e getting opensc only once
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@402 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-01 19:07:15 +00:00
frankmorgner
29fdf375e9 linking against opensc now as shared library
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@394 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-31 11:51:31 +00:00
frankmorgner
90c2dc4cce - fixed memory corruption when getting ef.cardaccess
- minor changes in build process with libopensc


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@391 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-16 23:34:08 +00:00
frankmorgner
21bf0cda9d optimized makefile-targets
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@390 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-16 01:21:48 +00:00
frankmorgner
0a4782842b - added customization via OPENSC_CONFIGURE
- changed information regarding opensc
- fixed pkg-config file


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@389 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-15 10:43:52 +00:00
frankmorgner
da44cd7f86 - fixed problem when powering the card
- removed unused code that had to do with slot-complexity


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@387 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-15 00:35:52 +00:00
frankmorgner
19f8608712 supporting only one slot due to new opensc limitations
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@386 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-14 22:31:26 +00:00
frankmorgner
79dc468cc5 switched to opensc.0.12.0. note that this has some issues when linking against both libnpa and the opensc libraries at the same time. readme information would be usefull for this...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@385 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-14 14:24:04 +00:00
frankmorgner
4ea57cde33 type of secret can be specified via command line
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@383 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-13 10:29:25 +00:00
frankmorgner
40d2c10333 fixed build with pcsc-lite
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@377 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-10 18:50:21 +00:00
frankmorgner
d4be5cfad1 Fix build with visual studio
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@376 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-10 18:45:04 +00:00
frankmorgner
d286f16ef7 adapted to the latest changes of libpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@375 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-08 15:11:26 +00:00
frankmorgner
a729290836 added missing file
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@367 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-07 15:50:59 +00:00
frankmorgner
c0dfd5ff7e linking against libopensc not easily possible. we need to remove this dependancy
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@366 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-12-07 15:48:33 +00:00
frankmorgner
96881e3f2d fixed compiling for windows
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@365 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-22 09:48:43 +00:00
frankmorgner
bad4d94312 removed/replaced remains of libpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@361 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-15 09:27:05 +00:00