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.
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.
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.
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.