Conversation

Replying to and
Basically any security technology can be abused to restrict user freedom - that means we need to push back against such abuses, not that we should necessarily reject the technologies in the first place
1
51
Replying to and
Needing to manually enable trusting third party boot chains is a minor inconvenience at most and not a restriction on what you can do. Their ecosystem has almost entirely theatrical implementations of secure boot and attestation. Many things would have to be fixed, this is one.
1
3
Proper approach would be only trusting first party boot chain by default, having a very easy way for users to add public key of other operating systems and filling in all the stuff that's missing like downgrade protection for secure boot itself. Attestation doesn't replace it.
1
3
It's an incomplete implementation of secure boot where there are multiple things missing for both firmware and the OS. One of the things they would need to do to turn it into a serious implementation is exactly this. Shim bootloader has no place in a serious implementation of it.
2
2
With the latest kernel release you *need* a shim if you want to enable lockdown mode and sign kernel modules. There is simply no other way for you as a user to enroll a set of trusted keys in the kernel keyring at the moment. I find this absurd.
2
1
It is, actually. The db keys being loaded into the trusted keyring is from a rejected upstream patch. The one that has been accepted is from Snowberg and enrolls keys from the MokList into the platform keyring. These variables are setup in the mok EFI configuration table.
2
This complicates distro packaging. This is also not what distros that support secure boot is currently doing, as they have users resign dkms modules locally. My gripe is mainly that there is no way to have a trusted key after the kernel is built, unless you use the shim.
2
1
i.e. they aren't even providing a way to boot a recovery interface for restoring the OS to a known good state based on verified recovery images, let alone verifying everything during a normal boot. The problem with lockdown is it basically assumes you aren't doing any of that.
1
Android doesn't use signed kernel modules but rather verifies entire base OS and only allows loading kernel modules from the verified base OS. If you want to distribute out-of-band kernel module updates, you distribute them in an APEX which is an APK with a verified fs inside.
1
Show replies