I forget what the order of operations is, but you didn't fuck it up. I've deleted the keys and started over before, though I never got secure boot to work for me in the end. Hopefully somebody smarter can provide more insight.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Thank you for your answer. I just remembered I made some Timeshift backups before I tried to switch drivers. If I rollback to the backup will my keys be "overwritten" and I'll be able to try to switch drivers again with no consequences?
Maybe? It depends what Timeshift was monitoring/backing up. In any case, the tool you used to generate the keys I believe has the ability to delete the keys (they're just files on your system). Look up the documentation to be sure. It's been a hot minute since I mucked around with Secure Boot, and it's not strictly required, so I just gave up.
That's about the extent of my secure boot knowledge. I do hope more knowledgeable people have better advice for you!
Will do, thanks!
Thanks for your answer. I just remembered I made some Timeshift backups before I tried to change the drivers. If I rollback to the backups will I be able to try again without any consequences?
I think when I messed it up, it worked when I tried switching to the proprietary drivers for the second time. I think you can try that without much risk.
In my case I ended up disabling Secure Boot anyway because it just got too annoying (a BIOS update breaking it was the final straw for me). The security benefit after you've enrolled a MOK seems dubious anyway. It would be nice if distros could ship signed kernels with the open-source Nvidia driver but I guess that's not happening.