Commit Graph

578 Commits

Author SHA1 Message Date
Frank Morgner
4b872bb000 vicc: debug parsed APDU
closes https://github.com/frankmorgner/vsmartcard/pull/103/
2022-05-06 12:24:03 +02:00
Frank Morgner
fe5977bc39 vicc: use logging.critical if vicc needs exit() 2022-05-06 11:57:23 +02:00
Frank Morgner
1e5731fb0e vicc: debug incoming commands as well 2022-05-06 11:53:05 +02:00
Frank Morgner
a982efd8c5 ePass: Python 3 compatibility 2022-02-02 16:36:27 +01:00
Frank Morgner
ccb482cfe9 ePass: documented BAC test 2022-02-02 16:35:50 +01:00
Frank Morgner
98bd7a0c8e virtualsmartcard: fixed more python3 compatibility 2022-02-01 14:21:48 +01:00
Frank Morgner
0a8b6575fb fixed link to binaries as they are available for bot 32 and 64 bit 2022-01-28 18:20:12 +01:00
Frank Morgner
9367685a7b virtualsmartcard: added documentation about driver signing
fixes https://github.com/frankmorgner/vsmartcard/issues/156
2022-01-28 18:17:51 +01:00
Frank Morgner
be6d6e2f73 virtualsmartcard: added missing include
fixes https://github.com/frankmorgner/vsmartcard/issues/138
2022-01-28 00:06:56 +01:00
Frank Morgner
af028aa8c3 virtualsmartcard: fixed some python3 compatibility
fixes https://github.com/frankmorgner/vsmartcard/issues/200
2022-01-27 22:46:12 +01:00
Guinness
82c0c4fdd2 Fallback to hashlib instead of deprecated libs 2022-01-21 14:38:30 +01:00
nagyi
1f497d3d03 Added firewall rule to installer 2022-01-12 09:27:17 +01:00
Frank Morgner
9284766532 Don't use ASN.1 data as ASN.1 tuple for encoding
fixes https://github.com/frankmorgner/vsmartcard/issues/209
2021-11-02 14:14:24 +01:00
Frank Morgner
ee0929d8f3 print python location 2021-09-20 14:44:38 +02:00
Jakub Jelen
e8be94964b vpcd: Initialize variable also on Windows
This should fix the appveyor build failure:

C:\projects\vsmartcard\virtualsmartcard\src\vpcd\vpcd.c(183): error C4700: uninitialized local variable 'rfds' used [C:\projects\vsmartcard\virtualsmartcard\win32\BixVReader\BixVReader.vcxproj]
2021-08-26 10:15:39 +02:00
Jakub Jelen
8d34ee42c7 vpcd: Fix timeout calculation
Authored by Doug Engert <deengert@gmail.com>
2021-08-23 15:31:05 +02:00
Jakub Jelen
f611240fba vpcd: Initialize variables
This caused OpenSC CI failing as described in

https://github.com/OpenSC/OpenSC/issues/2390

Authored by Doug Engert <deengert@gmail.com>
2021-08-23 15:29:36 +02:00
Bowb
cebe05e78d Update vpcd.c
FIXES #193
2021-08-09 14:47:38 -06:00
Frank Morgner
4658f86108 fixed syntax error in python 2.7 2021-04-28 17:56:06 +02:00
Frank Morgner
a053f1aecd let distcheck pass 2021-04-28 16:00:15 +02:00
Frank Morgner
27b3dfb62b regenerated documentation 2021-04-28 02:13:40 +02:00
Frank Morgner
29a818c69a avoid sphinx's option warning 2021-04-28 02:12:50 +02:00
Frank Morgner
3b2b73bd22 virtualsmartcard: don't publish python API 2021-04-28 02:12:05 +02:00
Frank Morgner
17674458e8 updated target to Windows 10 SDK 10.0.18362 2021-04-26 23:34:14 +02:00
Ludovic Rousseau
3324167331 Fix handler_test URL 2021-04-17 18:48:21 +02:00
Ludovic Rousseau
c05106aa12 Update PCSC-lite URL
The website moved from alioth.debian.org to apdu.fr
2021-04-17 18:44:41 +02:00
Ludovic Rousseau
4dad08c4f6 README.md: update PCSC-lite URL
The web site moved from alioth.debian.org to apdu.fr
2021-04-17 18:19:47 +02:00
Dusan Klinec
bf9bc6a547 fix osx package build 2021-02-09 19:36:42 +01:00
Dusan Klinec
91b9c63847 fix build instructions for OSX 2021-02-09 16:04:47 +01:00
Dusan Klinec
f17c83ab50 fix configure step on OSX 2021-02-09 15:57:16 +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
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
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
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
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
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
7ccdadc8ac autoconfigure PC/SC on macOS
closes https://github.com/frankmorgner/vsmartcard/issues/144
2019-08-20 10:12:59 +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
Rob
d40b203774 Fix cast of APDU res to byte array (aka string) 2018-10-26 13:00:32 +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
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