ENCryptor
ENCryptor copied to clipboard
Instalation on Linux-based OS
I've recently lost my Macbook due to motherboard failure.
I managed to recovery my encrypted files, but don't have any macOS device available to use Encrypto in order to retrieve the data on those files.
My question is: Is it possible to install ENCryptor (or Encrypto app) on a Linux machine?
I would like that too. It would be very helpful!
Disclaimer: I'm neither associated with MacPaw, nor a security expert, so nothing from this message should be considered as authoritative advice.
As per source code, Apple CommonCrypto seems to have been used to actually facilitate the encryption. You could explore it for being buildable on Linux There is also an attempt to do the similar thing, here: https://github.com/amraboelela/CommonCrypto
Finally, you could just try running with Darling (https://www.darlinghq.org). This awesome project seems to have got more matureness since I checked last time.
If deviating from original "Installation on Linux-based OS" by which I mean: you are fine making your hands a bit more dirty than just building it on Linux: I would personally ditch CommonCrypto for some audited either fully cross-platform, or Linux-only alternative.
And just up-to-date version of openssl sounds a reasonable choice for me, given this caveat is addressed: with openssl PBKDF2 is not just a reasonable best practice, but you must use it instead of former default KDF, which either itself or things around, had been so badly broken one day, that exploitation looked hilariously simple. Given some 6-7 years have passed it's hopefully irrelevant, but openssl has been always special in terms that despite reasonably fast addressing of 0-days, some insecure options could be left untouched, with some of them being defaults.
Wrapping up: if choosing the very last option which implies you would have touched the code anyway, you could have also wanted to actually swap CBC with GCM, as per sibling issue 🙂
Hey guys, I have the same needs of running ENCryptor in linux, and I actually rewrote ENCryptor's core library in C.
I replaced all the CommonCrypto stuff with OpenSSL3 and get it works.
Right now it can only do single file decryption, but I'm working on other features.
Feel free to try it out and give me some feedback, PR are also welcome.