Commit Graph

185 Commits

Author SHA1 Message Date
Ludovic Rousseau
1b75eaa5c6 Fix log message when no reader is found 2021-04-18 14:59:11 +02:00
David Ward
adac6a883f ccid-emulator: Update to use OpenSC 0.20.0 release 2020-04-11 10:09:27 -04:00
David Ward
bc8b237c5a ccid-emulator: Build libopensc from source code
There is no longer an external (or stable) interface for libopensc.
Linking this program with an existing version of libopensc that is
pre-installed in the system library paths is not practical.

However, a specific snapshot of the OpenSC source code is embedded
here as a Git submodule (and included in the source distributions).
Build libopensc from this and statically link it into this program.
(Options such as '--enable-openpace' that are passed to ./configure
will be forwarded to control the build configuration of libopensc.)

Remove code that existed for compatibility when dynamically linking
with older versions of libopensc.
2020-04-11 10:09:27 -04:00
David Ward
c18df66d4c Fix "make dist" without "make all"
Fix prerequisites and Automake variables in the Makefiles, so that
running "make dist" does not fail if the program is not built. When
running help2man, have it execute "gengetopt --show-help" instead
of the built program to obtain the help message.
2020-04-11 10:09:27 -04:00
David Ward
5abc01cf70 Respect Automake silent mode in custom rules 2020-04-11 10:09:27 -04:00
Frank Morgner
c63cc40c34 fixed misuse of realloc
if called with size 0, realloc frees the buffer, which may eventually
lead to a double free corruption.
2019-01-17 15:04:35 +01:00
Frank Morgner
77eb263212 fixed compiler warnings 2016-11-08 14:07:01 +01:00
Frank Morgner
7fe438f98d updated OpenSC
fixes build error due to missing export in OpenSC
2016-11-08 13:56:19 +01:00
Frank Morgner
ee1f538b11 ccid-emulator: removed unused implementation 2016-10-10 13:14:02 +02:00
Frank Morgner
eb4c8a8103 fixed distcheck 2016-10-10 10:33:09 +02:00
Frank Morgner
a8b22f7bef removed npa project
It has been replaced by https://github.com/frankmorgner/OpenSC
2016-10-08 01:14:41 +02:00
Frank Morgner
29dfed5de9 Updated mail address 2015-12-15 16:58:28 +01:00
Frank Morgner
f681ad067a fixed missing reference to sc_sm_stop 2015-07-24 02:25:29 +02:00
Frank Morgner
3b8038398b sm_stop is now part of OpenSC as sc_sm_stop 2015-07-23 23:56:43 +02:00
Frank Morgner
e1443e6357 fixed unused check 2015-01-25 04:08:00 +01:00
Frank Morgner
444b14c8ca fixed bad pointer arithmetic 2015-01-25 03:27:33 +01:00
Frank Morgner
f92d750b39 fixed uninitialized value 2015-01-25 03:27:33 +01:00
Frank Morgner
afe71f59b7 fixed handling max pin length 2015-01-25 03:18:34 +01:00
Frank Morgner
cea6a1d8f5 use absolute path of manuals 2014-11-22 00:33:46 +01:00
Frank Morgner
d97e8d1916 fixed building of manuals 2014-11-21 23:48:47 +01:00
Frank Morgner
28c8b3c719 fixed memory leak 2014-09-09 00:30:22 +02:00
Frank Morgner
1e199d13bf fixed compilation issue 2014-05-27 08:27:01 +02:00
Frank Morgner
9943708510 fixed compiling ccid-emulator without libnpa
fixes #1
2014-04-27 22:24:19 +02:00
Frank Morgner
c8da15c125 added ccid-types.h to headers 2013-07-03 00:39:43 +02:00
Frank Morgner
2b6ba3c3c1 implemented boxing commands for verify/modify
separates type definitions into ccid-types.h to be accessible in libnpa
2013-06-21 08:51:43 +02:00
Frank Morgner
1a97573286 fixed parsing of bNumberMessage and response buffer for boxing error 2013-06-20 21:02:25 +02:00
Frank Morgner
59eaa16c45 include a summary in documentation and tools 2013-06-17 10:03:38 +02:00
Frank Morgner
70d10b9410 cleaned up scutils
- moved write/read_binary_rec to scutil.c
- removed unused handling of card driver
2013-06-13 08:25:11 +02:00
Frank Morgner
10920e0135 fixed pin modification for implicitly given new pin 2013-06-09 23:23:36 +02:00
Frank Morgner
58055517ed implemented boxing commands according to TR-03119 2013-06-09 23:23:36 +02:00
Frank Morgner
31247640b9 adapted to changed names of gadgetfs endpoints 2013-06-09 23:23:36 +02:00
Frank Morgner
532d85ee53 use built-in function to parse pseudo apdu 2013-05-29 22:16:37 +02:00
Frank Morgner
e8fcbdeea5 updated ccid for new version of libnpa 2013-02-18 22:58:06 +01:00
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