Skip to content

Dislocker On Mac with homebrew #321

@asegner

Description

@asegner

Hello! First i would like to say thanks for the excellent work on making dislocker. I have been using it to work with my encrypted windows drives on my mac and it seems to do quite well. I had trouble finding any UIs for it so i made a little free one for the mac menu bar called Perch at https://dancingparrots.com/ - any feedback is appreciated. This is where my questions come in.

I am not distributing dislocker with Perch but am asking that it be installed on the system beforehand. I have found that running "brew install dislocker" does not result in a clean install. Something about needing linux which i'm not sure how thats intended to be resolved. Additionally running "brew install src/dislocker.rb" from the cloned repo does not immediately result in a clean build.

I include manual instructions on the site above (and pasted below) to help guide end users on installing dislocker that seem to work on intel and silicon macs. However, manual steps add a bit of friction to the install process that may turn some people away -- i'm writing to you to find out if there is a better way to install or if i'm misusing the brew command in some way? Thanks for any help!


Manual Installation Steps for Mac Intel and Silicon

git clone https://github.com/Aorimn/dislocker.git && cd dislocker
xcode-select --install
brew unlink mbedtls
brew install macfuse cmake mbedtls@2 pkg-config
brew link mbedtls@2
SDKROOT=`xcrun --show-sdk-path` cmake .
make
sudo make install
brew unlink mbedtls@2 # only unlink, not uninstall, required for running dislocker
brew link mbedtls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions