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
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
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
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
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
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
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
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
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