diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/SEutils.py b/virtualsmartcard/src/vpicc/virtualsmartcard/SEutils.py index 33348b2..1c29e48 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/SEutils.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/SEutils.py @@ -37,10 +37,10 @@ class ControlReferenceTemplate: """ Generates a new CRT - :param tag: Indicates the type of the CRT (HT, AT, KT, CCT, DST, CT-sym, \ - CT-asym) - :param config: A string containing TLV encoded Security Environment \ - parameters + :param tag: Indicates the type of the CRT (HT, AT, KT, CCT, DST, CT-sym, + CT-asym) + :param config: A string containing TLV encoded Security Environment + parameters """ if tag not in (CRT_TEMPLATE["AT"], CRT_TEMPLATE["HT"], CRT_TEMPLATE["KAT"], CRT_TEMPLATE["CCT"], @@ -65,7 +65,7 @@ class ControlReferenceTemplate: """ Parse a control reference template as given e.g. in an MSE APDU. - :param config : a TLV string containing the configuration for the CRT. + :param config: a TLV string containing the configuration for the CRT. """ structure = unpack(config) diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py b/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py index 607f9cf..c5a02ca 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py @@ -16,10 +16,10 @@ # You should have received a copy of the GNU General Public License along with # virtualsmartcard. If not, see . # -""" -TODO: use bertlv_pack for fdm -TODO: zu lange daten abschneiden und trotzdem tlv laenge beibehalten -""" + +#TODO: use bertlv_pack for fdm +#TODO: zu lange daten abschneiden und trotzdem tlv laenge beibehalten + from pickle import dumps, loads import logging from virtualsmartcard.ConstantDefinitions import DCB, FDB, FID, LCB, REF