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
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
Dominik
de683869b4
Refactored the python files in the cards directory according to PEP8
2016-03-19 10:04:16 +01:00
Dominik
33dc00e175
Fix broken function SmartcardSAM.set_asym_cipher
2016-03-19 07:35:15 +01:00
Dominik
c0bea2cd25
Refactor code according to PEP8
2016-03-13 15:30:15 +01:00
Dominik
08f91685fc
Updated regression tests and simplified code a bit
2016-03-05 13:46:22 +01:00
Dominik
c8f27768a4
Added a regression test for strings generated by the old crypt() implementation
2016-03-03 22:06:08 +01:00
Dominik
82e924811e
Added a regression test for strings generated by the old protect_string() implementation
2016-03-03 21:33:07 +01:00
Dominik
36970a26d7
Replace PBKDF2 class by python stdlib implementation
...
hashlib.pbkdf2_hmac has been backported to Python 2.7 (see PEP 466). In
order to avoid reinventing the wheel and to include less third party
code we switch to the stdlib implementation.
2016-03-02 23:02:59 +01:00
Frank Morgner
76a4a601d8
use z modifier for printing size_t
2016-03-01 14:51:25 +01:00
Frank Morgner
29dfed5de9
Updated mail address
2015-12-15 16:58:28 +01:00
Erik Nellessen
e8076f0f38
Added missing import.
2015-09-28 15:49:45 +02:00
Frank Morgner
42ae85ddb3
Activate Fabio's card backends by default
2015-09-23 07:56:11 +02:00
Frank Morgner
c3ba3ca4a3
Maps sleep to Sleep on Windows
2015-09-20 02:54:40 +02:00
Frank Morgner
d9dfc2c697
Checks for ssize_t
...
Works around the different typedef of ssize_t in MinGW
2015-09-20 02:54:40 +02:00