#asahi-dev · 2022-03-14 16:24
marcanyeah, looks like the raw stuff#asahi-dev · 2022-03-14 16:22
marcanthere's probably one somewhere, sure#asahi-dev · 2022-03-14 16:20
marcanah, does it actually report it itself? I thought we had it in the ADT#asahi-dev · 2022-03-14 16:17
marcanlinux console keymaps are a different thing, so that'd need a mapping; what does BSD use for the console?#asahi-dev · 2022-03-14 16:17
marcanmost generic thing I can think of in open source land is XKB layout names#asahi-dev · 2022-03-14 16:17
marcankettenis: any bright ideas for passing down the keyboard layout from ADT to DT for the laptops? particularly what mapping to use#asahi-dev · 2022-03-14 16:16
marcanhttps://github.com/linux-apfs/linux-apfs-rw#asahi-dev · 2022-03-14 13:50
marcaneventually I want to support that whole SEP-backed/xARTs/transparent encryption stuff from Linux, but that will take time#asahi-dev · 2022-03-14 13:49
marcanI'm guessing the underlying NVMe storage is encrypted with some other device key anyway before it hits NAND, and that would apply to the entire namespace/device, but there's no real way to verify that from Linux#asahi-dev · 2022-03-14 13:48
marcanthe difference is on iOS you never need the passcode to mount it overall, on macOS you do if FileVault is enabled#asahi-dev · 2022-03-14 13:47
marcansame as on macOS#asahi-dev · 2022-03-14 13:47
marcanand to mount that subvolume you need to talk to SEP first and have xARTs up#asahi-dev · 2022-03-14 13:47
marcaneverything is plaintext except the user data subvolume#asahi-dev · 2022-03-14 13:47
marcaniOS does the same thing partition-wise, by the way#asahi-dev · 2022-03-14 13:47
marcani.e. with FileVault on, there is no class D any more#asahi-dev · 2022-03-14 13:46
marcan(which is a bit different since no such volume-wide class C mechanism actually exists on iOS)#asahi-dev · 2022-03-14 13:46
marcanwith FileVault on, that effectively upgrades the entire volume to class C#asahi-dev · 2022-03-14 13:46
marcanwith FileVault off, this is equivalent to class D on iOS#asahi-dev · 2022-03-14 13:44
marcanand then individual files can have their own tweak or whatever and the data protection classes are implemented like that#asahi-dev · 2022-03-14 13:44
marcanall that FileVault does is change whether the user login is part of the key unwrapping for that volume key (as protected by the xART mechanism) or not#asahi-dev · 2022-03-14 13:44
marcanand that subvolume is always encrypted regardless of whether FileVault is enabled or not#asahi-dev · 2022-03-14 13:43
marcaneither way, from the point of Linux's NVMe driver, everything on disk is plaintext except for the Data subvolume for macOS#asahi-dev · 2022-03-14 13:39
marcanand then there should be a flag that tells ANS whether to use the xART key generation process or not#asahi-dev · 2022-03-14 13:38
marcanpresumably that key field is for a per-file tweak key or so#asahi-dev · 2022-03-14 13:38
marcanthere's a backchannel between SEP and ANS#asahi-dev · 2022-03-14 13:38
marcanthe key never leaves SEP#asahi-dev · 2022-03-14 13:36
marcanthat's how the protection classes are implemented, and presumably also the general FileVault wrapping for that subvolume#asahi-dev · 2022-03-14 13:36
marcanthere is#asahi-dev · 2022-03-14 13:34
marcanand https://support.apple.com/guide/security/data-protection-classes-secb010e978a/web#asahi-dev · 2022-03-14 13:34
marcanalso https://support.apple.com/guide/security/volume-encryption-with-filevault-sec4c6dc1b6e/web#asahi-dev · 2022-03-14 13:33
marcanwhat FileVault does is, effectively, make the entire Data volume equivalent to class C#asahi-dev · 2022-03-14 13:32
marcankgarrington: you're confusing the Data Protection stuff with how the encryption actually works#asahi-dev · 2022-03-14 13:30
marcanyou're confusing the Data Protection stuff with how the encryption actually works#asahi-dev · 2022-03-14 13:25
marcanbut that's not different from any other self-encrypting SSD as far as Linux is concerned#asahi-dev · 2022-03-14 13:25
marcanthe low-level full disk encryption should be there as far as I know, and should be transparent to us, since the NVMe controller ought to do that#asahi-dev · 2022-03-14 13:23
marcannothing else is encrypted#asahi-dev · 2022-03-14 13:23
marcanFileVault is very specifically encryption of the Data subvolume of the APFS container for macOS#asahi-dev · 2022-03-14 13:23
marcankgarrington: FileVault is not full disk encryption#asahi-dev · 2022-03-14 13:22
marcandoes exactly what we want with, like, three config files#asahi-dev · 2022-03-14 13:22
marcanI discovered https://calamares.io/ :)#asahi-dev · 2022-03-14 13:22
marcanI think it's just "any machine owner" for security reasons#asahi-dev · 2022-03-14 13:22
marcanI don't think it has to be your FileVault password per se, we don't care about the encrypted volume#asahi-dev · 2022-03-14 13:21
marcanso yes there should be an extra authentication step#asahi-dev · 2022-03-14 13:21
marcanI haven't tested the new step2.sh process but given how it goes through the volume scan, it should ask you for your password just like the old terminal method did#asahi-dev · 2022-03-14 13:18
marcanthat's been fixed#asahi-dev · 2022-03-14 13:18
marcanthe installer should work with FileVault enabled#asahi-dev · 2022-03-14 13:18
marcandefine "support FileVault"?#asahi-dev · 2022-03-14 13:15
marcanwe now have a setup wizard for the KDE release :D#asahi-dev · 2022-03-14 13:15
marcancheck this out: https://photos.app.goo.gl/xf3dFZnDRidTAvgE8#asahi-dev · 2022-03-14 13:15
marcanahaaaa, this was too easy