!agkXCfUrgbadYlQXRj:kack.it

NixOS + TPMs

189 Members
50 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
24 Jan 2022
@colemickens:matrix.orgcolemickens 🏳️‍🌈Are general Secure Boot questions okay here?22:31:52
@colemickens:matrix.orgcolemickens 🏳️‍🌈I got NixOS booting in Secure Boot mode by using Fedora's shim and disabling validation in the shim. I'm nervous though that another UEFI update will reset NVRAM, I'll lose the disabled validation and be locked out again. Curious if anyone knows for sure.22:32:34
@zhaofeng:zhaofeng.liZhaofeng LiYou can get actual Secure Boot signing working with https://github.com/frogamic/nix-machines/tree/main/modules/systemd-secure-boot22:34:15
@zhaofeng:zhaofeng.liZhaofeng LiDoes your motherboard vendor allow enrolling your own keys?22:34:46
@colemickens:matrix.orgcolemickens 🏳️‍🌈I'm pretty sure my laptop doesn't, but now I'm realizing that it well could have the same issue (does user enrolled keys get stored in nvram)22:35:50
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @colemickens:matrix.org
I'm pretty sure my laptop doesn't, but now I'm realizing that it well could have the same issue (does user enrolled keys get stored in nvram)
Both of my laptop (Framework) and custom desktop allow this, and they do survive BIOS upgrades
22:37:37
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @colemickens:matrix.org
I'm pretty sure my laptop doesn't, but now I'm realizing that it well could have the same issue (does user enrolled keys get stored in nvram)
* Both of my laptop (Framework) and custom desktop allow this, and they do survive BIOS upgrades in my case
22:37:44
@zhaofeng:zhaofeng.liZhaofeng Li And it's not just user enrolled keys, you are enrolling the PK and transitioning Secure Boot to User mode 22:38:46
@zhaofeng:zhaofeng.liZhaofeng LiBIOSes usually have an option to use the "default" setup which would enroll the Microsoft PK22:39:21
@colemickens:matrix.orgcolemickens 🏳️‍🌈Actually, it does have a "Reset to Setup Mode" that will clear the platform key and let me enroll one.22:39:58
@colemickens:matrix.orgcolemickens 🏳️‍🌈But :/ also I dual-boot Windows. idk if one can enroll multiple platform keys22:40:12
@zhaofeng:zhaofeng.liZhaofeng LiYeah, that's what you want to use22:40:16
@zhaofeng:zhaofeng.liZhaofeng LiYou can still dual-boot Windows, just allow Microsoft's certificates in your db22:41:29
@zhaofeng:zhaofeng.liZhaofeng LiFound it: https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Dual_booting_with_other_operating_systems22:42:16

Show newer messages


Back to Room ListRoom Version: 6