Commit Graph

307 Commits

Author SHA1 Message Date
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
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
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
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
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
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
frankmorgner
9f68d18eef removed warnings from sphinx
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@612 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-03 20:08:43 +00:00
frankmorgner
a38ff4229a sphinx formatting for documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@610 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-02 20:38:13 +00:00
oepen
db529bebed Minor fixes to sphinx markup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@609 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-02 19:33:53 +00:00
frankmorgner
469d23aa11 removed warnings by sphinx due to invalid formatting
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@608 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-02 15:28:12 +00:00
oepen
fc963b5d70 Converting docstrings to sphinx syntax
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@607 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-11-02 13:09:02 +00:00
frankmorgner
ef367778a4 using a dedicated folder for documentation in each subproject
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@587 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-10-27 19:07:16 +00:00
frankmorgner
3fc68b1682 fixed problems on initialization
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@530 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-17 20:42:51 +00:00
oepen
bef62adbfc Lexically sorted the optparse options
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@527 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-07 09:06:18 +00:00
oepen
74dbdbec98 Removed vim folding markers
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@526 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-06 12:45:47 +00:00
oepen
ade39a9ef8 Added documentation generation to build process
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@525 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-06 12:37:43 +00:00
oepen
be4fb180ca Fixed the documentation. epydoc still fails to build html files
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@524 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-05 09:31:57 +00:00
oepen
a0cc017ae6 -Fixed indention
-Improved a comment


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@516 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 15:06:44 +00:00
oepen
45e453796f Removed duplicate code
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@515 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 15:04:31 +00:00
oepen
2e2ad5e47b Added some documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@514 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 14:42:34 +00:00
oepen
fe6c2c7f31 Make pylint happy
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@513 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 14:30:21 +00:00
oepen
373bf41ff3 - Remember the password when loading a card from disk and reuse it when saving the card.
- Added a bit of documentation


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@512 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-09-01 14:04:36 +00:00
oepen
9aa24f9e4a Slight improvements to generate_public_key. Unfortunately the function is still broken
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@510 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-24 13:15:28 +00:00
oepen
159dd0920a More cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@509 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 15:06:50 +00:00
oepen
d467c204c5 Cleanup
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@508 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 14:09:39 +00:00
oepen
67f9e654c7 Added documentation
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@507 96b47cad-a561-4643-ad3b-153ac7d7599c
2011-08-23 13:43:24 +00:00