diff --git a/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py b/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py index 477af74..ff416c3 100644 --- a/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py +++ b/virtualsmartcard/src/vpicc/virtualsmartcard/SmartcardFilesystem.py @@ -594,7 +594,7 @@ class MF(DF): # TODO filesize and data objects if isinstance(file, EF): if hasattr(file, 'shortfid'): - fdm.append("%c\x01%c" % (TAG["SHORTFID"], file.shortfid)) + fdm.append("%c\x01%c" % (TAG["SHORTFID"], file.shortfid << 3)) else: fdm.append("%c\x00" % TAG["SHORTFID"])