Commit Graph

1469 Commits

Author SHA1 Message Date
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
Frank Morgner
790ea80fb7 use HCE mode of Samsung Accessories for emulation 2016-11-30 08:15:25 +01:00
Frank Morgner
818d5a0254 AppVeyor: Upload vpcd as built artifact 2016-11-17 23:12:19 +01:00
Nick Russler
6ca71d8a65 Add CI build for vpcd-config to appveyor config 2016-11-12 00:16:36 +01:00
Nick Russler
493d48c5aa Update appveyor
Build the driver, the devmsi library and the msi with Visual Studio 2015.
2016-11-12 00:16:36 +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
77eb263212 fixed compiler warnings 2016-11-08 14:07:01 +01:00
Frank Morgner
7fe438f98d updated OpenSC
fixes build error due to missing export in OpenSC
2016-11-08 13:56:19 +01:00
Frank Morgner
bfda86867e travis CI: virtualsmartcard requires OpenPACE 2016-11-02 23:42:54 +01:00
Frank Morgner
126ee74f4b removed obsolete picc.py
Closes https://github.com/frankmorgner/vsmartcard/issues/85
2016-11-01 02:31:25 +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
ee1f538b11 ccid-emulator: removed unused implementation 2016-10-10 13:14:02 +02:00