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
8a0e3cabbe
nPA: TA's ephemeral public key is saved as IV in CRT
2012-10-10 21:58:32 +02:00
Frank Morgner
4db95549c2
vpcd: fixed prototype of sendall
2012-10-10 21:58:32 +02:00
Frank Morgner
bc570248b6
npa: pass authentication token as string
2012-10-10 21:58:32 +02:00
Frank Morgner
9bd34eae34
Added nPA example data
...
Taken from the official BSI EAC worked example.
2012-10-10 21:58:32 +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
fc0310359d
nPA: Skip RI, community and age verification
...
simply return 0x9000 saying "yes" to everything
2012-09-14 15:09:31 +02:00
Frank Morgner
8b3d802cab
fixed offset checking for empty files
2012-09-14 15:09:01 +02:00
Frank Morgner
c263b1f9dc
nPA: added support for checking Expiry date
2012-09-13 15:21:07 +02:00
Frank Morgner
5c2215a05b
fixed parsing of CLA with proprietary SM
...
activates SM also for the proprietary case
2012-09-13 15:20:06 +02:00
Frank Morgner
fd154f7c99
nPA: added stubs for eid application
2012-09-06 10:18:08 +02:00
Frank Morgner
d8bbf4eedb
switching encryption context of current SE in SAM
2012-09-06 09:52:19 +02:00
Frank Morgner
aa0647d9b4
nPA: added FIXME for EF.CardSecurity manipulation
2012-09-05 10:09:52 +02:00
Frank Morgner
f6e922222e
removed the currently unused getenc and setenc
...
These functions intended to do encryption and decryption respecting file
acls. This however was never implemented. Better use object properties
with appropriately setters and getters to realize this functionality.
2012-09-05 09:54:06 +02:00
Frank Morgner
c8da1f5213
nPA: allow the user to specify a EF.CardAccess
2012-09-05 09:47:02 +02:00
Frank Morgner
6fb20b0549
workaround for CAPDU's inability to handle le=0000
2012-09-05 09:38:08 +02:00
Frank Morgner
b7bdc3da88
fixed maximum value for le = 00 [00 [00]]
2012-09-05 09:36:53 +02:00
Frank Morgner
dc2d277c4f
nPA: use given credentials for CA
...
The user can now specify an EF.CardSecurity, CA private/public key and
CHR of the trust anchor via the command line.
2012-08-31 18:06:09 +02:00
Frank Morgner
dfbb6480da
fixed handeling of extended length Le in SM APDU
2012-08-31 18:06:09 +02:00
Frank Morgner
244c3b0583
fixed autoconf warnings
2012-08-31 18:06:09 +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
Frank Morgner
2fc8074efb
print card's ATR when connected
2012-08-03 14:48:14 +02:00
Frank Morgner
450cf13e66
re-implemented auto-detect feature
2012-08-03 14:48:14 +02:00
Frank Morgner
26591f431e
using libnfc's default values for timeouts
2012-08-03 14:48:14 +02:00
Frank Morgner
c4bc04144d
fixed output verbosity control with --verbose,-v
2012-08-03 14:48:14 +02:00
Frank Morgner
b67817b19d
added LEVEL_NORMAL for in interactive mode
2012-08-03 14:48:14 +02:00
Frank Morgner
a52f8584f0
added connector backend for virtual smart card
2012-08-03 14:48:14 +02:00
Frank Morgner
24128057ff
added abstraction layer to smart card connector
...
PC/SC can now be replaced by some arbitrary backend that communicates to
a smart card.
2012-08-03 14:48:07 +02:00
Frank Morgner
2bf315ce9f
Use --no-discard-stderr with help2man
...
gengetopt generates code that outputs the help to stderr.
2012-07-19 20:16:15 +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
cede8a0eb9
added documentation about how to access the vpicc under windows
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@782 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-06-14 20:32:29 +00:00
frankmorgner
6b51765d6a
fixed build dir of libnfc
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@781 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 13:34:44 +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
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
bc12ad2d34
fixed error on cleaning missing libnfc
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@778 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 11:37:39 +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
c27f02690e
changed response data for general authenticate step 4 to work with ausweisapp 1.8
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@776 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-24 08:59:57 +00:00
frankmorgner
c45a602903
adapted to changes of PyPACE r79
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@775 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-23 21:18:50 +00:00
frankmorgner
fb52db7561
fixed interface to pyscard
...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@774 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-23 13:12:07 +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