darlinghq / darling-dmg

FUSE module for .dmg files (containing an HFS+ filesystem)
http://www.darlinghq.org
GNU General Public License v3.0
273 stars 45 forks source link

EncryptedReader #84

Open jief666 opened 6 years ago

jief666 commented 6 years ago

To be able to mount encrypted compressed dmg, I had to modify DMGDisk to search for the koly block in the last 1024 bytes instead of the last 512.

tomkoen commented 6 years ago

I'd modify openssl includes from

#include "openssl/sha.h"
#include "openssl/aes.h"
#include "openssl/hmac.h"
#include "openssl/evp.h"

to

#include <openssl/sha.h>
#include <openssl/aes.h>
#include <openssl/hmac.h>
#include <openssl/evp.h>
jief666 commented 6 years ago

Oups, yes. I wonder how come my compiler found them anyway ?? @tomkoen : if you prefer embedded crypto, I have embedded crypto with a openssl compatibility layer that I've made, that you just have to add to the project, without modifying anything in darling.