How can I revert the mokutil secure boot enrollmentublue-os

There is no ujust command for reverting it back to default
11 Replies
HikariKnight
HikariKnight11mo ago
factory default your bios should be the easiest way. there is a reset command for mokutil but i have no clue how destructive that is (if that also removes the microsoft keys, in which case have fun finding and importing those)
M2
M211mo ago
sudo mokutil --delete /etc/pki/akmods/certs/akmods-ublue.der Should remove the key. On next boot you can check with mokutil --list-enrolled
dnkmmr
dnkmmrOP11mo ago
does the steam deck use secure boot? after running sudo mokutil --reset my deck can make new deployments again.
M2
M211mo ago
it's not enabled by default. Additionally, there is no PK, KEK, DB/DBX
dnkmmr
dnkmmrOP11mo ago
when enabled, some service won't finish the deploying during the shutdown phase after rebooting after the new deployment is made and then there is no new deployment.
M2
M211mo ago
Out of tree kmods are also signed with that key. If secureboot is enabled they will fail to load and services reliant on them will fail. Steam deck should not of had secureboot enabled by default in the bios. If it enabled, it should be in setup mode since valve doesn't ship keys. You have to manaully generate them and mok key is at a different layer. Which services are failing?
dnkmmr
dnkmmrOP11mo ago
ostreed finalize service after deploying. it got fixed since I reset secure boot with mokutil. I enabled secure boot because of this
No description
M2
M211mo ago
Okay, that's interesting that you are seeing the service fail for secureboot. That shouldn't be related. That warning is telling people if they are using secureboot they need to enroll the MOK key. We will be shipping a patched kernel soon which will be signed by our key and not fedora's key. If you are not using secureboot, you will still be able to boot with the key not enrolled.
Kyle Gospo
Kyle Gospo11mo ago
and the deck does not use secure boot doesn't even have MS's key enrolled so you can simply ignore it
©TriMoon™
©TriMoon™11mo ago
No it only clears all keys in the MOK, not in the other keydb's...
HikariKnight
HikariKnight11mo ago
ok good to know
Want results from more Discord servers?
Add your server