Commit Graph

552 Commits

Author SHA1 Message Date
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
Frank Morgner
ae0d04f8b7 added some Python 3 compatibility 2018-05-02 16:21:44 +02: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
21a0d0cf48 BixVReader: Add multi application support for IoRequests (#114)
fixes https://github.com/frankmorgner/vsmartcard/issues/105
2017-11-24 11:20:01 +01:00
Frank Morgner
c95d82c936 vpcd-config: remove windows default libraries
removes clumsy VS project and directly builds on the command line
instead
2017-08-01 16:14:48 +02:00
Santiago Castro
b4b36c8979 Fix broken Markdown headings 2017-04-19 11:59:42 +02:00
Frank Morgner
377774fd65 vicc: catch ctrl-c via KeyboardInterrupt
... and ignore EINT in recv as it may be triggered for various other reasons

fixes https://github.com/frankmorgner/vsmartcard/issues/95
2017-04-05 12:20:20 +02:00
Frank Morgner
3abf29dbda vpcd: removed obsolete build files 2017-03-27 14:58:10 +02:00
Frank Morgner
7c4f4197b0 vpcd: use meaningfull strings for installer 2017-03-27 14:54:15 +02:00
Frank Morgner
26c85f7113 vpcd: fixed filename of WudfUpdate support library 2017-03-27 14:48:33 +02:00
Frank Morgner
7e70c87dde added documentation about TCardEmulator
rebuilt docs with 'pdf2svg' for tizk images
2017-01-16 01:29:58 +01:00
Frank Morgner
df93f67299 Updated documentation 2017-01-08 23:02:30 +01:00
Frank Morgner
c0d979975d updated docs about vpcd's msi 2017-01-05 00:13:05 +01:00
Nick Russler
de515d80d2 Add MSI installer for win32 virtualsmartcard.
Also ignore temporary VS artifacts and removes conflicting snprintf definition with standard definition
2016-11-12 00:16:36 +01:00
Frank Morgner
6b13057200 updated documentation
- use a more compact summary
- remove libnpa from the navigation
2016-10-12 17:37:00 +02:00
Frank Morgner
eb4c8a8103 fixed distcheck 2016-10-10 10:33:09 +02:00
Frank Morgner
d1cd0ea379 less clutter in documentation
- distribute HTML documentation in master branch
- use MD files in project directories for GitHub
- removed some unused autotools files
2016-10-10 10:33:05 +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
fd8ae7c7c8 Merge pull request #78 from d0/no_serialization
Remove serialization support
2016-05-15 17:32:03 +02:00
Frank Morgner
0d1977fc1a print QR code in case of reversed mode 2016-04-15 11:11:15 -04:00
Dominik
41bd7ab105 Remove serialization support 2016-04-10 19:31:24 +02:00