#
…

2023-05-24

00:10jjanzic has quit [Read error: No route to host]
00:11jjanzic has joined #asahi
00:18nsklaus has quit [Remote host closed the connection]
00:33drubrkletern has quit [Remote host closed the connection]
00:47quarkyalice has quit [Remote host closed the connection]
01:27ptudor_ has joined #asahi
01:31ptudor has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:02valkyrie_pilot has joined #asahi
02:06valkyrie_pilot has quit [Quit: Textual IRC Client: www.textualapp.com]
02:17gabuscus has joined #asahi
02:35jeisom has quit [Ping timeout: 480 seconds]
02:40Mary has quit [Quit: The Lounge - https://thelounge.chat]
02:40Mary has joined #asahi
02:46ec0 has quit [Ping timeout: 480 seconds]
02:48ec0 has joined #asahi
02:54Brainium has quit [Quit: Konversation terminated!]
02:56das_j has quit [Remote host closed the connection]
02:58das_j has joined #asahi
03:49marvin24_ has joined #asahi
03:52marvin24 has quit [Ping timeout: 480 seconds]
04:10ec0 has quit [Remote host closed the connection]
04:11ec0 has joined #asahi
04:44possiblemeatball has quit [Quit: Quit]
05:06pthariensflame has joined #asahi
05:07crabbedhaloablut has joined #asahi
05:07pthariensflame has quit []
05:09Zopolis4 has joined #asahi
05:34darkapex2 has quit []
05:34darkapex has joined #asahi
06:34das_j has quit [Read error: Connection reset by peer]
06:37das_j has joined #asahi
06:45rvalue- has quit [Ping timeout: 480 seconds]
06:48rvalue has joined #asahi
07:03guillaume_g has joined #asahi
07:15kaazoo has joined #asahi
07:18Zopolis4 has quit [Quit: Connection closed for inactivity]
07:40nimprod3l has joined #asahi
08:11nimprod3l has quit []
08:21MajorBiscuit has joined #asahi
08:21MajorBiscuit has quit []
08:38bisko has joined #asahi
08:38darkapex has quit [Ping timeout: 480 seconds]
08:40das_j has quit [Remote host closed the connection]
08:42darkapex has joined #asahi
08:42das_j has joined #asahi
08:52whyirc has joined #asahi
08:53whyircHello everyone
08:53whyircI have to buy a new laptop today/tomorrow, but it will be delivered in a month or even two
08:54whyircAnd the final question is - m1 pro or m2 pro
08:55whyircI'm more interested in a long term benefits of my choice, not the fact that i'll need to wait for some time that is <2-3 months for asahi support
08:57whyircSo the question is - can i expect m2 pro machines to be at least as supported as m1 pro in near future?
08:58whyircI understand that there's no simple answer, it would be really helpfull to me if you share your best guess about this
08:59whyircI'll be using it as a machine for heavy rust development and i don't really interested in GPU stuff
08:59ChaosPrincessi dont see why not
09:01whyircWell, it seems to me that this is quite possible because more users and developers have laptops on m1p than on m2p
09:01whyircAnd that's why i asking about it
09:03j`eym2p is being worked on by some of the devs currently, so yes, it will be supported
09:03whyircBig thanks
09:03whyircAnd i almost forgot about my final question
09:05whyircAs far as i understand for now any asahi-running macbook can be easy evil-maided by booting from usb via u-boot's interface
09:05ChaosPrincessthat is correct
09:05whyircIs it possible to disable (or even better - password-lock) usb-boot functionality?
09:07ChaosPrincessyou can disable u-boot shell and force it to always follow the boot script
09:07ChaosPrincessat which point, it becomes evil-maidable via grub :P
09:08whyircI plan to use systemd-boot anyway
09:08whyircAnd i know how to lock it
09:10pippperoi'd be interested in docs to achieve trusted boot with sysd-boot
09:10whyircIs there some other known easy ways of achieving successful evil maid on a asahi macbook (before grub/systemd-boot stage, at this point i have a pretty clear idea of what's going on and i don't think that i will be much different on apple silicon) if there's only firevault-enabled macos and uboot-locked asahi?
09:10abd has joined #asahi
09:10whyircMaybe some tricks with recovery
09:13ChaosPrincessif macos is filevault-enabled, recover asks for a user password before allowing you to do anything
09:13whyirc@pipppero I think that if I have free time and it will not be much more difficult than I expect, I will be able to make a secure boot at least in stage 1 m1n1
09:14whyircChaosPrincess, AFAIK in a dualboot asahi-macos setup there is 3 recoveries - 1TR, macos recoveryOS, asahi stub recoveryOS, am i correct?
09:15whyircWill 1TR and recoveryOS from asahi stub prompt me for a firevault password?
09:15ChaosPrincessyou arent quite correct as to the roles of the recoveries, but yes, there are 3 and they all prompt for filevault password
09:16whyircI have near-zero knowledge about macos internals apart from what i got by casually reading asahi wiki a week ago)
09:17whyircBig thanks for your explanation
09:24ChaosPrincessalso, maybe enable find my mac in macos
09:25ChaosPrincessits more theft-deterrence than anti-evil-maid, but that also increases security a bit
09:27whyircDoes it have any disadvantages in terms of privacy?
09:28whyircAnd is it possible to turn it on without apple id? I really don't want to use apple id it if it's not necessary
09:28ChaosPrincessi _think_ no
09:28pippperoi don't think you can
09:28pippperoit's tied to the findmy network
09:28pippperoi don't believe apple does wacky stuff with findmy data honestly
09:29ChaosPrincessfrom what i remember, if fmm is enabled, the device broadcasts its id encrypted with rotating keys that can only be decrypted with your apple id keys
09:30ChaosPrincessand just get an apple id, burner email, John Doe as the name, and you are all set :P
09:30whyirc> that can only be decrypted with your apple id keys
09:30whyircHow much do i "own" this keys?
09:31ChaosPrincessif you enable "advanced data protection", those are stored inside hsms on apple servers and are encrypted by your apple id password
09:31pippperoyou get a recovery key as well
09:32whyircLol, my private keys that are stored on a apple's server with password that they can be easily capture then i log in
09:32whyircSounds funny
09:32ChaosPrincessbut they also can just sign an evil firmware with their keys and there is nothing you can do about it :P
09:33pippperoas usual, this kind of stuff depends on your threat model
09:33whyircI want to protect myself form a passive data collection first
09:34pippperoi wouldn't use a mac then, considering you don't 100% own the hardware
09:34pippperobut nowadays, who does?
09:34whyircAnd only second from malicious firmware updates
09:34ChaosPrincessthen enable fmm, and dont boot macos ever
09:34whyirc@pipppero everything else is worse in a order of magnitude(
09:35ChaosPrincesspipppero: talos :P
09:35pippperoi never followed the modern powerpc saga, you really own it?
09:35whyircLaptop > pc
09:36pippperounless you own the fab that fabbed the chip, you never own anything! :^)
09:37waldiand modern nics got low bandwidth side band access for secondary processors. so you are not even safe from the flash chip
09:38pippperocomputers were a mistake
09:39bps has joined #asahi
09:39giskard has joined #asahi
09:40ChaosPrincess"i own a printer and a gun in case it makes a noise i dont recognize"?
09:43whyircWe can't know for sure, so it's bett to use probabilities. I think that even with the fact that apple is obviously evil, for me a macbook with asahi will be a far better choice than x86 laptops. Linux laptops with coreboot (system76, starlabs, etc) just don't have basic firmware security features such as boot guard, so it's just trash.
09:43whyircI'm missing the edit button...
09:44whyircCorporate dell and lenovo cost about the same (and sometimes more!) than a macbook, while having much worse performance, energy efficiency and everything in general, they are not much more trustworthy than apple, and given that this is a typical x86 with just fucking large attack surface, why when there is macbook + asahi?
09:44pippperoif your threat model is fine with the amount of trust that you have to give to apple, then everything is fine
09:44whyirc has quit [Quit: Page closed]
09:44whyirc has joined #asahi
09:45zockeri would rather trust apple and macos than f** lenovo
09:47whyircThe problem is that you need to trust manufacturer anyway, and in case of a macbook i trust only apple, in case of a for example some thinkpad/dell xps i need to trust intel, ami/insyde/etc, lenovo and probably even more
09:47whyircAnd apart from trust, there's much more attack surface on a typical x86 laptop then there's on a apple silicon platform, at least to my knowledge
09:48zockeras soon as asahi linux gets ready for mainstream use it will be a major security upgrade compared to all the x86 platforms
09:48pippperoapple *does* license IP blocks from other companies
09:48pippperoso you're trusting apple and whoever they trust
09:48whyircOther companies have a supply chain too
09:49whyircAnd my best guess will be that apple's supply chain is much shorter
09:49whyircBut i don't know
09:50zockeri know someone who went down this firmware rabbithole too deeply. he's still stuck on a thinkpad x230 because of that. :D
09:50whyircSo i think that in a lot of use cases macbooks are just better for linux
09:52pippperoi think macbooks are better for linux because the hardware makes for a better experience overall
09:52pippperoi've been preaching this since i got a retina 13" in 2013
10:01whyirc has quit [Quit: Page closed]
10:16nsklaus has joined #asahi
10:27gladiac has joined #asahi
10:30giskard has quit [Ping timeout: 480 seconds]
10:54abd has quit [Remote host closed the connection]
11:20jeisom has joined #asahi
11:39Guest1130 has quit []
11:39vx has joined #asahi
11:39vx is now known as Guest1222
11:51whyirc has joined #asahi
11:52abd has joined #asahi
11:52whyirc has quit []
12:10alarmer has joined #asahi
12:15Guest1222 has quit []
12:15vx^ has joined #asahi
12:25jess has quit []
12:26giskard has joined #asahi
12:42alarmer has quit [Ping timeout: 480 seconds]
12:55abd has quit [Ping timeout: 480 seconds]
13:13possiblemeatball has joined #asahi
14:00brolin has joined #asahi
14:17Armlin has joined #asahi
14:30alyssa has left #asahi [#asahi]
14:31delsol has joined #asahi
14:35bps has quit [Ping timeout: 480 seconds]
14:53darkapex1 has joined #asahi
14:54darkapex has quit [Remote host closed the connection]
14:59gladiac has quit [Quit: k thx bye]
15:00gladiac has joined #asahi
15:00gladiac has quit []
15:05bps has joined #asahi
15:08mohit815 has quit [Quit: The Lounge - https://thelounge.chat]
15:08mohit815 has joined #asahi
15:23i509vcb has quit [Quit: Connection closed for inactivity]
15:24bgb has joined #asahi
15:39bps has quit [Ping timeout: 480 seconds]
15:43bps has joined #asahi
15:59marcanChaosPrincess: Find My isn't going to work properly with asahi
15:59marcanI mean the theft lock will, but not the actual location tracking
15:59ChaosPrincessthis is for theft lock
16:00ChaosPrincessso you can remotely disable dfu
16:00marcanthat's fine
16:00marcanjust don't expect any location tracking stuff to work :p
16:00marcanthat relies on the OS pushing that data to the bluetooth controller, which we obviously don't do
16:01marcanpipppero, whyirc: there is no room for passive data collection if you run asahi
16:02marcaniBoot doesn't have any network features and all the coprocessors are behind IOMMUs
16:02marcanthere is no all-powerful backdoor CPU like on x86 (ME, PSP)
16:02j`eynot even an all powerful exception level!
16:03marcanyou can also technically install asahi without ever putting the device online iff it comes with a firmware new enough already, and if it doesn't just DFU it (that tells apple someone did so but it's not like they can do anything about it after)
16:03marcanhowever, we don't really have a flow for 100% online in the installer
16:03marcan*offline
16:04bps has quit [Ping timeout: 480 seconds]
16:04marcanbut if you install from recovery mode (after going through macos initial setup, which you can do fully offline) it won't phone home to apple during install, it'll only grab stuff from their CDN.
16:04marcan(can't promise recovery mode itself won't phone home but it's certainly lower risk than full macos)
16:06marcanit's pretty easy to manually run the installer to pull the IPSW from a local HTTP server/copy (and the asahi stuff too if you're so inclined) and then it would truly be 100% offline, we just don't have a user friendly flow for it
16:18brolin has quit [Ping timeout: 480 seconds]
16:25brolin has joined #asahi
16:42Guest1144 has quit [Quit: Bridge terminating on SIGTERM]
16:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:44Putosounds like a lot of effort to install asahi on a stolen mac lol
16:55ellyq has joined #asahi
17:00ellyqhi folks, hope you don't mind me popping in :)
17:00derzahlmarcan: u around? sorry for offtopic, but i saw your name attached to some other code:) for lsirec, if my m1015 card is not seen at all (or by lspci or lsiutil) does that mean my card is unrecoverable? Card had RAID firmware and was visible on the pci bus, but disappeared after using megarec.exe to flash the sbrempty.bin and -cleanflash
17:04derzahlany commands with lsirec like "./lsirec 0000:01:00.0 writesbr sbr_new.bin" returns "open bar1: No such file or directory". btw, 000:01:00.0 shows up in lspci as a "PCIe Dummy Host Bridge" but i tried anyway
17:07bgb has quit [Ping timeout: 480 seconds]
17:19ellyqit should be fine as long as PCIPID matches, lemme try that (hope that's fine, since i'm not the one you asked for help)
17:25ellyqjust checked on my box, try changing 'resource1' to 'resource' on line 205 :)
17:28ellyqthat being said, you should have resource[0-3] exposed, check that's the case in /sys/bus/pci/devices/0000:01:00.0/
17:29derzahlellyq: oh you talking about lsirec.c? didnt realize at first:) let me try
17:31ellyqjust so happens that I have Perc H310 (SAS2008), so it should be the same for you: https://paste.centos.org/view/976384e7
17:32derzahlyes /sys/bus/pci/devices/0000\:01\:00.0/resource is there, no resource1
17:33ellyqi'm not familiar with firmware on these cards, but i'm positive it can be recovered in this case
17:34derzahllike i said, it shows up as a "PCIe dummy host bridge" so maybe thats not my HBA card? but i only have one pci slot
17:35ellyqi see, mind showing lspci -vvvnn?
17:37ellyqnope, it's not detected
17:42dottedmagmarcan: Nothing technically prevents "Find My" from working given right userspace, right? Something like https://github.com/seemoo-lab/openhaystack/tree/main/Firmware/Linux_HCI should work, there is no need to change firmware in Bluetooth module?
17:43derzahlellyq: so how to recover?
17:43derzahlor not possible?
17:44ellyqone moment, i'm reading about it
17:45brolin has quit [Ping timeout: 480 seconds]
17:46derzahlahhh hopium
17:47derzahli can still try recompiling lsirec with the change and running if you think its got a chance
17:49derzahlre: asahi installer: does that mean i can buy a cheap locked macbook on ebay and still put asahi on it??
17:52Armlin has quit [Remote host closed the connection]
17:52opticronI don't think asahi can magically unlock a locked macbook
17:56ellyqread this section derzahl, IOMMU has to be disabled (and of course specify correct device, don't assume it'll be the same on your system): https://github.com/marcan/lsirec#untested-procedure-to-convert-from-megaraid-to-itir-firmware-or-recover-a-bricked-card
18:00derzahlellyq: yes that is what I have followed. im using a ubuntu 18.04 live cd and have disablled IOMMU and vt extensions in the bios
18:01derzahlbut i have no idea what the pci address is since its not detected
18:02derzahlmy best guess was that maybe it was showing up as PCIe dummy device now
18:08ellyqdmesg might tell you more about it
18:12derzahlwent through it line by line
18:13derzahli do see that the mpt2sas modules loads
18:14derzahlor MPT driver.
18:15derzahlthis is the only line that stands out: [ 4202.604349] mptctl: /dev/mptctl @ (major,minor=10,220)
18:16derzahli was gonna try rebooting in legacy bios mode, even though i think i tried that before
18:17ellyqi'd try booting something with more up-to-date kernel, 18.04 is ancient
18:19derzahlyeh, but thats what marcan's github page says worked the best
18:20nicolas17 has joined #asahi
18:20derzahlwith lsirec. plus the card is ancient. But I have also tried freebsd 13, ubuntu 20 and 22 as far as just trying to see if the card is detected
18:20derzahland debian 10 since that was also recommended
18:22derzahlive read people saying that these cards can pretty much always be recovered, even if not showing in lspci... but I have not found any procedure for identifying the ghost card
18:25hightower2 has quit [Ping timeout: 480 seconds]
18:25jannauthis is very much off-topic here. please move the discussion to a different place
18:26ellyqagreed, some offtopic is fine, but that's too much
18:26delsolAre you talking about old LSI SAS HBA?
18:26delsolYou might try #hardware on libera. :)
18:29derzahlno problem
18:29guillaume_g has quit []
18:30derzahlwas just hoping marcan could tell me if my card is boned or not
18:30ellyqi tend to get too carried away trying to help others, sorry about that
18:31derzahlim in #hardware if you have any more ideas ellyq, thanks taking a look
18:31derzahl(on libera)
18:36delsol has quit [Remote host closed the connection]
19:02gladiac has joined #asahi
19:06___nick___ has joined #asahi
19:07___nick___ has quit []
19:09___nick___ has joined #asahi
19:18basso has quit [Quit: The Lounge - https://thelounge.chat]
19:18basso has joined #asahi
19:20brolin has joined #asahi
19:32timokrgr has quit [Read error: Connection reset by peer]
19:37quarkyalice has joined #asahi
19:42quarkyalice has quit [Remote host closed the connection]
19:44jeisom has quit [Quit: Leaving]
19:45WindowPain has quit [Read error: Connection reset by peer]
19:46jeisom has joined #asahi
19:46possiblemeatball has quit [Quit: Quit]
19:47WindowPain has joined #asahi
20:04kensan has quit [Remote host closed the connection]
20:05kensan has joined #asahi
20:28___nick___ has quit [Ping timeout: 480 seconds]
20:46darkapex1 has quit [Ping timeout: 480 seconds]
21:05darkapex1 has joined #asahi
21:25timokrgr has joined #asahi
21:25brolin has quit [Ping timeout: 480 seconds]
21:41compassion has quit [Ping timeout: 480 seconds]
21:46darkapex1 has quit [Remote host closed the connection]
21:46darkapex1 has joined #asahi
21:48quarkyalice has joined #asahi
22:28brolin has joined #asahi
22:28darkapex1 has quit [Remote host closed the connection]
22:28darkapex1 has joined #asahi
22:33hightower2 has joined #asahi
22:50compassion has joined #asahi
22:51bps has joined #asahi
22:57compassion has quit [Quit: lounge quit]
23:00bps has quit [Ping timeout: 480 seconds]
23:02brolin has quit [Ping timeout: 480 seconds]
23:06nsklaus has quit [Ping timeout: 480 seconds]
23:20compassion has joined #asahi
23:32compassion has quit [Quit: lounge quit]
23:32compassion has joined #asahi
23:34abd has joined #asahi
…