Commit Graph

63 Commits

Author SHA1 Message Date
Frank Morgner
780cc7c4fa pcsc-relay: allow no-ops when sending/receiving 2024-02-27 10:57:12 +01:00
Frank Morgner
6c17d8e49d fixed type conversion 2021-04-26 17:15:12 +02: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
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
4ea916fef8 pcsc-relay: allow specifying ATR 2018-10-20 03:45:21 +02:00
Frank Morgner
6a0840461c fixed memory leak 2017-12-18 14:37:15 +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
126ee74f4b removed obsolete picc.py
Closes https://github.com/frankmorgner/vsmartcard/issues/85
2016-11-01 02:31:25 +01:00
Frank Morgner
eb4c8a8103 fixed distcheck 2016-10-10 10:33:09 +02:00
Frank Morgner
29dfed5de9 Updated mail address 2015-12-15 16:58:28 +01:00
Frank Morgner
6dfab7fbf1 pcsc-relay: fixed handling ATR for vpcd emulator 2015-03-18 07:54:44 +01:00
Frank Morgner
798fb9ba0d allow setting hostname/port for vpcd/vicc interfaces 2015-03-18 07:30:03 +01:00
Frank Morgner
65f7d92a7f use ACardEmulator as nfc backend for pcsc-relay
This feature is experimental and disabled by default

At ACardEmulator's compile time it is required:
- to add the correct application identifier to aid_list.xml
- enable the connection to pcsc-relay by setting useVPCD
2015-03-14 16:13:59 +01:00
Frank Morgner
03e4a2d64e removed old comments 2015-03-14 00:53:15 +01:00
Frank Morgner
7f986c3407 fixed compiler warning 2015-03-14 00:20:46 +01:00
Frank Morgner
c7ca4bad48 handle null pointer exceptions in libnfc 2015-03-13 22:29:58 +01:00
Frank Morgner
f5e319be68 fixed error handling if no card found 2015-03-13 21:16:03 +01:00
Frank Morgner
401ce8bcfb fixed printf arg type 2015-01-28 23:05:57 +01:00
Frank Morgner
cea6a1d8f5 use absolute path of manuals 2014-11-22 00:33:46 +01:00
Frank Morgner
d97e8d1916 fixed building of manuals 2014-11-21 23:48:47 +01:00
Frank Morgner
28c8b3c719 fixed memory leak 2014-09-09 00:30:22 +02:00
Dominik
3dc8e5c2b4 Add symlink forgotten in 40a8fc0 2014-05-02 10:54:39 +02:00
Frank Morgner
40a8fc0a7f pcsc-relay: include thread locking mechanism
fixes regression from 0aec0e4

closes #5
2014-05-02 08:15:26 +02:00
Frank Morgner
291178d139 implemented reversed connection establishment
vpcd can now be configured connect to a previously started vpicc.
2013-07-15 10:18:40 +02:00
Frank Morgner
26051c973b removed unused variables 2013-07-03 01:02:52 +02:00
Frank Morgner
4b5230c129 adapted to changes of fb4dbe59ba 2013-06-26 20:19:45 +02:00
Frank Morgner
59eaa16c45 include a summary in documentation and tools 2013-06-17 10:03:38 +02:00
Frank Morgner
bf59edc1e2 added support for interrupting libnfc 2013-05-29 22:17:07 +02:00
Frank Morgner
dff24f45bc using nfc_context for nfc_init and nfc_exit
See libnfc 1227e7d2644b1efc764e4df6748703d6e47dced0
2013-05-29 22:16:39 +02:00
Frank Morgner
bae3f07045 made vpcd.c/vpcd.h windows-compatible 2013-05-23 18:18:37 +02:00
Frank Morgner
01c9f00a33 VPCD: partial rewrite of socket communication
- memory for buffer of received data is now reused with realloc
- internal functions now use a similar interface like recv/send/...
- added documentation about memory handling of vicc_getatr/vicc_transmit
- fixed transmit when using send in multiple passes
2012-08-13 00:26:59 +02:00
Frank Morgner
2fc8074efb print card's ATR when connected 2012-08-03 14:48:14 +02:00
Frank Morgner
450cf13e66 re-implemented auto-detect feature 2012-08-03 14:48:14 +02:00
Frank Morgner
26591f431e using libnfc's default values for timeouts 2012-08-03 14:48:14 +02:00
Frank Morgner
c4bc04144d fixed output verbosity control with --verbose,-v 2012-08-03 14:48:14 +02:00
Frank Morgner
b67817b19d added LEVEL_NORMAL for in interactive mode 2012-08-03 14:48:14 +02:00
Frank Morgner
a52f8584f0 added connector backend for virtual smart card 2012-08-03 14:48:14 +02:00
Frank Morgner
24128057ff added abstraction layer to smart card connector
PC/SC can now be replaced by some arbitrary backend that communicates to
a smart card.
2012-08-03 14:48:07 +02:00
Frank Morgner
2bf315ce9f Use --no-discard-stderr with help2man
gengetopt generates code that outputs the help to stderr.
2012-07-19 20:16:15 +02:00
frankmorgner
6394a961c2 fixed clang compiler warnings
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@779 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 11:49:31 +00:00
frankmorgner
da0b1d02e7 minor improvements of the manpages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@767 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-12 01:04:46 +00:00
frankmorgner
c8fcb5c36e use macro for sed im makefiles
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@755 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:49:34 +00:00
frankmorgner
cc23508082 stringify_error now returns a string instead of printing the error
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@741 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 22:15:57 +00:00
frankmorgner
ca85cd8983 implemented cross compiling with mingw
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@740 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 21:55:01 +00:00
frankmorgner
b85a8d4613 use help2man to generate minimal man pages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@739 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 03:47:53 +00:00
frankmorgner
931f51e2f1 switched to command line handling with gengetopt
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@737 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 01:18:18 +00:00
frankmorgner
e786b161c9 adapted to API changes of libnfc 1.6
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@733 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-08 13:45:22 +00:00
frankmorgner
892efc9922 using libnfc 1.5.1
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@657 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 10:55:14 +00:00