Commit Graph

261 Commits

Author SHA1 Message Date
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
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
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
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
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
3bc1486bf9 checking for doxygen
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@764 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 20:30:56 +00:00
frankmorgner
7a15e11227 released 0.5
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@759 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-11 19:51:06 +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
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
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
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
54f9311de8 more readable information via autoconf
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@734 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-09 13:35:10 +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
778cdcea21 added recommended configure options to documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@727 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-03-02 10:55:43 +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
frankmorgner
2c40f837c7 removed manipulation of ef_card_security since this would require the complete public point instead of the compressed public point
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@716 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-12 20:55:00 +00:00
frankmorgner
d069c01e15 adapted to pypace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@715 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-12 20:53:37 +00:00
frankmorgner
a34f4b14d3 modifying ef cardsecurity to contain the chips public key (but a wrong signature)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@714 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-09 17:30:19 +00:00
frankmorgner
3770a91d64 debug unprotected result
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@713 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-09 17:17:14 +00:00
frankmorgner
06d96e6fae fixed CA, which is now successfully tested
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@712 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-09 10:00:48 +00:00
frankmorgner
40881a9eef - fixed CA OID
- applied pypace interface for ca


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@711 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-08 15:51:14 +00:00
frankmorgner
4de6741bbc mapping ca oid to the correct algorithm
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@704 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 11:24:54 +00:00
frankmorgner
bb00e76c99 Subroutines to parse_SM_CAPDU, protect_response and perform_security_operation
only return the resulting string and no longer status bytes

This prevents overwriting of the statusbytes when applying SM. Errors should be
returned via `raise SwError`


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@703 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 10:25:05 +00:00
frankmorgner
bae1b890ef fixed import of auxiliary data for TA. Terminals signature can be verified now
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@702 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 09:53:28 +00:00
frankmorgner
b9b13e7a72 more convenient values for pin and can
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@701 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-01 09:52:32 +00:00
frankmorgner
55ece055c5 added ef card security
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@699 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-31 20:15:18 +00:00
frankmorgner
72f5d00a53 better debug output
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@695 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-25 09:49:50 +00:00
frankmorgner
97c51d320d fixed import of CV certificates. Terminal's signature is currently wrongly checked (as 'invalid').
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@692 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 14:53:28 +00:00
frankmorgner
18036bb4de fixed parsing of extended length apdu with Le = max
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@691 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 14:49:38 +00:00
oepen
b7671f76c3 Fixed a typo
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@690 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 13:25:09 +00:00
oepen
5e5ef86e25 Fixed a typo
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@689 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 13:02:39 +00:00
frankmorgner
d13adaa9c3 fixed typo
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@688 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 10:45:09 +00:00
frankmorgner
bc6822351a fixed calculation of bertlv coded data for authentication
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@687 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 10:41:12 +00:00
oepen
81b2c5ce76 Removed broken code
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@686 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-23 09:58:27 +00:00
frankmorgner
06aebb7de0 nPA's SM now successfully tested
- fixed SEutils to use new input data to append_padding
- added defines to reference nPA's secrets (as keyref)
- fixed send sequence counter handling in nPA
- added protect_response to nPA to authenticate the status bytes
- implemented reset retry counter for nPA


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@685 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-22 00:14:30 +00:00