Frank Morgner
6b7d42000b
fixed resuming the PIN
...
initialization of the boxing commands in perform_pace always destroyed
the established security context.
2014-02-23 01:16:53 +01:00
Frank Morgner
a11be64015
catch and debug more errors
2013-10-21 21:01:08 +02:00
Frank Morgner
1998fddf69
use EAC_init() and EAC_cleanup()
2013-09-24 01:14:29 +02:00
Frank Morgner
49b01ca750
adapted to changes of openpace ce89f8ee374d7926c3f4707b8c4d3ae3de506507
2013-08-21 07:30:08 +02:00
Frank Morgner
ce77625a60
avoid uninitialized variable
2013-07-14 22:57: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
58055517ed
implemented boxing commands according to TR-03119
2013-06-09 23:23:36 +02:00
Frank Morgner
9be74c7886
accept a hex string for community id
2013-02-27 21:52:03 +01:00
Frank Morgner
4f7851d03c
add reference date for validity verification
2013-02-27 21:52:02 +01:00
Frank Morgner
7f84772778
use additional data template
2013-02-27 21:52:02 +01:00
Frank Morgner
0ffedbef2d
fixed tag of auxiliary data payload
2013-02-27 21:52:00 +01:00
Frank Morgner
e2a54cbdb6
output "Read " for successful reading
2013-02-26 01:04:56 +01:00
Frank Morgner
db088810ff
added human readable names for DG13-16
2013-02-26 00:58:54 +01:00
Frank Morgner
233816656a
added option for cvc and x509 directory
2013-02-26 00:53:33 +01:00
Frank Morgner
2e029de07d
added CLI flags do disable various checks
2013-02-09 23:44:00 +01:00
Frank Morgner
8b0b502a1e
Added ASN.1 helper for auxiliary data
2013-02-09 23:43:35 +01:00
Frank Morgner
83b69396c9
fixed some compiler warnings
2013-02-09 23:43:30 +01:00
Frank Morgner
a6a10d0b3e
fixed special functions
2013-02-04 23:08:00 +01:00
Frank Morgner
d98f4e57c9
added verification of age/validity/community
2013-02-03 22:27:02 +01:00
Frank Morgner
e3947061c4
selectig eid after EAC
2013-02-01 01:18:36 +01:00
Frank Morgner
e01eae9ce3
added read and write of data groups
...
adds read_binary_rec and write_binary_rec to scutil.h
2013-01-29 15:51:35 +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
Frank Morgner
2b472133fd
for EAC, use terminal's CHAT by default
2012-11-01 07:24:14 +01:00
Frank Morgner
1edbc97845
fixed memory leaks
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
080e7c6535
npa-tool: CLI to TA and CA
2012-10-10 21:58:32 +02:00
Frank Morgner
70a108dfe3
adapted to changes of OpenPACE
2012-09-18 00:28:33 +02: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
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
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
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
7fd5d06b4d
including a simple example program mainly for documentation
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@573 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-10-26 13:07:12 +00:00
frankmorgner
9c3b56708b
include npa.h as global resource
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@572 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-10-26 12:21:40 +00:00
frankmorgner
290fe90f3c
- added support for verifying terminal's signature including auxiliary data (experimental, currently disabled)
...
- debugging openssl where possible/needed
- using openssl instead of opensc for asn1
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@556 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-10-17 11:28:47 +00:00
oepen
65a63fac53
Fixed some compiler warnings
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@443 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-07-28 09:41:35 +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
3674c41f66
added compatibility to mingw
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@408 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-06 20:26:37 +00:00
frankmorgner
da411362e9
- not exporting npa internal stuff anymore
...
- added sm_ctx_clear_free
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@405 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-02-03 22:09:22 +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