Frank Morgner
2b472133fd
for EAC, use terminal's CHAT by default
2012-11-01 07:24:14 +01:00
Frank Morgner
80f86b81ed
fixed wrong encoding of protected Le
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
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
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
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
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
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
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
ed6062b228
moved include of ws2_32 to the appropriate place
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@732 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-05 22:34:41 +00:00
frankmorgner
e5b947f3ab
follow symbolic links when searching for openscs header files
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@724 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-26 22:19:30 +00:00
frankmorgner
5b10df505b
adapted to changes of https://github.com/frankmorgner/OpenSC
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@719 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-20 12:20:20 +00:00
frankmorgner
f11a7a8d33
removed unused declaration
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@710 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-03 11:49:19 +00:00
frankmorgner
770b600706
return SC_SUCCESS instead of 0
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@709 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 20:46:42 +00:00
frankmorgner
d804becc74
removed handling of CAR and CHR, this is done in TA by OpenPACE
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@708 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 20:45:19 +00:00
frankmorgner
836fbdf455
enable time check for imported certificates
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@707 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 20:35:02 +00:00
frankmorgner
d0a8df4d59
removed card driver hack. use a better opensc instead (see https://github.com/frankmorgner/OpenSC )
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@706 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 20:34:27 +00:00
frankmorgner
da253c888f
adapted to openpace
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@705 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 20:31:42 +00:00
frankmorgner
4ede307a1b
always print a message in case of an error
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@697 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-25 15:07:38 +00:00
frankmorgner
2ed6a468fc
using patched OpenSC enabled with PACE to use the reader's capabilities
...
sourcecode can be fetched from here https://github.com/frankmorgner/OpenSC
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@696 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-25 15:04:52 +00:00
oepen
2600b5778d
Adjusted libnpa to API changes in OpenPACE
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@680 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-18 16:06:56 +00:00
frankmorgner
b2a7578fbf
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@660 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 13:50:14 +00:00
frankmorgner
08eaf8ca4b
adapted to openpace
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@641 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 21:16:40 +00:00
frankmorgner
f6af548d37
added no-undefined for building a dll
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@636 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-08 19:51:29 +00:00
frankmorgner
27a3385f36
- using unsigned long long for constant max value of puk
...
- fixed fixup_la
- guessing building machine
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@634 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-07 21:55:37 +00:00
frankmorgner
abc0bfb657
using 64 bits for value of puk
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@632 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-07 20:58:01 +00:00
frankmorgner
2ae1b1b609
break secrets from bottom to top
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@631 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-07 16:12:13 +00:00
frankmorgner
5d1071f68f
car and certificate description are now optional for npa_ctx_create
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@630 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-07 15:51:43 +00:00