git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@649 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
oepen
2011-12-08 14:51:19 +00:00
parent 02913a6412
commit cb2da77b58
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class CardGenerator(object):
self.mf = MF()
self.mf.append(TransparentStructureEF(parent=self.mf, fid=0x011c, shortfid=0x1c, data=card_access))
self.sam = nPA_SAM()
self.sam = nPA_SAM(self.mf)
def __generate_cryptoflex(self):
"""Generate the Filesystem and SAM of a cryptoflex card"""

View File

@@ -26,7 +26,7 @@ import hashlib, struct
from os import urandom
from chat import CHAT
class nPA__AT_CRT(ControlReferenceTemplate):
class nPA_AT_CRT(ControlReferenceTemplate):
def __init__(self):
ControlReferenceTemplate(CRT_TEMPLATE["AT"])