-
Notifications
You must be signed in to change notification settings - Fork 34
AFPS Support #25
Comments
It's been a few years since I upgraded my mac, and don't use this anymore. I don't know what's required to support AFPS. I'd be happy to accept a PR. |
What do you use? Or have you found a method that allows you to bypass the need for this?
I have an alternative method where by I boot into one account and from there mount drives before launching into my own account, but that is a bit cumbersome.
… On Aug 23, 2017, at 00:10, Justin Ridgewell ***@***.***> wrote:
It's been a few years since I upgraded my mac, and don't use this anymore. I don't know what's required to support AFPS.
I'd be happy to accept a PR.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I switched to using a fusion drive got now :)
… Am 23.08.2017 um 13:36 schrieb Brian Aker ***@***.***>:
What do you use? Or have you found a method that allows you to bypass the need for this?
I have an alternative method where by I boot into one account and from there mount drives before launching into my own account, but that is a bit cumbersome.
> On Aug 23, 2017, at 00:10, Justin Ridgewell ***@***.***> wrote:
>
> It's been a few years since I upgraded my mac, and don't use this anymore. I don't know what's required to support AFPS.
>
> I'd be happy to accept a PR.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I upgraded to a new macbook without a cd drive, so I don't have a second hard drive anymore. Are you using AFPS? |
Yes that’s the main reason the old script does no longer work.
… Am 23.08.2017 um 19:25 schrieb Justin Ridgewell ***@***.***>:
I upgraded to a new macbook without a cd drive, so I don't have a second hard drive anymore. Are you using AFPS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Do you mean the install script? Or is it the unlock commands? |
I think both. It does not find any drives anymore on install and I think you no longer use core storage commands for mounting and unlocking but haven’t checked in detail.
… Am 23.08.2017 um 19:25 schrieb Justin Ridgewell ***@***.***>:
I upgraded to a new macbook without a cd drive, so I don't have a second hard drive anymore. Are you using AFPS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That's probably because of my horrible bash scripting. Can you give the output of diskutil cs info `mount | grep " / " | cut -d " " -f 1` |
Will do when I am at home. If it is the command from the installer without changes I can already give you the output: nothing :)
… Am 23.08.2017 um 19:58 schrieb Justin Ridgewell ***@***.***>:
That's probably because of my horrible bash scripting. Can you give the output of
diskutil cs info `mount | grep " / " | cut -d " " -f 1`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This is just one of the commands the installer runs, I'm trying to figure out what changed in the text we try to parse. |
Will do tonight :)
… Am 23.08.2017 um 19:58 schrieb Justin Ridgewell ***@***.***>:
That's probably because of my horrible bash scripting. Can you give the output of
diskutil cs info `mount | grep " / " | cut -d " " -f 1`
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Apfs has changed a lot.
|
Hi, I've made some modifications to the code that should allow this to work with APFS. It works when I run from terminal EXCEPT I'm asked to re-authorize halfway through execution and it doesn't work at all during startup (password is not found). I think it's an Apple issue in the SecItem calls as discussed here ... https://forums.developer.apple.com/thread/88888 So, it seems to be blocked until Apple fix this. I'm on 10.13.2 Beta (17C60c) btw, and can't validate against other versions. Simon |
@Taffjones That sounds very good. :-) Can you publish your changes? |
Ok, but the install script isn’t updated yet (I modified the keychain entry manually) and the Apple bug is a blocker... I’ll have some time to work a bit more on Monday. Simon tldr; For the record, the unlock command is the same for both file systems except one has apfs and the other has cs in the middle. My logic is to store the fs type in the comment field of the keychain entry so the couple of lines of code I’ve added to the executable can plug it into the right part of the command. |
Looks like I don't have push access (probably a good thing to be honest)! I've attached the files I've changed in this zip - @jridgewell maybe you can incorporate them for me. NOTE - This still needs the Apple keychain bug fix before it'll work |
In case this helps anyone, my fork of Unlock supports APFS. Keep in mind that I haven't tested it yet as well as I would like and that you need to install Python 3. |
I don't mean to hijack the thread, but for APFS I created a pure bash-based solution to unlock encrypted volumes at startup, see https://github.com/openwall-com-au/BootUnlock (the project can create a package even without any development tools installed, or you can use the released package over there) :) |
Absolutely great job @jridgewell for CS and @galaxy4public for APFS. Just moved my home folder to an SD Card and was struggling with this lack of MacOS feature. Just thank you! |
Any plans for AFPS support? :)
The text was updated successfully, but these errors were encountered: