Commit Graph

938 Commits

Author SHA1 Message Date
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
frankmorgner
0c1ad104a6 include most recent ca in response successfull PACE
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@684 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-20 15:46:51 +00:00
oepen
caba3ca8f4 -Propagate changes to append_padding to all files
-Adjust strip_padding to match append_padding


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@683 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-20 14:57:09 +00:00
oepen
ed2132480b Use the blocklength of the actual cipher to append padding (instead of hardcoded
DES-CBC blocklength)


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@682 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-20 14:13:58 +00:00
frankmorgner
6d94c9e544 added SM. currently untested due to bug in OpenPACE or pyPACE
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@681 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-19 22:48:43 +00:00
oepen
2600b5778d Adjusted libnpa to API changes in OpenPACE
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@680 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-18 16:06:56 +00:00
oepen
c704fb0283 Adapted TA steps to pypace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@679 96b47cad-a561-4643-ad3b-153ac7d7599c
2012-01-04 13:55:42 +00:00
frankmorgner
8fe4ffd2fe fixed help strings
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@678 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-19 21:41:13 +00:00
frankmorgner
ddf6431575 switched to argparse
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@677 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-19 21:37:01 +00:00
frankmorgner
58ac87489b added support for TA and CA (currently untested)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@676 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-19 20:50:00 +00:00
frankmorgner
a7b5f9c042 added PIN management for nPA
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@675 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-19 02:36:35 +00:00
frankmorgner
045514ae20 - added dedicated nPA_SE
- saving mf in Security_Environment


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@674 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-17 16:45:27 +00:00
frankmorgner
1cbb185519 introducing a default SE for all cards
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@673 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-17 16:30:24 +00:00
frankmorgner
97fe61ae69 using if/else instead of a dedicated handler for eac steps
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@672 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-17 16:00:20 +00:00
frankmorgner
bcd0155238 added PACE support for nPA emulator
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@671 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-16 19:22:29 +00:00
frankmorgner
b8e5336e3a bugfix
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@670 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-15 10:49:43 +00:00
frankmorgner
12a7f8cfa0 fixed missing bracket
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@669 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-15 10:39:39 +00:00
frankmorgner
9e8347fd0f use libcrypto instead of libssl
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@668 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-14 15:53:51 +00:00
oepen
6bf7ca9b3f Partial conversion to python 3
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@667 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-11 16:56:15 +00:00
frankmorgner
899ea104c6 documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@666 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 20:21:45 +00:00
oepen
7ac1760a15 git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@665 96b47cad-a561-4643-ad3b-153ac7d7599c 2011-12-09 16:35:52 +00:00
frankmorgner
f2f9c4e706 small fixes
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@664 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 16:15:32 +00:00
frankmorgner
162d5d434b documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@663 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 16:07:30 +00:00
frankmorgner
0452235abb - fixed sw when reading until end of file
- let npa emulator act like real npa (until general authenticate occurrs)


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@662 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 14:19:04 +00:00
frankmorgner
323f96fadb dont throw an error on mse:set at. using source code, which was priviously deleted.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@661 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 14:15:24 +00:00
frankmorgner
b2a7578fbf git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@660 96b47cad-a561-4643-ad3b-153ac7d7599c 2011-12-09 13:50:14 +00:00
frankmorgner
1abaadcea3 dont document special members
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@659 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 13:27:23 +00:00
oepen
c3da4b5f64 Remove dummy code for tags which are already handled by the ISO code
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@658 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 11:47:46 +00:00
frankmorgner
892efc9922 using libnfc 1.5.1
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@657 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 10:55:14 +00:00
frankmorgner
07af155110 dont throw an error on mse:set at. using source code, which was priviously deleted.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@656 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-09 10:54:12 +00:00
frankmorgner
348bc34ed6 generate the correct links to class documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@655 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 23:15:11 +00:00
frankmorgner
dedb627e82 documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@654 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 23:03:40 +00:00
frankmorgner
a4f4ecff14 include inheritance graphs
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@653 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 21:21:40 +00:00
frankmorgner
28db2c72cc import chat as late as possible to not confuse generation of documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@652 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 21:16:26 +00:00
frankmorgner
f877158623 autoconf macros for sed, ln and mkdir
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@651 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 20:34:19 +00:00
oepen
46d3551fbf Bugfixes: nPA emulator is now working
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@650 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 15:37:40 +00:00
oepen
cb2da77b58 Bugfixes
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@649 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 14:51:19 +00:00
oepen
02913a6412 Bugfixes
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@648 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 14:01:11 +00:00
oepen
ca6fd219d2 Do not overide the OS but only the SAM and parts of the SE for nPA emulation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@647 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-08 13:38:37 +00:00
frankmorgner
379aa7310e adapted to openpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@646 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 23:50:03 +00:00
frankmorgner
159f639246 added network format vpcd<->vpicc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@645 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 23:48:52 +00:00
frankmorgner
181940a093 adapted to openpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@644 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 23:08:20 +00:00
frankmorgner
a8821d7feb minimal nPA emulation. use it to fetch and print a chat. uses pypace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@643 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 21:43:55 +00:00
frankmorgner
911cd0b591 removed debug message
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@642 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 21:42:37 +00:00
frankmorgner
08eaf8ca4b adapted to openpace
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@641 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 21:16:40 +00:00
frankmorgner
7586fc766e updated documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@640 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 09:19:33 +00:00
frankmorgner
e65bd89e47 added Cygwin as supported platform
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@639 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-12-07 09:15:09 +00:00