#
#asahi · 2024-07-18 13:19
d1w0usorry, i don't understand the conversation since "ion beam", but if there's an unsigned stage, that stage can be replaced by malware, infecting the whole following chain, i think it is not an easy task, but if you can't be sure that the binaries running are signed at least by a trusted CA, then in the future, maybe long future, apple machines with linux will be a target. am i wrong?
#asahi · 2024-07-18 13:18
chadmedyou can go buy a bunch of CVD and photolithography equipment of aliexpress and tape your own risc-v chips out if you want
#asahi · 2024-07-18 13:17
chadmedi tire of the "its not secure unless i have verified the photomask" larper crowd
#asahi · 2024-07-18 13:16
chadmedat the end of the day it is what it is, its not like its impossible to implement a secure boot chain or anything
#asahi · 2024-07-18 13:15
svenit's also a different threat model. ms defends against "our users want to pirate games so if cost of attack > 10 * price of a single game" eveerything's fine
#asahi · 2024-07-18 13:15
chadmedespecially considering the smartphone provenance of the soc
#asahi · 2024-07-18 13:15
chadmedyeah but apple has significantly more trillions of dollars than ms did 20 years ago and probably greater incentive to keep it all locked away
#asahi · 2024-07-18 13:15
svenat least the secure enclave will definitely have additional security features. they also do quite a lot to defend against glitching and power analysis
#asahi · 2024-07-18 13:14
chaos_princessreally? iirc xbox people was "if you can afford an ion beam, you deserve your hacked xbox" and most people had the same attitude
#asahi · 2024-07-18 13:13
sveni'm sure they have mitigations like security meshes and all that against ion beams :D
#asahi · 2024-07-18 13:13
chadmedits baked into the soc and also you would completely fuck up iboot and render the system totally irreparably bricked if you did
#asahi · 2024-07-18 13:13
chaos_princessbut yes, apple certs are in the bootrom
#asahi · 2024-07-18 13:12
chaos_princesswell, focused ion beam on 5 nm process :P
#asahi · 2024-07-18 13:12
chadmedyou cant
#asahi · 2024-07-18 13:10
d1w0uI mean, by flashing it on the propper chip
#asahi · 2024-07-18 13:10
d1w0uwhat about replacing Apple's Root CA by Microsoft's or personal one?
#asahi · 2024-07-18 13:04
d1w0uchadmed, chaos_princess thanks
#asahi · 2024-07-18 12:51
chadmedm1n1 already has some facilities for securing the boot chain and some form of secure boot will be supported in the future
#asahi · 2024-07-18 12:50
chadmedwe need to glue the two worlds together, and for that we need sep. your macos stub/m1n1 stage 1 will _always_ be "untrusted" according to SEP/iBoot though
#asahi · 2024-07-18 12:49
chadmedin apple world "signed" means signed by apple. it refers to the mach-o being jumped to by iboot and not some random thing after that and also has nothing to do with uefi
#asahi · 2024-07-18 12:49
chaos_princessit will be supported eventually, but for that os the setting will remain at "permissive security", "signed os" in apple-speak = macos
#asahi · 2024-07-18 12:49
chadmedthe platform is not UEFI and does not have microsoft's keys at the trust root (the SEP), so UEFI Secure Boot is entirely meaningless at every stage before u-boot
#asahi · 2024-07-18 12:48
d1w0uchadmed, will it be supported? I searched and Apple let's to set Medium Security, allowing to boot any signed OS. I thought that Fedora & Ubuntu are allowed to be verified by Microsoft's Root CA. Is it because there's a "new" OS?
#asahi · 2024-07-18 12:45
chadmedthere is no trust root and no efi variable storage
#asahi · 2024-07-18 12:44
chadmedd1w0u: it is not yet supported
#asahi · 2024-07-18 12:35
d1w0uHi, I am searching information to enable Secure Boot, sign the U-Boot and the Kernel, but I can't find any information.
#asahi · 2024-07-18 10:57
chadmedit might already even be known and just not wired up
#asahi · 2024-07-18 10:57
chadmedthere will be some dcp callback somewhere to do it
#asahi · 2024-07-18 10:57
chadmedyeah
#asahi · 2024-07-18 07:49
LarstiQright, so some reverse engineering needed
#asahi · 2024-07-18 07:23
chadmedthe dcp firmware has it stored somewhere in some format
#asahi · 2024-07-18 07:23
chadmedthe job of our driver is to answer calls from the drm api and get the data from the hardware and give it back to whoever asked for it in the format its expected in
#asahi · 2024-07-18 07:22
chadmedthe firmware probably has it somewhere in some data structure but its entirely specific
#asahi · 2024-07-18 07:09
LarstiQhow particular is that to the hardware?
#asahi · 2024-07-18 07:07
LarstiQchadmed: that would explain it :)
#asahi · 2024-07-18 06:55
chadmedLarstiQ: we havent hooked up EDID/DisplayID yet
#asahi · 2024-07-18 06:38
LarstiQI'm having some trouble with Kanshi since I only seem to get HDMI-A-1 as indentifier I can't distinguish between different monitors, is that just me or also for other people?
#asahi · 2024-07-17 15:56
sprokkelOke, that sounds like a plan! Thank you chaos_princess.
#asahi · 2024-07-17 15:55
chaos_princesstry doing it inside a 4k vm, most of android is compiled for 4k pages only
#asahi · 2024-07-17 15:53
sprokkelQuestion: Is "waydroid" (android container) supposed to work on asahi? I'm getting an OSError: container failed to start.
#asahi · 2024-07-17 10:09
mkurzI just wanted to understand what I do before I fuck things up
#asahi · 2024-07-17 10:09
mkurzget it
#asahi · 2024-07-17 10:09
mkurzj`ey: ah ok, so for booting and running does not matter but for certain commands
#asahi · 2024-07-17 10:09
j`eymkurz: to upgrade grub etc
#asahi · 2024-07-17 10:08
j`eyoh, I guess that actually the first step to comment it out, is neede so that linux doesnt try to mount the wrong efi
#asahi · 2024-07-17 10:08
mkurzj`ey: what is this partition used then in linux?
#asahi · 2024-07-17 10:08
j`eythat guide says to do it from linux, but you can do it from macos
#asahi · 2024-07-17 10:08
mkurzj`ey: ok that's what I wanted to here ;)
#asahi · 2024-07-17 10:08
mkurzbecaus I need to be in Linux to update to correct UID or not?
#asahi · 2024-07-17 10:08
j`eyyeah you can boot fine without efi being mounted

plus ›