Changeset 98998 in vbox for trunk/src/VBox/ValidationKit/testdriver
- Timestamp:
- Mar 16, 2023 9:34:21 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156348
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r98992 r98998 1249 1249 if sUefiMokPathPrefix is not None: 1250 1250 sFullName = self.oTstDrv.getFullResourceName(sUefiMokPathPrefix) + '.der'; 1251 with open(sFullName, "rb") as f: 1252 self.o.machine.nonVolatileStore.uefiVariableStore.addSignatureToMok(bytearray(f.read()), uuid.uuid4().hex, vboxcon.SignatureType_X509); 1251 with open(sFullName, "rb") as der_file: 1252 self.o.machine.nonVolatileStore.uefiVariableStore.addSignatureToMok(bytearray(der_file.read()), \ 1253 uuid.uuid4().hex, \ 1254 vboxcon.SignatureType_X509); 1253 1255 1254 1256 self.o.machine.nonVolatileStore.uefiVariableStore.secureBootEnabled = fEnable;
Note:
See TracChangeset
for help on using the changeset viewer.