25 Commits

Author SHA1 Message Date
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
Frank Morgner
c55d10110f use apt cache and ccache 2019-01-05 07:17:35 +01:00
Frank Morgner
cd31ed38b9 fixed OpenSC compilation 2019-01-04 23:37:32 +01:00
Frank Morgner
0ad9405939 do coverity scan on master 2018-04-12 23:23:53 +02:00
Frank Morgner
9c9c06cd9a travis-ci: reworked dependencies
- don't use OpenPACE on cross compile builds
- build pcsc-relay for windows
- clone repositories only when needed
2017-03-22 12:58:33 +01:00
Frank Morgner
bfda86867e travis CI: virtualsmartcard requires OpenPACE 2016-11-02 23:42:54 +01:00
Frank Morgner
15a5dd74c9 Coverity: Scan on master 2016-10-10 12:30:56 +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
e88d7f211b travis: allow cross compiled windows build to fail
Travis appears to be building only a static version of OpenSSL. Thus,
the compile error can be fixed by adding "-lgdi32" to CRYPTO_LIBS.
However, we don't want to change this to just satisfy CI.
Unfortunately, I was not able to reproduce this problem on my machine to
examine the root cause.
2016-05-25 16:52:00 +02: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
902afa889b export sc_apdu_set_resp from OpenSC 2015-11-02 21:28:23 +01:00
Frank Morgner
b1b7616c24 Cross compiles for Win64 with travis 2015-09-19 02:40:51 +02:00
Frank Morgner
7ce8f53b84 activate windows cross compilation 2015-08-22 00:22:41 +02:00
Frank Morgner
1b4139adff activate clang 2015-08-13 09:21:38 +02:00
Frank Morgner
1ebd92f8b9 another fixup 2015-01-27 05:03:09 +01:00
Frank Morgner
8187dbbb15 an other fixup 2015-01-26 22:04:26 +01:00
Frank Morgner
e77fecd601 (hopefully) fixed travis-ci with coverity-scan 2015-01-26 22:00:23 +01:00
Frank Morgner
685443be04 added coverty scan to travis.yml 2015-01-21 09:26:58 +01:00
Dominik
bca1fe3656 Add CardGenerator unit test
Added a first unit test for the CardGenerator class. It currently only contains
one test case for generating a virtual nPA.

In order to use this test some changes to the TravisCI configuration are
required. Especially the OpenPACE python bindings need to be build before
vsmartcard is being tested since the vsmartcard nPA functions use these
bindings.
2014-12-21 15:30:08 +01:00
Dominik
9e606bb0d5 Run vpicc unit tests from Travis 2014-07-24 20:53:32 +02:00
Dominik
ac259067ca Go back to the project root after building libnpa 2014-06-01 12:12:14 +02:00
Dominik
10104b090a Build libnpa during TravisML tests 2014-06-01 12:01:53 +02:00
Dominik
67e5407f8d Fix OpenSC compilation for TravisML tests 2014-06-01 09:33:47 +02:00
Dominik
8a41456889 Explicitly set OPENSSL_CFLAGS and OPENSSL_LIBS for ccid 2014-05-14 04:14:54 +02:00
Dominik
dfe6cd50c1 Add a basic .travis.yml file for automated testing 2014-05-02 18:10:27 +02:00