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
Frank Morgner
de1378f780
always declare extended length capabilities
...
allows usage of an unpatched version of OpenPACE. libnpa now works with
the nPA using the default card driver.
2012-11-21 19:45:59 +01:00
Frank Morgner
77a52cc8e9
adapted to changes of OpenSC master
...
Now works with the stupid changes of OpenSC made in
41861e42b01539856b31f758dfde9ba53749eaaa
2012-11-21 19:45:59 +01:00
Frank Morgner
c6f61aa3eb
adapted to changes of OpenPACE
...
Now works with OpenPACE 5182c69ee9dfe4ad7787d4f513d467d81a1f27ed
2012-11-21 19:45:55 +01:00
Frank Morgner
f5a2cde7d6
adapted to latest changes of openpace
...
works with openpace 702cf84aaa01ef5dc490d32208067a89a33102c1
2012-11-01 08:02:01 +01:00
Frank Morgner
e8528c8297
disable check of validity period for testing
2012-11-01 07:32:52 +01:00
Frank Morgner
a00f305f2a
use default CHAT for testing
2012-11-01 07:25:49 +01:00
Frank Morgner
2b472133fd
for EAC, use terminal's CHAT by default
2012-11-01 07:24:14 +01:00
Frank Morgner
cc3095a2f0
comprehensive checking for help2man and gengetopt
2012-10-26 22:04:24 +02:00
Frank Morgner
80f86b81ed
fixed wrong encoding of protected Le
2012-10-10 22:02:59 +02:00
Frank Morgner
4cba1d8ee2
added script to test vicc with npa-tool
2012-10-10 22:02:59 +02:00
Frank Morgner
a08ce27552
added calculation of longest encrypted short-length APDU
2012-10-10 22:02:59 +02:00
Frank Morgner
df00bca2f0
adapted to changes of openpace in 91d6ee1ec80f6...
2012-10-10 22:02:59 +02:00
Frank Morgner
296db65bc2
updated help for --disable-checks
2012-10-10 22:02:59 +02:00
Frank Morgner
1edbc97845
fixed memory leaks
2012-10-10 22:02:59 +02:00
Frank Morgner
e99979fab1
debug the result from CA's general authenticate
2012-10-10 22:02:59 +02:00
Frank Morgner
be19c06e51
fixed short length SM APDUs (especially case 2)
2012-10-10 22:02:59 +02:00
Frank Morgner
80091a6997
fixed Le for get challenge
2012-10-10 22:02:59 +02:00
Frank Morgner
af9b2bf07d
nPA: using case 3 apdu for verify
2012-10-10 22:02:59 +02:00
Frank Morgner
6a36a8f733
fixed CLA of PACE's last general authenticate
2012-10-10 22:02:59 +02:00
Frank Morgner
4f6945917e
nPA: added option to disable validity period check
2012-10-10 22:02:59 +02:00
Frank Morgner
765d284bc4
Fixes for MSE:Set AT in TA and CA
...
- TA: fixed p1, p2 and include ephemeral pubkey and OID
- CA: include OID and leave out key reference
Currently it is hard to distinguish between the CA key and the
chip-individual key using the key references in
EF.CardSecurity/EF.CardAccess. The first (default) key in these files
should, however, be the CA key.
2012-10-10 22:01:36 +02:00
Frank Morgner
5e4f7024e8
sc_format_apdu instead of manual initialisation
2012-10-10 21:58:32 +02:00
Frank Morgner
ad879e3da2
Send auxiliary data in MSE:Set AT for TA
2012-10-10 21:58:32 +02:00
Frank Morgner
080e7c6535
npa-tool: CLI to TA and CA
2012-10-10 21:58:32 +02:00
Frank Morgner
85e1c317b6
libnpa: Implementation of CA
2012-10-10 21:58:29 +02:00
Frank Morgner
062cf21bb2
added fids for EF.CardSecurity
2012-10-10 21:46:33 +02:00
Frank Morgner
7145984d5f
libnpa: Implementation of TA
2012-10-10 21:46:30 +02:00
Frank Morgner
66ffb3675d
added switch to disable apdu checking for TA/CA
2012-09-18 22:45:39 +02:00
Frank Morgner
00f262ad68
fetch CAR for TA from MSE:Set AT
2012-09-18 22:45:36 +02:00
Frank Morgner
70a108dfe3
adapted to changes of OpenPACE
2012-09-18 00:28:33 +02:00
Frank Morgner
244c3b0583
fixed autoconf warnings
2012-08-31 18:06:09 +02:00
frankmorgner
5cb82ab12a
using selection by short identifier when reading ef.cardaccess. Fixes #3532221
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@783 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-06-22 10:08:31 +00: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
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
3afa9cc1ab
use distcheck-hook to generate ChangeLog
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@773 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-15 21:05:06 +00:00
frankmorgner
df7425f3e1
automate cross compile for windows in win32. use the power of the opensc build script
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@772 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-15 21:01:16 +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
c73bfe1015
added missing checks at configure time
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@766 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-12 00:25:18 +00:00
frankmorgner
e1f4f70efa
released 0.4
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@762 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 20:07:54 +00:00
frankmorgner
b90c6b5ed2
fixed distribution of opensc headers
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@761 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 20:05:30 +00:00
frankmorgner
8e502c89d9
only generate changelog when working in repository
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@758 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 19:45:25 +00:00
frankmorgner
1d8f2fd1b6
automatically generate changelog when releasing
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@757 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 19:33:36 +00:00
frankmorgner
77ecf7e7b8
using macro for doxygen
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@756 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:58:43 +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
a9a7c34a47
fixed cross reference to doxygen documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@747 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 12:17:32 +00:00
frankmorgner
c008fb2248
fixed name of doxygen generated tag file
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@744 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 11:52:22 +00:00
frankmorgner
93c1a69d7f
updated documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@743 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 03:44:48 +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
e62b2d619c
re-enabled clumsy include of libws2_32
...
When recognition of windows build at compile time is done, this should be disabled again.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@738 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-10 01:51:50 +00:00