Readit News logoReadit News
h4x0rr commented on Notepad++ supply chain attack breakdown   securelist.com/notepad-su... · Posted by u/natebc
black_knight · 5 days ago
I think we could get a lot further if we implement proper capability based security. Meaning that the authority to perform actions follows the objects around. I think that is how we get powerful tools and freedom, but still address the security issues and actually achieve the principle of least privilege.

For FreeBSD there is capsicum, but it seems a bit inflexible to me. Would love to see more experiments on Linux and the BSDs for this.

h4x0rr · 5 days ago
Eli5, what is that supposed to mean?
h4x0rr commented on Swift is a more convenient Rust (2023)   nmn.sh/blog/2023-10-02-sw... · Posted by u/behnamoh
willtemperley · 8 days ago
Most Swift compilation slowness can be avoided by componentizing using packages, plus a few tricks like being explicit with types rather than relying on type inference.

I’m not sure why you’re having so much trouble with SPM though, most people seem to get on well with it.

h4x0rr · 8 days ago
Using explicit types is less fun though
h4x0rr commented on ISO PDF spec is getting Brotli – ~20 % smaller documents with no quality loss   pdfa.org/want-to-make-you... · Posted by u/whizzx
h4x0rr · 18 days ago
Wouldn't lzma2 be better here since a pdf is more read heavy?
h4x0rr commented on The Vietnam government has banned rooted phones from using any banking app   xdaforums.com/t/discussio... · Posted by u/Magnusmaster
netc · a month ago
A phone given for repair by a non-technical person can be rooted without their knowledge. The repair person potentially can install malware. We cannot assume the owners of the rooted phone themselves have rooted the phone.
h4x0rr · a month ago
How would you root without resetting it?
h4x0rr commented on Kagi releases alpha version of Orion for Linux   help.kagi.com/orion/misc/... · Posted by u/HelloUsername
Fiveplus · a month ago
Hmm good point. The issue is also the distinction between widevine L1, i.e hardware-backed DRM and L3 (the software backed one).

Correct me if I'm wrong but to stream 4K, studios require a hardware root of trust and a verified media path. They need a guarantee that the video frames are decrypted inside a trusted execution environment and sent directly to the display without the OS kernel or user space being able to read the raw buffer.

AFAIK Windows and macOS provide this pipeline at the OS level. OTOH, ChromeOS gets 1080p/4K not because it has massive market share but cause the hardware and boot chain are locked down by the almighty Google.

On desktop Linux, where you have root access and can modify the kernel or compositor to inspect memory, there is technically no way to guarantee that secure path to the studios' satisfaction. Am I right in this assumption?

Unless the DRM providers change their threat model, which sounds unlikely to me. Or distros start shipping signed and locked-down kernel modules that prevent the user from being root, which is again unacceptable to most (me included), we will likely be capped at 720p for some time now.

h4x0rr · a month ago
As far as I understand, on the mobile implementation not even the OS can access the buffers. So even with root you can stream L1 content but not screen record it
h4x0rr commented on Rust cross-platform GPUI components   github.com/longbridge/gpu... · Posted by u/xvilka
h4x0rr · 3 months ago
Hola, finally a good rust ui framework that's not dependent on web
h4x0rr commented on What's New in C# 14: Null-Conditional Assignments   blog.ivankahl.com/csharp-... · Posted by u/ivankahl
rkagerer · 5 months ago
More concise? Yes.

More readable? I'm less convinced on that one.

Some of those edge cases and their effects can get pretty nuanced. I fear this will get overused exactly as the article warns, and I'm going to see bloody questions marks all over codebases. I hope in time the mental overhead to interpret exactly what they're doing will become muscle memory...

h4x0rr · 5 months ago
Oh come on just learn it properly it's not a big deal to read it

Loading parent story...

Loading comment...

h4x0rr commented on Android phones will soon reboot themselves after sitting unused for three days   arstechnica.com/gadgets/2... · Posted by u/namanyayg
kwanbix · 10 months ago
I don't get the difference. Today after 72 hours (3 days) my phone asks me for my password and won't accept biometrics. Also, this is a problem for all the people that use them as alarm clocks. I use Alarm Clock Xtreme for example.
h4x0rr · 10 months ago
The phone doesn't accept biometrics but is still in AFU state. Encryption keys are in memory.
h4x0rr commented on There are two types of dishwasher people   theatlantic.com/family/ar... · Posted by u/JumpCrisscross
pryelluw · 10 months ago
I’m in the process of adding a second dishwasher in the house. One for clean plates and one for dirty plates.
h4x0rr · 10 months ago
Ah yes, the genius lazy method You just need to keep in mind that there's much less space in a dishwasher than in a closet

u/h4x0rr

KarmaCake day273October 16, 2022View Original