Frank Morgner
abee9f8853
copy code from OpenSC instead of including its source files
2015-11-02 21:22:55 +01:00
Frank Morgner
de52c73258
updated OpenSC
2015-11-02 18:44:37 +01:00
Frank Morgner
ccdcee36b6
fixed undefined reference to strlcpy
2015-02-28 00:17:37 +01:00
Frank Morgner
da025bf0bf
removed unused check
2015-01-25 04:00:31 +01:00
Frank Morgner
27ef5d59d5
fixed handling of bad arguments
2015-01-25 03:30:10 +01:00
Frank Morgner
d89385c3e1
added support for QES with German ID card
...
libnpa: requires an ID card that is initialized for QES. Today, this
means you need to register at sign-me.
virtualsmartcard: We don't actually create a real signature, because
PyCrypto can't handle ECDSA, let alone brainpoolP256r1. We only return a
64 byte buffer.
2015-01-18 02:24:18 +01:00
Frank Morgner
cb96784ed8
include non exported OpenSC functions
2014-07-25 00:46:09 +02:00
Frank Morgner
5b6172acde
show ATR of unrecognized cards for npa-tool -i
2014-06-03 09:36:06 +02:00
Frank Morgner
9943708510
fixed compiling ccid-emulator without libnpa
...
fixes #1
2014-04-27 22:24:19 +02:00
Frank Morgner
905d903d70
enable default driver
...
see OpenSC
1a972920f0dd4959bd6ec3c4cddef2d98e6009a8
2013-08-21 08:26:49 +02:00
Frank Morgner
37daaf1192
read/write chunks in short length SM APDUs
2013-08-07 21:43:46 +02:00
Frank Morgner
c6db8a1b49
fancier output for print_avail
2013-06-13 15:56:42 +02:00
Frank Morgner
70d10b9410
cleaned up scutils
...
- moved write/read_binary_rec to scutil.c
- removed unused handling of card driver
2013-06-13 08:25:11 +02:00
Frank Morgner
32a198f35b
updated license text
2013-06-11 09:21:32 +02:00
Frank Morgner
00d160b77a
allow dumping of empty buffer
2013-02-26 01:03:09 +01:00
Frank Morgner
e9e5c7668b
use OpenSC's hooks to wrap and unwrap SM APDUs
...
sm_transmit_apdu is obsolete. libnpa and OpenSC can be used in parallel
now. libnpa modifies OpenSC's card handle to add SM on the fly to any
OpenSC command. This, for example, allows PKCS#XX commands in a SM
channel established by libnpa.
2012-12-09 23:15:51 +01:00
frankmorgner
e3e8ee659c
fixed clang compiler warnings
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@777 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 11:28:14 +00:00
frankmorgner
5ab6ee7162
fixed error on using stdout as debug log
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@542 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-30 15:42:11 +00:00
frankmorgner
fd6a13263d
- checking description against the certificate is now done internally in libnpa, removed hash of certificate description from pace output
...
- importing terminal certificates to verify terminals signature
- fixed hex dump without sc_context
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@537 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-23 13:19:59 +00:00
frankmorgner
d3b7dd4dac
switched to opensc 0.12.1, where build_apdu has been accepted as sc_bytes2apdu
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@433 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-25 21:14:28 +00:00
frankmorgner
8cd77084cc
renamed libpace to libnpa
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@403 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-02 18:49:14 +00:00
frankmorgner
9985ee7e60
added more error messages
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@388 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-15 00:36:42 +00:00
frankmorgner
79dc468cc5
switched to opensc.0.12.0. note that this has some issues when linking against both libnpa and the opensc libraries at the same time. readme information would be usefull for this...
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@385 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-01-14 14:24:04 +00:00
frankmorgner
915b2fe5f2
extracted libpace from ccid
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@359 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-11-14 20:34:52 +00:00