Commit Graph

1480 Commits

Author SHA1 Message Date
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
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
Frank Morgner
d1f8dc734c ACardEmulator: Version bump 2017-07-18 10:15:52 +02:00
Frank Morgner
b312487b3e better error messages when Gear is not available
Closes https://github.com/frankmorgner/vsmartcard/issues/106
2017-07-18 08:57:11 +02:00
Frank Morgner
be10101028 updated build environment 2017-07-18 08:26:35 +02:00
Frank Morgner
51bd1893a2 replace unused NFC selection
Instead, tell the user to fix the nfc emulation requirements, e.g.
installing samsung gear plugin or enabling the nfc settings.
2017-07-18 08:23:24 +02:00
Santiago Castro
b4b36c8979 Fix broken Markdown headings 2017-04-19 11:59:42 +02:00
Frank Morgner
29142adae3 fixed configure check for libnfc
decouples tests of libnfc from pcsc
2017-04-06 17:01:18 +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
9c9c06cd9a travis-ci: reworked dependencies
- don't use OpenPACE on cross compile builds
- build pcsc-relay for windows
- clone repositories only when needed
2017-03-22 12:58:33 +01:00
Frank Morgner
837a54744a pcsc-relay: added compatibility with Apple's PC/SC 2017-03-21 22:22:06 +01:00
Frank Morgner
c2b90a0f10 pcsc-relay: Made libnfc optional 2017-03-02 15:50:16 +01: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
7c1f8f2a7e Merge branch 'GearS2' 2017-01-15 20:42:15 +01:00
Frank Morgner
df93f67299 Updated documentation 2017-01-08 23:02:30 +01:00
Frank Morgner
564b939078 rebuilt docs 2017-01-05 00:14:10 +01:00
Frank Morgner
c0d979975d updated docs about vpcd's msi 2017-01-05 00:13:05 +01:00
Frank Morgner
df2bb0312b updated docs about ACardEmulator+pcsc-relay 2017-01-05 00:12:24 +01:00
Frank Morgner
9e3dc7b89b don't depend on APK signing
removes authentication and secure data transfer between ACardEmulator
and TCardEmulator
2016-12-01 10:16:44 +01:00
Frank Morgner
372c364b02 fixed compilation problems 2016-11-30 08:29:50 +01:00
Jan-Christopher Pien
3501843159 Let ACardEmulator provide installed AIDs 2016-11-30 08:29:50 +01:00
Jan-Christopher Pien
dae5622992 Fix build.gradle keystore file property 2016-11-30 08:29:50 +01:00
Jan-Christopher Pien
9c758ffda0 Authentication for ACardEmulator/TCardEmulator
secure sending and with high priority
2016-11-30 08:29:37 +01:00
Jan-Christopher Pien
45273626eb Register AIDs (stub) 2016-11-30 08:23:53 +01:00
Jan-Christopher Pien
f2a68c95c1 Refactor connecting to SAP service and sending messages in queue
Sending and receiving works correctly, however establishing an SAP connection takes too long
2016-11-30 08:23:53 +01:00
Frank Morgner
023550ac11 Update .gitignore 2016-11-30 08:23:53 +01:00
Frank Morgner
dfead89d0a added Tizen Smart Card Emulator
as companion for Android Smart Card Emulator to allow using the
Accessories' HCE mode instead of the phone's hardware.
2016-11-30 08:15:25 +01:00