Frank Morgner
4971ca1e17
don't install libvpcd when libpcsclite is requested
...
libpcsclite now statically links against libvpcd. This also is fully
compatible with OpenSC now, which uses dlopen/LoadLibrary for the PC/SC
provider.
2013-08-07 21:43:41 +02:00
Frank Morgner
cdf68d62b3
implemented my own version of libpcsclite
...
Allows customizing of the default adress to which vpcd or libpcsclite
connect to.
My libpcsclite is currently not thread safe. It should not be installed
together with PCSC-Lite since both packages have conflicting files. Use
./configure --enable-libpcsclite to use my version. Use ./configure
--enable-vpcdhost=ADRESS to define connection mode and adress of vpicc.
2013-07-19 23:49:01 +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
6468c87e9f
use ifd handler api v3.0 only.
...
port for connection may be specified in the device name
2013-07-11 00:07:34 +02:00
Frank Morgner
59b8c8cab1
throw an error if the APDU is too big
2013-06-27 00:08:33 +02:00
Frank Morgner
46d0132856
check for vicc presence and return immediately
2013-06-26 23:22:49 +02:00
Frank Morgner
013abb2f35
get cards atr on first try
2013-06-26 11:58:06 +02:00
Frank Morgner
a7ceffeb9f
removed debug output
2013-06-25 21:48:49 +02:00
Frank Morgner
04efb3588e
use libpcsclite.pc's new serialconfdir
2013-06-25 01:44:10 +02:00
Frank Morgner
fb4dbe59ba
allow multiple cards to connect to vpcd
...
due to limitations of pcscd this is currently limited to 10 cards.
Note that there is a double free corruption in pcscd when unloading the
driver.
2013-06-25 01:05:20 +02:00
Frank Morgner
58dc2e1a01
fixed default location of reader.conf.d
...
use `./configure --confdir` for changing the default
2013-06-11 23:13:42 +02:00
Frank Morgner
2deb3470d2
fixed compiler warning
2013-05-23 18:18:37 +02:00
Frank Morgner
bae3f07045
made vpcd.c/vpcd.h windows-compatible
2013-05-23 18:18:37 +02:00
Frank Morgner
4db95549c2
vpcd: fixed prototype of sendall
2012-10-10 21:58:32 +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
3adf5b1e60
only propagate convenience functions of VPCD
2012-08-11 12:46:04 +02:00
frankmorgner
78fd66c8b5
fixed clang --analyze warnings
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@780 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 12:10:44 +00: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
12a7f8cfa0
fixed missing bracket
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@669 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-15 10:39:39 +00:00
frankmorgner
f877158623
autoconf macros for sed, ln and mkdir
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@651 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 20:34:19 +00:00
frankmorgner
e65bd89e47
added Cygwin as supported platform
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@639 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 09:15:09 +00:00
frankmorgner
be145f6d06
reusing socket on reconnect
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@480 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-08 10:52:02 +00:00
frankmorgner
1676f73d06
clearification on requirements for compliance to IFDHandler API version 3
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@426 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-23 14:08:01 +00:00
oepen
7f935fd9a6
Reverting bad commit
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@401 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-01 13:53:31 +00:00
oepen
af3d8fe0bb
Shut up autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@400 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-01 13:47:53 +00:00
frankmorgner
5bba2b6044
unified usage of sizeof.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@342 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-26 20:21:04 +00:00
frankmorgner
1dd164d9e5
- renamed ifd.c to ifd-vpcd.c to have more readable logging in pcscd
...
- updated support information
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@336 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-15 20:15:31 +00:00
frankmorgner
dcb2507b2f
- switched from perl to sed for substitution of autoconf variables
...
- changed from generating reader.conf to vpcd in /etc/reader.conf.d
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@329 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-13 19:18:40 +00:00
frankmorgner
37421c11a1
added workaround for bug 312754 of pcsc-lite
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@322 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 18:43:07 +00:00
frankmorgner
425e054916
activated ATR polling as workaround for pyscard bug #3084449 . now when the real smartcard is removed, the relay process terminates
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@318 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 12:31:13 +00:00
frankmorgner
76cb2ee0c6
checked ifd.c and vpcd.c with flawfinder rats and pscan
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@315 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-11 10:59:07 +00:00
frankmorgner
938d09730b
fixed problems for workaround of pcscd bug 312749
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@314 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-10 16:20:09 +00:00
frankmorgner
04f2ee8020
added workaround for pcscd bug #312749
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@313 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-10 15:45:33 +00:00
frankmorgner
e8d4026d23
added length check on rapdu buffer.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@312 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-10 14:38:20 +00:00
frankmorgner
5262f5a813
now reading the port to open from reader.conf
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@310 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-09 20:32:53 +00:00
frankmorgner
ae713f5b24
- added workaround for "Error resetting card." in pcscd. it is propably a bug in pcscd
...
- added more debug information
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@308 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 20:14:22 +00:00
frankmorgner
212bbf0959
added debug information
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@305 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-10-08 08:11:00 +00:00
frankmorgner
aa539552b7
removed the last references of references to ifdhandler functions v1.0
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@167 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-23 07:10:34 +00:00
frankmorgner
0b03fced4a
- changed vpcd driver to use ifdhandler api v 3.0, since
...
support for v 1.0 has been dropped as of pcsc-lite 1.6
- fixed initialization error of vpcd due to uninitialized value
- changed virtual smartcard to use todays python syntax
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@163 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 14:06:07 +00:00
frankmorgner
34cbb09b80
forcing empty parameter list with function(void) instead of unspecified parameter list with function()
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@162 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-22 09:45:34 +00:00
frankmorgner
a86e0f3922
added missing files for distribution packages. fixed installation when no serialdropdir is given.
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@142 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-09 15:36:36 +00:00
frankmorgner
1c53096603
bugfix: using libtool for installation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@112 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-26 22:51:19 +00:00
frankmorgner
496cc54c6f
be less restrictive in ./configure. better output of configuration details
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@105 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-09 08:34:16 +00:00
frankmorgner
0b60b64cb5
switched to autotools
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@103 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 20:58:58 +00:00