You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After choosing "Delete System76 and Microsoft keys (Use your own)" in the firmware setup menu, both System76 and Microsoft keys can still be seen with sbkeysync from Linux.
The code hints that only PK is deleted and the computer is immediately rebooted, but the keys of System76 and Microsoft are not actually deleted:
(NOTE: Restoring default keys does not enroll the DBX; This doesn't seem to happen unless you enable Secure Boot. DBX should probably always be enrolled.)
$ sbkeysync --verbose --dry-run
Filesystem keystore:
firmware keys:
PK:
/C=US/ST=Colorado/L=Denver/O=System76/CN=System76 Secure Boot Platform Key
KEK:
/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation KEK CA 2011
/C=US/ST=Colorado/L=Denver/O=System76/CN=System76 Secure Boot Key Exchange Key
db:
/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation UEFI CA 2011
/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Windows Production PCA 2011
/C=US/ST=Colorado/L=Denver/O=System76/CN=System76 Secure Boot Database Key
dbx:
filesystem keys:
PK:
KEK:
db:
dbx:
New keys in filesystem:
State after deleting default keys:
$ sbkeysync --verbose --dry-run
Filesystem keystore:
firmware keys:
PK:
KEK:
/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation KEK CA 2011
/C=US/ST=Colorado/L=Denver/O=System76/CN=System76 Secure Boot Key Exchange Key
db:
/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Corporation UEFI CA 2011
/C=US/ST=Washington/L=Redmond/O=Microsoft Corporation/CN=Microsoft Windows Production PCA 2011
/C=US/ST=Colorado/L=Denver/O=System76/CN=System76 Secure Boot Database Key
dbx:
<snip>
filesystem keys:
PK:
KEK:
db:
dbx:
New keys in filesystem:
After choosing "Delete System76 and Microsoft keys (Use your own)" in the firmware setup menu, both System76 and Microsoft keys can still be seen with sbkeysync from Linux.
The code hints that only PK is deleted and the computer is immediately rebooted, but the keys of System76 and Microsoft are not actually deleted:
edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfig.vfr
Line 108 in 42a443d
edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
Lines 4521 to 4523 in 42a443d
edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
Lines 4842 to 4858 in 42a443d
I would expect all these steps to be performed to actually delete vendor keys:
edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c
Lines 4181 to 4210 in 42a443d
The text was updated successfully, but these errors were encountered: