News for hackers. Stuff that matters.
Re:WebAuthN and Fido for Linux by michaelt on Monday October 24, 2022 @06:28AM (#33314864)
> Windows Hello, Android's FIDO2 support, Apple's TouchID and FaceID, are all examples of platform authenticators. There is no reason why the Linux desktop community could not enjoy similar benefits

Don't those platforms all rely on strict sandboxing and code signing, so that funny-dancing-monkey.exe can't rename itself to google-chrome.exe then perform a passwordless sign-on to google.com ?

I always thought this stuff was slow to arrive on Linux because it demands things that are incompatible with the free-software ethos.

Re:WebAuthN and Fido for Linux by notpushkin on Monday October 24, 2022 @07:32AM (#33315360)
You can do strict sandboxing on Linux, too (e. g. with Flatpak).
Re:WebAuthN and Fido for Linux by michaelt on Monday October 24, 2022 @09:40AM (#33316480)
Yeah, but that only sandboxes the applications that opt in.

If you want to stop malicious applications from doing malicious things, even when the system owner unwisely grants them permission, you need mandatory sandboxing that the system owner can't bypass.

And that isn't compatible with the free software ethos.

Re:WebAuthN and Fido for Linux by roblabla on Monday October 24, 2022 @10:06AM (#33316790)
I don't think that's necessarily true. All you need is default-on sandboxing that is "painfully obviously wrong" for the system owner to bypass. As a case in point, look at macOS. You can bypass almost every security feature in macOS by rebooting to recovery and disabling CSR, AMFI and whatnot. And even after disabling all this, touchID will still work, and I believe it will still be accepted as a platform authenticator.

I think something similar could be compatible with free software ethos.

Re:WebAuthN and Fido for Linux by notpushkin on Sunday October 30, 2022 @01:05AM (#33391271)
This exactly. Bypassing sandbox should be like installing software from tarball as opposed to package managers: possible but pretty much discouraged, an “escape hatch” of sorts.
Re:WebAuthN and Fido for Linux by georgyo on Monday October 24, 2022 @07:47AM (#33315494)
Android is Linux, and most of those sandboxing changes have been upstreamed.
Re:WebAuthN and Fido for Linux by e12e on Monday October 24, 2022 @10:16AM (#33316915)
There's https://www.sigstore.dev/ - but looks like the focus is on containers mostly (rather than eg refusing to load/exec an untrusted dll or binary).

See also some related discussion here:

https://lwn.net/Articles/733431/