Commit Graph

228 Commits

Author SHA1 Message Date
Frank Morgner
bae3f07045 made vpcd.c/vpcd.h windows-compatible 2013-05-23 18:18:37 +02:00
Frank Morgner
e1da1dc081 updated documentation 2013-02-09 23:44:14 +01:00
Frank Morgner
a0b37e1296 fixed import of EF.CardSecurity
was a degradation of OpenPACE 7016e1a6e958cb7b9a241c059deb807f31dff5fe
2013-02-09 23:44:04 +01:00
Frank Morgner
758fe2b99f nPA: fixed resume PIN command
PACE with CAN followed by PACE with PIN in SM failed, because the
eac_ctx holding the SM context was always cleared at the beginning of
the second PACE run.
2012-12-08 20:50:07 +01:00
Frank Morgner
c58aed6896 fixed printing of EAC CTX 2012-12-08 00:17:32 +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
5ab760e0c0 let MSE:Set AT distinguish between tags 83, 84 2012-10-12 11:48:22 +02:00
Frank Morgner
fd4ed5162c selecting MF on reset and power up 2012-10-11 22:22:57 +02:00
Frank Morgner
df00bca2f0 adapted to changes of openpace in 91d6ee1ec80f6... 2012-10-10 22:02:59 +02:00
Frank Morgner
801e80a350 nPA: added --cvca parameter 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
203f4ac5b2 nPA: updated CLI information regarding CAR 2012-10-10 22:02:59 +02:00
Frank Morgner
25b75d7ffe ignoring CVCA certificate for --disable-checks
This essentially lets the terminal's DVCA certificate to be imported
without being checked using the CVCA trust anchor.
2012-10-10 22:02:59 +02:00
Frank Morgner
d9ce98765f fixed PACE_STEP3D_verify_authentication_token 2012-10-10 22:02:59 +02:00
Frank Morgner
02299c9036 nPA: initialize ca without specifying protocol 2012-10-10 22:02:59 +02:00
Frank Morgner
7985b7e83c ALGO_MAPPING: added oids for TA, CA, RI and PACE 2012-10-10 22:02:59 +02:00
Frank Morgner
c92d923fc8 nPA: removed --ca-pubkey command line option
The public key is extracted from the EF.CardSecurity instead.
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
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
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
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
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
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
00f145acba generate man page for vicc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@754 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:35:20 +00:00
frankmorgner
b5f109ac53 added version info
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@753 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:24:30 +00:00
frankmorgner
768c85c208 formatting defaults by hand to avoid default: None
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@752 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:22:02 +00:00
frankmorgner
44b5262ddc dont mention authors in help
The argument formatter removes linebreaks and paragraphs, so we have to reduce the amount of information shown.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@751 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 18:17:07 +00:00
frankmorgner
7a47a813cb improved vicc help
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@750 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 17:56:33 +00:00
frankmorgner
46e72c3b33 load card specific modules only when needed
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@749 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 17:55:56 +00:00
frankmorgner
feed837ee0 fixed throwing SwError
thanks, Ben.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@728 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-03-04 21:35:31 +00:00
frankmorgner
35ad216428 fixed manipulation of EF.CardSecurity with CA public key
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@717 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-12 21:19:41 +00:00