this post was submitted on 21 Jul 2023
932 points (100.0% liked)

Technology

37717 readers
483 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

The much maligned "Trusted Computing" idea requires that the party you are supposed to trust deserves to be trusted, and Google is DEFINITELY NOT worthy of being trusted, this is a naked power grab to destroy the open web for Google's ad profits no matter the consequences, this would put heavy surveillance in Google's hands, this would eliminate ad-blocking, this would break any and all accessibility features, this would obliterate any competing platform, this is very much opposed to what the web is.

you are viewing a single comment's thread
view the rest of the comments
[–] jarfil@beehaw.org 114 points 1 year ago (5 children)

THIS IS NOT (just) ABOUT GOOGLE

Currently, attestation and "trusted computing" are already a thing, the main "sources of trust" are:

  • Microsoft
  • Apple
  • Smartphone manufacturers
  • Google
  • Third party attestators

This is already going on, you need a Microsoft signed stub to boot anything other than Windows on a PC, you need Apple's blessing to boot anything on a Mac, your smartphone manufacturer decides whether you can unlock it and lose attestation, all of Microsoft, Apple and Google run app attestation through their app stores, several governments and companies run attestation software on their company hardware, and so on.

This is the next logical step, to add "web app" attestation, since the previous ones had barely any pushback, and even fanboys of walled gardens cheering them up.

PS: Somewhat ironically, Google's Play Store attestation is one of the weaker ones, just look at Apple's and the list of stuff they collect from the user's device to "attest" it for any app.

[–] beefcat@beehaw.org 62 points 1 year ago* (last edited 1 year ago) (3 children)

you need a Microsoft signed stub to boot anything other than Windows on a PC

Not necessarily, most motherboards and laptops (at least every single one I've ever owned) allow users to enroll their own Secure Boot keys and maintain an entirely non-Microsoft chain of trust. You can also disable secure boot entirely.

Major distros like Ubuntu and Fedora started shipping with Microsoft-signed boot shims as a matter of convenience, not necessity.

Secure Boot itself is not some nefarious mechanism, it is a component of the open UEFI standard. Where Microsoft comes in to play is the fact that most PC vendors are going to pre-enroll Microsoft keys because they are all shipping computers with Windows, and Microsoft wants Secure Boot enabled by default on machines shipping with with their operating system.

[–] buckykat@lemmy.blahaj.zone 23 points 1 year ago (1 children)

For now. They're boiling the frog slow.

[–] beefcat@beehaw.org 23 points 1 year ago* (last edited 1 year ago) (2 children)

Microsoft doesn't control the standard, and the entire rest of the industry has no reason to ban non-Windows operating systems.

Widnows doesn't have the stranglehold over the market that it once did.

[–] buckykat@lemmy.blahaj.zone 11 points 1 year ago

It's not just Microsoft, it's capitalists in general.

[–] CanadaPlus@lemmy.sdf.org 8 points 1 year ago (1 children)

I hope you're right. Microsoft could try incentivising a shift.

[–] Scrath@feddit.de 3 points 1 year ago (1 children)

The entire internet depends on machines running linux as servers. I highly doubt that any company has the power to change that

[–] CanadaPlus@lemmy.sdf.org 3 points 1 year ago* (last edited 1 year ago)

Yeah, it's not likely for server racks. Laptops, though, seem somewhat plausible. I'm actually pretty happy with the momentum on tech issues now, on the other hand. I hear stories about right to repair in normal media, my country is in a straight-up showdown with big tech, and GDPR is well established.

[–] Saturnlks@lemm.ee 12 points 1 year ago (2 children)

Windows 11 is saying you're required to have tpm 2.0 enabled in your bios in order to upgrade. Didn't know what it was on my self built computer until recently when windows said my system wasn't compatible to upgrade.

[–] Hexorg@beehaw.org 4 points 1 year ago (1 children)

Tpm modules are pretty good. And you can buy them separately like another card. Motherboards usually have a slot for them. They are tiny like usb drives. They essentially are usb derives but for your passwords and keys. You can even configure Firefox to store your passwords in tpm

[–] argv_minus_one@beehaw.org 1 points 1 year ago (1 children)

TPMs are a security threat. If malware manages to infiltrate it, then that malware is now impossible to remove and has unfettered access to the entire system. You have to junk the entire computer.

[–] Hexorg@beehaw.org 2 points 1 year ago* (last edited 1 year ago) (1 children)

No they don’t. Worst case known attacks have resulted in insecure keys being generated. And even if malware could somehow be transferred out of it you wouldn’t have to trash your whole computer - just unplug the TPM

[–] argv_minus_one@beehaw.org 2 points 1 year ago* (last edited 1 year ago) (1 children)
[–] Hexorg@beehaw.org 3 points 1 year ago (1 children)

Your own article says it’s VMs. The tpm itself can be bricked. Ok that sucks. Still not persistent like you describe.

load more comments (1 replies)
[–] beefcat@beehaw.org 1 points 1 year ago

TPM and SecureBoot are separate UEFI features. Windows 11 requires TPM 2.0. If your system meets the CPU requirements, then it should support this without needing to install a hardware TPM dongle. However, until recently, many vendors turned had this feature turned off for some reason.

Where some confusion comes in is another Windows 11 requirement, that machines be SecureBoot capable. What this actually means in practice is that your system needs to be configured to boot in UEFI mode rather than CSM ("Legacy BIOS") mode.

[–] Gsus4@lemmy.one 5 points 1 year ago* (last edited 1 year ago) (3 children)

You can't disable secure boot if you want to use your Nvidia GPU :( though. [edit2: turns out this is a linux mint thing, not the case in Debian or Fedora]

Edit: fine, there may be workarounds and for other distros everything is awesome, but in mint and possibly Ubuntu and Debian for a laptop 2022 RTX3060 you need to set up your MOK keys in secure mode to be able to install the Nvidia drivers, outside secure mode the GPU is simply locked. I wasn't even complaining, there is a way to get it working, so that's fine by me. No need to tell me that I was imagining things.

[–] sunbeam60@lemmy.one 10 points 1 year ago (1 children)

Hogwash. Running Fedora on closed source nvidia drivers with secure boot disabled.

[–] Gsus4@lemmy.one 2 points 1 year ago (1 children)
[–] sunbeam60@lemmy.one 12 points 1 year ago

What does that even mean?! Yes it works for me. That’s the whole bloody point of saying it. Someone was saying “it won’t work for anyone” and I was saying “well it works for me”.

“We can’t land at the moon!” “Eh, we already have” “‘Works for me’, so that’s not really valid”

Head_scratch.gif

[–] beefcat@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

My experience is that Nvidia plays nicer without secure boot. Getting Fedora up and running with the proprietary Nvidia drivers and fully working SecureBoot was quite a headache, whereas everything just worked out of the box when I disabled it.

But this is very much an Nvidia problem and not a SecureBoot problem. There is a reason basically no-one else provides their drivers as one-size-fits-all binary kernel modules.

[–] this_is_router@feddit.de 2 points 1 year ago (1 children)
[–] Gsus4@lemmy.one 2 points 1 year ago* (last edited 1 year ago) (8 children)

Me installing Linux Mint on a 2022 laptop with a Nvidia GPU (had windows 11 preinstalled, this was an alongside install). I disabled secure boot at first, but still had to go all the way back and set up my MOK keys and turn on secure boot properly with another password to unlock the GPU.

[–] wim@lemmy.sdf.org 8 points 1 year ago (3 children)

Pro tip if you want to use Linux: don't rely on non-free drivers.

[–] Gsus4@lemmy.one 5 points 1 year ago* (last edited 1 year ago) (1 children)

That's not a protip. A protip would be how you do that :D

[–] wim@lemmy.sdf.org 8 points 1 year ago

Literally buy anything but Nvidia. Intel, AMD have upstream drivers that work regardless of secure boot. Various ARM platforms also have free drivers.

It used to be that there waa only bad choices, now there really is only one bad choice left.

Intel Arc still has some teething problems, particularly with power management on laptops, but AMD has been smooth sailing for almost a decade now.

load more comments (2 replies)
[–] argv_minus_one@beehaw.org 3 points 1 year ago

When are people gonna learn to stop buying NVIDIA products?

load more comments (6 replies)
[–] ModdedPhones@lemmy.ml 43 points 1 year ago

I started looking at Mac's for my next computer. Due to this amazing project. https://asahilinux.org/

[–] argv_minus_one@beehaw.org 18 points 1 year ago (3 children)

you need a Microsoft signed stub to boot anything other than Windows on a PC

False. Every PC I've had has allowed Secure Boot to be turned off, and some of them allow me to add another trusted certificate as well.

you need Apple’s blessing to boot anything on a Mac

False. The Mac boot process is completely unlocked, at least on Intel Macs.

your smartphone manufacturer decides whether you can unlock it and lose attestation

My Pixel 6 allows me to unlock the boot loader at any time.

Attestation exists, unfortunately, but it's not nearly as pervasive as you seem to think.

This is the next logical step, to add “web app” attestation, since the previous ones had barely any pushback

Uh, there was huge pushback. That's why even a Microsoft Surface won't stop you from installing Linux.

[–] pseud@lemmy.dbzer0.com 10 points 1 year ago (1 children)

your smartphone manufacturer decides whether you can unlock it and lose attestation

My Pixel 6 allows me

GOTO 10

[–] argv_minus_one@beehaw.org 4 points 1 year ago

My point is that at least some smartphone manufacturers make phones with unlocked boot loaders. As long as there's at least one such manufacturer, does that not disprove your argument?

[–] abhibeckert@beehaw.org 3 points 1 year ago* (last edited 1 year ago) (1 children)

The Mac boot process is completely unlocked, at least on Intel Macs.

On Modern Macs, the process is somewhat convoluted, but you are able to boot into a custom compiled boot loader / operating system while secure boot is enabled. It just needs a few minor hoops to sign the boot loader - steps that would be difficult to social engineer around but perfectly reasonable to do them intentionally if installing an alternate operating system is your thing.

iPhone is, of course, a different story. Hopefully that changes some day. The CPU and boot process is the same as a Mac, so there's no reason it couldn't be unlocked. Might require government intervention though.

[–] argv_minus_one@beehaw.org 1 points 1 year ago (1 children)

It just needs a few minor hoops to sign the boot loader - steps that would be difficult to social engineer around but perfectly reasonable to do them intentionally if installing an alternate operating system is your thing.

Does that not create a barrier for entry for non-technical people looking to use an alternative operating system?

[–] mnrockclimber@lemmy.sdf.org 1 points 1 year ago

non-technical people looking to use an alternative operating system

Umm, you don't see the oxymoron there?

[–] SomethingBurger@beehaw.org 1 points 1 year ago

My Pixel 6 allows me to unlock the boot loader at any time.

By doing that, you no longer pass SafetyNet, and some apps refuse to work without it. If unlocking your device removes features, then you aren't really allowed to do so.

[–] ech@lemm.ee 14 points 1 year ago (2 children)

you need a Microsoft signed stub to boot anything other than Windows on a PC

Can you expand on this? Maybe I'm just misunderstanding you, but a "pc" is not a Windows made machine. It is a collection of disparate computer parts made by different companies with no requirement to run Windows as the exclusive OS once put together.

Even on a Windows OS, I can run any program I want (that's made to operate with Windows). I may get a warning if it's not a "known" developer, but I can still run it. Did I miss a big update to how 11 works with unknown software or something?

[–] jarfil@beehaw.org 16 points 1 year ago* (last edited 1 year ago) (4 children)

PCs have been switching to UEFI instead of legacy BIOS startups, one of the features of UEFI is Secure Boot, which ensures all code being run during the boot process is signed with a valid key, which most PC manufacturers have been choosing to be a Microsoft key by default because Windows requires Secure Boot and most PC users want to run Windows. Depending on the manufacturer, you may be able to switch to "legacy BIOS" boot, add your own keys, disable the check, or use a Microsoft signed stub for your alternative OS. Only the last one is guaranteed to work, though.

Even on a Windows OS, I can run any program I want

Windows 10/11 Home in S mode only allows running programs from the Microsoft Store, you need to upgrade the license if you want to "sideload" stuff.

[–] argv_minus_one@beehaw.org 6 points 1 year ago

I have yet to encounter a PC where Secure Boot can't be turned off.

[–] Sproux@lemmy.dbzer0.com 5 points 1 year ago

If i recall you can toggle s mode off inside the Microsoft store and use it normally, you just cant turn it back on without a reboot.

[–] ech@lemm.ee 5 points 1 year ago

Interesting. I wasn't aware of all that. Troublesome.

[–] riquisimo@lemmy.dbzer0.com 1 points 1 year ago

S mode?? Man that feels like using a PC with a child lock turned on.

[–] Zeth0s@reddthat.com 7 points 1 year ago* (last edited 1 year ago)

I believe he is talking about secure boot

https://wiki.debian.org/SecureBoot

[–] zzz@feddit.de 4 points 1 year ago (1 children)

While I agree in general, and the overall sentiment/direction here to steer towards (morally) is clear… let’s stick to facts only.

you need Apple's blessing to boot anything on a Mac

Bootloader is unlocked and alternative OS exist. Or what else did you mean by that?

[–] jarfil@beehaw.org 1 points 1 year ago (1 children)

Macs with the T2 could be configured to unlock the bootloader, but from my understanding, the new Apple Silicon Macs (M1, M2) come with the bootloader locked.

[–] zzz@feddit.de 5 points 1 year ago* (last edited 1 year ago) (1 children)

Your understanding is incorrect, I think.

Apple specifically chose to leave it (or some part of the chain, I don’t actually know, not an expert lol) open, otherwise, a project like Asahi Linux would not have had a chance from the getgo.

I might try to read up on it when I find the time whether they still have to rely on something signed by Apple before being able to take over in the boot process.

[–] jarfil@beehaw.org 3 points 1 year ago* (last edited 1 year ago) (1 children)

I see.

I was going on the fact that the T2 has a "No Security" option for its Secure Boot config, while according to Apple Support the Apple Silicon ones (I don't have one) only offer "Full" or "Reduced" security, which would still require signing: Change security settings on the startup disk of a Mac with Apple silicon

Dunno how the Asahi folks are planning on doing it, but they do indeed say there is no bootlock 🤔

Update: according to the Asahi docs, I seem to understand that Apple Silicon devices allow creating some sort of "OS containers" that can be chosen to boot from separately from the Mac OS one, and in such a custom container the security can be set to "permissive" limited to that container: https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs Interesting.

[–] zzz@feddit.de 3 points 1 year ago* (last edited 1 year ago)

Interesting.

Yep, that’s a fitting term. You definitely still have to rely on macOS (and keep a copy of it around, e.g. for firmware upgrades, which of course basically only come bundled with macOS versions), but other than that, you can do more or less what you want to – as long as you’re outside of it.

I quite like this idea though if I’m being honest, normie users get all the hardened security from the regular boot chain without experiencing basically any difference/downsides, while hardware enthusiasts and (Linux) tinkerers still have options open (well, options that you can get if you have a new chip on a rarer architecture with previously no third party OS).