Commit Graph

1523 Commits

Author SHA1 Message Date
Dusan Klinec
7dc697e608 refactor android app to AndroidX 2021-02-07 16:58:11 +01:00
Frank Morgner
82e68a6339 Merge pull request #181 from betawave/relay-mitm-enhancement
basic Man-in-the-Middle extension to the Relay-Card
2020-10-27 11:06:05 +01:00
Frank Morgner
5cdb51fae8 Merge pull request #180 from betawave/str-bytes-conversion-fix
enable msg to be either string or bytes
2020-10-27 11:05:36 +01:00
Leonard Hübner
71e0f2e8fc basic Man-in-the-Middle extension to the Relay-Card 2020-10-26 17:01:28 +01:00
Leonard Hübner
97194d230d enable msg to be either string or bytes 2020-10-26 16:36:31 +01:00
Frank Morgner
d7d21fa802 Merge pull request #175 from sorcerer86pt/python3_fixes
[vpicc] Python 3 updates and code fixing
2020-09-18 00:15:36 +02:00
sorcerer86pt
83e03a6938 [vpicc] Updaye Appveyor.yml Visual Studio edition comment 2020-09-08 11:07:53 +01:00
fabio rodrigues
cec72cd29a [vpicc] Fix swig download path and use recommended PS applet 2020-08-18 17:05:27 +01:00
fabio rodrigues
d6d8f31645 [vpicc] Fix swig download path and use recommended PS applet 2020-08-18 16:30:35 +01:00
fabio rodrigues
db8d6f2699 [vpicc] update Appveyor with better swig install
choco install of swig only give us the executable, not the libraries needed for package compilation

Best way is to direct download it from sourceforge, extract it to a folder and then add that folder to PATH env variable.
2020-08-18 16:15:52 +01:00
fabio rodrigues
9b310f00d3 [vpicc] update Appveyor
Updated AppVeyor with

* Usage of VS2019
* Usage of PyCryptodome
2020-08-18 15:31:40 +01:00
fabio rodrigues
919c13c907 [vpicc] Python 3 linting
Some additional code linting
- remove unused imports
- remove unecessary parenthesis from if statements
- created TLVutils TAG dictionary in creation time
2020-08-18 15:19:23 +01:00
fabio rodrigues
475fad371a [vpicc] Python 3 updates and code fixing
- Use pycryptodome instead of pycrypto
- Fixed some unit tests asserts
- fixed some instances that sending message to vpcd the msg is considered a string object instead of byte array
- make TLVutils.pack work in python 3
2020-08-18 13:12:13 +01:00
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