2023-03-20
00:11ten157237743 has joined #asahi
01:22Z750 has quit [Quit: Ping timeout (120 seconds)]
01:23Z750 has joined #asahi
01:24Soni has quit [Ping timeout: 480 seconds]
01:38Hibyehello_ has joined #asahi
01:42Hibyehello has quit [Ping timeout: 480 seconds]
02:22ptudor_ has joined #asahi
02:23ptudor has quit [Ping timeout: 480 seconds]
02:35Soni has joined #asahi
02:37amarioguy has quit [Remote host closed the connection]
03:00vitalino has quit [Remote host closed the connection]
03:01ptudor_ has quit [Read error: No route to host]
03:06ptudor has joined #asahi
03:11alyssa has joined #asahi
03:13balrog has quit [Read error: No route to host]
03:15balrog has joined #asahi
04:05Zopolis4 has joined #asahi
04:11pyropeter1 has joined #asahi
04:13PyroPeter_ has quit [Ping timeout: 480 seconds]
04:22possiblemeatball has quit [Quit: Quit]
04:34baozich has joined #asahi
04:40nela has quit [Quit: bye!]
04:41nela has joined #asahi
04:41marvin24 has joined #asahi
04:45marvin24_ has quit [Ping timeout: 480 seconds]
04:46julio7359 has quit [Ping timeout: 480 seconds]
04:47salimterryli has quit [Quit: ZNC - https://znc.in]
04:48salimterryli has joined #asahi
05:00julio7359 has joined #asahi
05:13julio7359 has quit [Ping timeout: 480 seconds]
05:23darkapex2 has quit []
05:24darkapex has joined #asahi
05:24baozich has quit [Ping timeout: 480 seconds]
05:25julio7359 has joined #asahi
05:32baozich has joined #asahi
05:47bluetail3 has quit [Ping timeout: 480 seconds]
05:51julio7359 has quit [Ping timeout: 480 seconds]
05:57lucenera has quit [Quit: The Lounge - https://thelounge.chat]
05:58lucenera has joined #asahi
06:26penguwin has joined #asahi
06:27bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:27baozich has quit [Ping timeout: 480 seconds]
06:49baozich has joined #asahi
07:02baozich has quit [Ping timeout: 480 seconds]
07:07unicordion has quit [Ping timeout: 480 seconds]
07:35baozich has joined #asahi
07:47bisko has joined #asahi
08:32nyilas has joined #asahi
08:37guillaume_g has joined #asahi
08:47giskard has joined #asahi
09:07chadmed_ has joined #asahi
09:07chadmed has quit [Read error: Connection reset by peer]
09:12baozich has quit [Ping timeout: 480 seconds]
09:17baozich has joined #asahi
09:26bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:52bisko has joined #asahi
09:53ChaosPrincessthe updater is not great and needs a lot of free space to not fail. the os itself isnt that big.
09:53ChaosPrincessand y'all kinda making me feel like im lucille from arrested development asking how much a banana could cost :P
10:10the_CLA has joined #asahi
10:10the_CLA_2 has quit [Ping timeout: 480 seconds]
10:28baozich has quit [Ping timeout: 480 seconds]
10:30roxfan has joined #asahi
10:34baozich has joined #asahi
10:37roxfan2 has quit [Ping timeout: 480 seconds]
11:04mpssorry for more OT, I still have armv7 chromebook with 16GB emmc which I used as my workstation for long time and I would still use it if I didn't bought m1
11:10zanfix has joined #asahi
11:16zanfixHi! question: is it safe right now (today) to update my ALARM KDE installation on Macbook air M1 with pacman -Syu? I was reading about the various problems in the last week...
11:22bcrumb has joined #asahi
11:26baozich has quit [Ping timeout: 480 seconds]
11:46baozich has joined #asahi
11:57baozich has quit [Ping timeout: 480 seconds]
12:08baozich has joined #asahi
12:09bcrumb has quit [Quit: WeeChat 3.8]
12:10jmsunseri_ has joined #asahi
12:10vitalino has joined #asahi
12:12jmsunseri_pardon me if this is a dumb question but i see a lot of M1 mac mini on ebay selling for nothing because they are locked. if i wanted to remove macos and replace with linux would i be able to do it with one of these machines? or would the lock still prevent me from doing so?
12:20ChaosPrincessthe lock will prevent you from doing so
12:20ChaosPrincessthose are bricks, only useful for parts
12:20jmsunseri_so sad
12:21jmsunseri has joined #asahi
12:22jmsunseri_ has quit [Quit: Page closed]
12:24baozich has quit [Ping timeout: 480 seconds]
12:27jmsunseri has quit [Quit: jmsunseri]
12:32vitalino has quit [Remote host closed the connection]
12:44baozich has joined #asahi
12:44hightower4 has quit [Ping timeout: 480 seconds]
12:55baozich has quit [Remote host closed the connection]
12:55baozich has joined #asahi
13:03zanfix has quit [Quit: Konversation terminated!]
13:03baozich has quit [Ping timeout: 480 seconds]
13:07zanfix has joined #asahi
13:14zanfixDid I ask a dumb question? My system i stable at the moment, I'm asking just not to screw up my installation...
13:23hightower2 has joined #asahi
13:25ximet has quit [Quit: The Lounge - https://thelounge.chat]
13:25ximet has joined #asahi
13:32unicordion has joined #asahi
13:34Zopolis4 has quit []
13:39possiblemeatball has joined #asahi
13:41Brainium has joined #asahi
13:44leitao has joined #asahi
13:44Brainium has quit []
13:52zanfix has quit [Quit: Quit]
14:05ChaosPrincessit is
14:05ChaosPrincessbut some people do not know it yet
14:06ChaosPrincessand it only bricks the soc, you can still harvest stuff like psus, chassi, probably desolder some chips.
14:06ChaosPrincessso the market exists
14:06delsol has joined #asahi
14:21WindowPain has joined #asahi
14:25leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:26WindowPa- has quit [Ping timeout: 480 seconds]
14:26unicordion has quit [Quit: Konversation terminated!]
14:55zanfix has joined #asahi
14:59giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
14:59zanfix has quit [Read error: Connection reset by peer]
15:02giskard has joined #asahi
15:07leitao has joined #asahi
15:12bluetail3 has joined #asahi
15:16possiblemeatball has quit [Quit: Quit]
15:29unicordion has joined #asahi
15:30rosefromthedead has joined #asahi
15:31rvalue has quit [Remote host closed the connection]
15:31rvalue has joined #asahi
16:00unicordionw00t!
16:11julio7359 has joined #asahi
16:23guillaume_g has quit []
16:43possiblemeatball has joined #asahi
17:00leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:01leitao has joined #asahi
17:05alyssa has quit [Quit: leaving]
17:06unicordion has quit [Quit: Konversation terminated!]
17:07emberdex has joined #asahi
17:08emberdexHi, are PRs being accepted to the GitHub repos at this time? I have a small PR up on the asahi scripts repo and didn't even stop to think about whether they were even being accepted
17:08unicordion has joined #asahi
17:12unicordion has quit []
17:23ChaosPrincessin my experience - they are, but you need to annoy important people enough for it to happen :P
17:28Moprius has joined #asahi
17:29Brainium has joined #asahi
17:30emberdex has left #asahi [#asahi]
17:30unicordion has joined #asahi
17:31gladiac is now known as Guest8347
17:31gladiac has joined #asahi
17:37Guest8347 has quit [Ping timeout: 480 seconds]
17:39possiblemeatball has quit [Remote host closed the connection]
17:44Moprius has quit [Quit: bye]
18:04qwe has joined #asahi
18:12giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
18:12chadmed_ has quit [Ping timeout: 480 seconds]
18:15alxdrl has joined #asahi
18:21___nick___ has joined #asahi
18:24chadmed_ has joined #asahi
18:26___nick___ has quit []
18:28___nick___ has joined #asahi
18:29___nick___ has quit []
18:31___nick___ has joined #asahi
18:31qweHi folks. I'm doing some small research for a class on cryptography, revolving around the question "how needed is firmware security and authentication on modern x86 computing devices?"
18:31qweIt occurs to me that, since Apple does so many things differently and has so many firmware blobs for e.g. RTKit on the GPU firmware, perhaps it would be helpful to ask the following to aid my research:
18:32qweIt occurs to me that, since Apple does so many things differently and has so many firmware blobs for e.g. RTKit on the GPU firmware, perhaps it would be helpful to ask the following to aid my research:
18:32qweHow many pieces of firmware blobs must be uploaded to the M-series in order to make various aspects of the device functional, *and* are signed/have a tamper-proof mechanism?
18:33qweI've been stalking the Asahi Linux project since its inception and I'm not personally aware of any documentation of this, but if there is such docs I'd be happy to go dig in to them
18:33ChaosPrincesshttps://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon#firmware-overview
18:34ChaosPrincessno, pmuch everything is signed
18:35ChaosPrincessif loaded by is 'secureRom', iboot1 or iboot2 - means its signed and tamperproof
18:36leitao has quit [Ping timeout: 480 seconds]
18:37qweso for instance one could modify and upload their own Touch Bar firmware, since the OS loads it?
18:37ChaosPrincessyes, you can
18:37ChaosPrincessi even techincally did it, by accident :P
18:37ChaosPrincessas in - i screwed up the upload code and uploaded parts of it wrong
18:38ChaosPrincessits only verified by the macos
18:38bcrumb has joined #asahi
18:38ChaosPrincessnot by tamper-proof iboot or on-chip things
18:39marcanright, which only means it can be modified the same way the main OS can be modified (which still has a bunch of process to make it secure)
18:40ChaosPrincesswe are technically not nearly as tamperproof as macos unless the user does a bunch of extra work
18:40marcanput another way: you have to distinguish between firmware that can be tampered with *persistently* and which is stored in off-SoC storage, and firmware that can be tampered with *transiently* but which is ultimately loaded by the OS, and therefore trustworthy if the OS itself is.
18:40marcanChaosPrincess: no, what I'm saying is the installer is in charge of following through apple's process so you can install it at all
18:40qwemy learning goals are sorta tangential to that point, if I'm not mistaken; my understanding is that currently, Secure Boot on x86 inherently allows you to tamper with firmware blobs that can be uploaded and are blindly trusted
18:41ChaosPrincessisnt firmware extraction mostly cuz legal reasons
18:41ChaosPrincessas in - we cant redistribute it
18:41qwemy extremely simple thought in my head is "tell the camera firmware not to turn the camera light on when the camera is on"
18:41ChaosPrincessthat one is impossible
18:42ChaosPrincessthere is a non-reprogrammable fpga (oxymoronic, but still is) in charge of that
18:42qweor perhaps have a rogue Thunderbolt controller allow DMA in any case, which I believe is exactly what Thunderspy accomplishes
18:42ChaosPrincessthunderspy is impossible if you do not misconfigure the darts
18:42ChaosPrincessdart = iommu in x86 speak
18:42marcanthe thunderbolt controllers are internal and the firmware (which doesn't even have the access to do that) is signed anyway
18:42qweChaosPrincess: Is that particularly in the case of Macs, or are all cameras in laptops this way?
18:43marcanMacs in particular, because Apple cares about all this quite a bit more than the x86 world
18:43ChaosPrincessqwe: arm macs, other laptops do whatever they want
18:43ChaosPrincessx86 secureboot is a lot less secure than what apple made here
18:43qwemarcan: Right, which is why I feel that this is an appropriate conversation to have with you all
18:44marcantbh I don't know much about x86 secureboot so it's hard for me to provide very specific context, but that wiki page that was linked is a pretty good overview of how it all works in practice :)
18:44ChaosPrincessx86 is not inherently less secure
18:44ChaosPrincesslike, think xbox one and newer
18:44qwethat's true, isn't it? I don't have a deep insight into the Xbox security platform, but they don't mess around
18:45marcanMS is basically the only vendor that can somewhat get somewhere close to where Apple is on that front
18:45marcanand to do that they had to get AMD to make custom silicon for them to their specification and actually designed part of it
18:45marcan(Sony tried and failed a bunch of times, even though they were working with the same AMD)
18:46ChaosPrincessarguably sony failed not due to earlyboot level exploits
18:46marcan(want to know why? MS hired the Xbox hackers and Apple hired the iPhone hackers. Sony did not hire the Playstation hackers.)
18:46ChaosPrincessps4 is usually hacked via webkit
18:46ChaosPrincessgoogle AMD SME/TSME
18:47ChaosPrincesstransparent?
18:47marcanChaosPrincess: sony failed due to earlyboot stuff lol, we owned the PS4 via PCIe injection due to bad IOMMU perms
18:47ChaosPrincessdid y'all get persistence?
18:48ChaosPrincessi mean, hats off, but thats not exactly ps3 and lower level fails
18:48ChaosPrincessi might disagree, i poked at ps5's bd jvm, holy shit the shitshow that is there is something extra
18:49ChaosPrincesslike, im newbie af at those and even i could own userland there
18:49ChaosPrincessyea, i seen that talk
18:50svenlol, i wrote some other research papers during to my PhD and that ps3 stuff is still cited more often than those :D
18:51marcan(meanwhile the PS4 PCIe anecdote is a favorite of the hardware hacking world, I just got quoted on hackaday again :p)
18:51qwemarcan: coming back to secure platforms: how is it the case that Thunderspy is not possible if you don't screw up your IOMMUs?
18:51ChaosPrincessyou cant write to arbitrary locations in system memory over tb
18:51ChaosPrincessiommu will say no
18:52ChaosPrincessiommu is between tb controller and soc memory
18:52ChaosPrincess(logically, physically its all on same soc)
18:53marcanqwe: everything is inside one chip on AS, and the DART is only controlled by the OS, and the TB firmware is signed anyway so you can't just compromise it like you can on intel
18:53ChaosPrincessyea :P
18:53sveneven if you can override the thunderbolt firmware (which might actually be possible since it seems to be inside some weird MMIO mapped thingy) you can’t bypass the iommu
18:53ChaosPrincesseven on x86 you can also iommu the thunderspy away
18:53ChaosPrincessjust dont screw up your drivers
18:54ChaosPrincessand have an iommu in the first place
18:56qwedo you all have any other obvious examples of how an insecure firmware on a device could be used as a drive-by attack on a computing device?
18:57ChaosPrincessactually, maybe AS is an example, macos had a bug in DCP firmware, and rather lax iommu config
18:57ChaosPrincessso some malware used it to pivot
18:59marcanDCP had a lovely callback to ask the OS to give it access to random memory, and the instant I saw that I knew we were checking against a whitelist.
18:59qwethanks for the link, and the story. Project Zero is fairly reliable, I think I'll have no trouble including it into my presentation
19:00marcanthere's also that talk Lina gave on her AGX exploit that can pivot from a shader to full system compromise
19:01qweshe's not in here, is she? I'd love to give a +1 to "here's an interested student!" if possible
19:01ChaosPrincessyea, getting an en version would be nice, i know only like 3 words in jp :P
19:02delsol has quit [Remote host closed the connection]
19:03delsol has joined #asahi
19:03qweis it an inherent prerequisite to being good at hacking that you keep a horrifying sleep schedule?
19:04alxdrl has quit [Quit: Konversation terminated!]
19:05ChaosPrincessoh, so 4 am is the benchmark, and here me thinking that i can achieve something with only 2am :P
19:08bcrumb has quit [Quit: WeeChat 3.8]
19:08sventhe hacking thing at least for me usually was „just one more attempt and it’s totally gonna work” and suddenly it’s 6am
19:11delsol has quit [Ping timeout: 480 seconds]
19:15Cyrinux9 has quit []
19:15Cyrinux9 has joined #asahi
19:16mkurzQuestion: Until now I was using xorg but will be switching to wayland now since it is recommend now according to todays release blog post. However, will all the KDE "System settings" be preserved or do I need to reconfigure everything?
19:17ChaosPrincessyou will lose some settings, like dpi configs and such
19:18ChaosPrincessiirc they did
19:28mkurz has quit [Quit: Leaving]
19:28mkurz has joined #asahi
19:30mkurz has quit []
19:31Cyrinux9hello! thx for the last update, im on a m2 air, should I be able with the last update to get OpenGL version: 3.2 in supertuxkart ? a friend update on a m1 pro, he got OpenGL version: 3.2, and its stuck on opengl 2.1 on mine :)
19:46jacksonchen666 has joined #asahi
19:50Techcable_ has joined #asahi
19:50Techcable has quit [Read error: Connection reset by peer]
19:51Cyrinux9ha, sorry for the noise, it was a bad combo for the m1 pro, after update and reboot, opengl 2.1 like my m2 air.
19:51brad_ has joined #asahi
19:55unicordion has quit [Ping timeout: 480 seconds]
20:01mkurz has joined #asahi
20:04mkurzI just upgraded my Macbook Pro M1 Pro to the latest edge linux/mesa, switched to Wayland, set Scala to 150% and disabled "Force Font DPI" but I have the feeling everything is quite small and the fonts the fonts are not correctly rendered...
20:09rvalue has quit [Quit: ZNC - https://znc.in]
20:11mkurz has quit [Quit: Leaving]
20:11gabuscus has joined #asahi
20:12jacksonchen666 has quit [Remote host closed the connection]
20:13rvalue has joined #asahi
20:16mkurz has joined #asahi
20:16ioldoortileotm^ has joined #asahi
20:16mkurzjannau: it's better now. However 150% was to small for my eyes, so I ended up with with 200%
20:17jacksonchen666 has joined #asahi
20:19mkurzjannau: It was ok with 150% as well after log out/login, however it just was to small for me
20:19qweis that bug where GTK3 apps display the cursor as enormous with KDE fractional scaling still present?
20:28mkurz has quit [Quit: Leaving]
20:36mkurz has joined #asahi
20:37mkurzIs WebGL2 working in Chromium? In chrome://gpu/ it says "WebGL2: Hardware accelerated" but e.g. https://summer-afternoon.vlucendo.com/ shows "Seems like WebGL2 is not supported by your browser"
20:38opticronbluetail3, synergy and barrier are applications that allow you to share a keyboard/mouse across any number of machines with monitors
20:43bluetail3opticron have another reason too. On my particular system wayland crashes all the time on sway, but I need such manager, cause I want rules to put windows in place. I tried this extensively and it just didnt workout on anything but i3/sway.
20:43bluetail3theres apparently quite a bit of bugs with wlroots/sway that are still not patched out
20:44bluetail3so my 6950xt just does amdgpu-reset, so does my nvidia gt930 that I could somehow run on sway..
20:46mkurz has quit [Remote host closed the connection]
20:52chadmed_ has quit [Ping timeout: 480 seconds]
21:00mkurz has joined #asahi
21:04___nick___ has quit [Remote host closed the connection]
21:06___nick___ has joined #asahi
21:06jacksonchen666 has quit [Remote host closed the connection]
21:09mkurz has quit [Quit: Leaving]
21:16Retr0idwhat do people use as a hypervisor, on asahi as host? Normally virtualbox is my go-to, but I don't see it in the repos, doesn't seem like aarch64 support for it is very mature either (although I'm attempting to build from source rn, will see how that goes...)
21:17jacksonchen666 has joined #asahi
21:19Retr0idI did give qemu a quick try, but it seemed like there was no support for gui frontends compiled in (no gtk, no sdl, and it defaulted to vnc)
21:20Retr0idwelp, the gnome-boxes package seems to be broken: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
21:22ptudor has quit [Ping timeout: 480 seconds]
21:23ptudor has joined #asahi
21:27Retr0idhm it wants uefi firmware, that's gonna be fun (or maybe I can do direct kernel boot, might be a pain tho)
21:49jacksonchen666 has quit [Quit: WeeChat 3.8]
22:20rainierraoul has joined #asahi
22:21rainierraoul has quit []
22:23rainierraoul has joined #asahi
22:28rainierraoul has quit [Quit: leaving]
23:14nyilas has quit [Remote host closed the connection]
23:19amarioguy has joined #asahi
23:19amarioguy has quit [Remote host closed the connection]
23:19amarioguy has joined #asahi
23:44artemist has quit [Quit: artemist]
23:45balrog has quit [Read error: No route to host]
23:47balrog has joined #asahi
23:51balrog has quit [Read error: No route to host]
23:51rory_be has joined #asahi
23:52balrog has joined #asahi