Commit Graph

1610 Commits

Author SHA1 Message Date
Frank Morgner
66719f3bf0 ACardEmulator: release 3.4 2020-05-18 21:10:33 +02:00
Frank Morgner
920bc701c9 fixed obsolete reference to Hello world applet
fixes https://github.com/frankmorgner/vsmartcard/issues/163
regression from 1caff4f497
2020-05-18 21:08:11 +02:00
Frank Morgner
feeb732810 Merge pull request #151 from micolous/macos-sip
(partially) fix macOS 10.14/Xcode 11.0 compile and install issues
2020-04-29 01:38:41 +02:00
Frank Morgner
93999d1dd5 Merge pull request #164 from dpward/master
Use static libopensc in ccid-emulator, and improve build process
2020-04-25 23:04:05 +02:00
David Ward
4c6ed401f0 Update .gitmodules
Remove a duplicate submodule for vJCRE in the top-level directory.
Use the upstream repository for OpenSC. Re-order the submodules.
2020-04-11 10:09:27 -04: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
David Ward
f5c19b66fd Fix final output from ./configure
AC_OUTPUT needs to be called before the final output is printed.
2020-04-11 10:09:27 -04:00
David Ward
5f557d89ae ccid-emulator: Update AX_PTHREAD macro from Autoconf Archive 2020-04-11 10:09:27 -04:00
David Ward
58c4e75974 ccid-emulator: Replace unneeded Makefiles 2020-04-11 10:09:27 -04:00
Frank Morgner
edad4b961f appveyor: wdk workaround not needed anymore 2019-10-27 00:01:53 +02:00
Frank Morgner
773a440b4a fixed location of vJCRE submodule 2019-10-06 08:30:11 +02:00
Frank Morgner
3aa0fadace ACardEmulator version bump 2019-10-03 00:08:58 +02:00
Frank Morgner
4d7503b7d0 Switch to patched version of vJCRE 2019-10-02 23:24:07 +02:00
Frank Morgner
b96e91d8d4 ACardEmulator: version bump 2019-10-01 00:51:08 +02:00
Frank Morgner
1caff4f497 ACardEmulator: Added F-Droid build flavor with FOSS only
- avoid precompiled JARs for JCardSim
- use gradle's shadow plugin to relocate JCardSim's use of Bouncycastle
- removes JCardSim's Hello world applet
- use vJCRE to avoid importing Oracle's api_classic.jar

(We may use vJCRE as full replacement for JCardSim in the future, but
JCardSim is currently the choice with more features and support)
2019-10-01 00:14:13 +02:00
Frank Morgner
e6a42efb6b Revert "use the android build of jcardsim"
This reverts commit b91da67281.
2019-09-26 14:10:13 +02:00
Michael Farrell
9177fe767c remove unsupported i386 toolchain that prevents building with Xcode11 2019-09-22 21:37:16 +10:00
Michael Farrell
52e3e92348 update macOS makefile to reverse path change 2019-09-22 21:33:35 +10:00
Michael Farrell
2b69dc7152 Fix macOS compile and install issue 2019-09-22 21:15:21 +10:00
Frank Morgner
75779ea77a Integrated PIV applet
https://github.com/arekinath/PivApplet
2019-09-10 15:18:25 +02:00
Frank Morgner
6ec798d509 updated location of libnfc
fixes https://github.com/frankmorgner/vsmartcard/issues/145
2019-08-20 15:30:06 +02:00
Frank Morgner
7ccdadc8ac autoconfigure PC/SC on macOS
closes https://github.com/frankmorgner/vsmartcard/issues/144
2019-08-20 10:12:59 +02:00
Frank Morgner
ccc68fdf38 fixed android smart card emulator version code
fixes https://github.com/frankmorgner/vsmartcard/issues/148
2019-08-09 01:47:47 +02:00
Frank Morgner
3d9f19ed15 release Remote Smart Card Reader 2.2 2019-08-09 00:36:55 +02: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
3209ef2261 nPA: fixed Python 2/3 incompatibilities 2019-01-15 14:33:54 +01: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
Rob
d40b203774 Fix cast of APDU res to byte array (aka string) 2018-10-26 13:00:32 +02:00
Dr. Galambos Máté
2c7a8e53b5 Configurable read timeout 2018-10-22 15:17:46 +02:00
Frank Morgner
5082ab09d4 vicc: temporarily drop python3 compatibility for relay
fixes https://github.com/frankmorgner/vsmartcard/issues/129
2018-10-20 04:05:44 +02:00
Frank Morgner
4ea916fef8 pcsc-relay: allow specifying ATR 2018-10-20 03:45:21 +02:00
Frank Morgner
04642a3bfc fixed more Python 3 issues
also fixes the debug output
2018-05-03 22:55:10 +02:00
Frank Morgner
3b7c04c535 added more Python 3 compatibility
fixes https://github.com/frankmorgner/vsmartcard/issues/71
2018-05-03 16:30:08 +02:00
Frank Morgner
ae0d04f8b7 added some Python 3 compatibility 2018-05-02 16:21:44 +02:00
Frank Morgner
0ad9405939 do coverity scan on master 2018-04-12 23:23:53 +02:00
Frank Morgner
fead9531df clearification on autotool usage 2018-03-20 21:22:46 +01:00
Frank Morgner
115cc63005 TCardEmulator: Include more documentation 2018-02-08 17:04:21 +01:00
Frank Morgner
a4420262f0 fixed compiler warnings 2018-02-06 09:54:01 +01:00
Frank Morgner
09b6c5cfb2 vpcd: fixed parsing protocol from ATR 2018-02-06 09:54:01 +01:00
Frank Morgner
a63d35d224 vpcd: allow *extended* length APDUs
- don't predefine any limits on the transceive size
- fixes out of bounds access
2018-02-06 09:53:40 +01:00
Dániel SÜTTŐ
a9482d9f99 Use at least two bytes for filesize in FCP template (#116)
* Fix length of filesize parameter in FCP template

'Number of data bytes in the file' parameters should be represented on
two bytes in FCP.

* Extendable length of filesize parameter in FCP

Increase length of filesize parameter in FCP template if can't be
represented on two bytes.
2018-01-10 23:07:08 +01:00
Dániel SÜTTŐ
b0783bd373 Fix selection by DF name (#118)
DF names shall be globally uniqe within a given card. Selecting by DF
name should be made on card level instead of current DF level.

A new list has been inroduced as a static attribute of MF in order to
track each named DF.

* Prevent prettyprint from infinite recursion

By adding a possible self-pointer to MF prettyprint_anything function
got into an infinite loop. Printing of named DFs has been cut off.
2018-01-10 23:01:56 +01:00
Daniel SUTTO
0f4e79db17 Fix SFID parameter in FCP template
In FCP SFID tag bits 8 to 4 encode the short EF identifier.
2018-01-08 13:03:32 +01:00
Daniel SUTTO
666294b313 Fix missing raise statement before SwError 2018-01-08 12:29:44 +01:00
Frank Morgner
6a0840461c fixed memory leak 2017-12-18 14:37:15 +01:00
Frank Morgner
7059778c26 Build vicc.exe on AppVeyor 2017-11-28 15:05:15 +01:00