Bugfixes
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@649 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -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"""
|
||||
|
||||
@@ -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"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user