Commit Graph

738 Commits

Author SHA1 Message Date
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
7549ed4d2b updated documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@736 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-09 13:37:04 +00:00
frankmorgner
414a011b80 updated documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@735 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-09 13:36:17 +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
e786b161c9 adapted to API changes of libnfc 1.6
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@733 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-08 13:45:22 +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
4c2849c4f4 updated links and info for installation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@731 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-05 21:55:34 +00:00
frankmorgner
e2db08cc15 fixed cross compiling for windows
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@730 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-05 21:28:01 +00:00
frankmorgner
32a62bbd63 updated windows build variables
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@729 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-04-04 22:58:09 +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
c7d13ecdb4 added missing note, which was already present in README.rst
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@726 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-03-02 10:54:12 +00:00
frankmorgner
6b78c34ccc updated recipes to new requirements of openembedded and newer versions
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@725 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-03-02 10:52:34 +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
3df73eb21c removed commented flags
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@723 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-24 17:03:33 +00:00
frankmorgner
22594d8ae3 remove warnings from wrong license and some unneeded flags
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@722 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-24 16:37:27 +00:00
frankmorgner
9514eb19cb fixed QA errors
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@721 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-23 12:11:52 +00:00
frankmorgner
a0536f54ef updated bitbake recipes of support packages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@720 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-23 11:58:24 +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
5ad4fdfcdf get ef.cardaccess on demand. newer versions of ausweisapp dont screw this up anymore.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@718 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-02-17 18:43:51 +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
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
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
f6abb5d13b fixed output of configure variables for libnpa
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@700 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-31 20:16:33 +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
8ec045ced1 include shell code for cloning opensc with pace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@698 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-29 14:31:31 +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
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
2ecea8ae4c raise temporary buffer size to the maximum possible for pace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@694 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-24 22:11:11 +00:00
frankmorgner
f93ac338a4 add support for big certificate descriptions
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@693 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-24 21:39:30 +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