t-d-k / LibreCrypt

LibreCrypt: Transparent on-the-fly disk encryption for Windows. LUKS compatible.
https://LibreCrypt.tdksoft.co.uk
734 stars 71 forks source link

Get wrong password on trying mount LUKS ntfs partition #64

Open nolash opened 7 years ago

nolash commented 7 years ago

Made the fs with mkfs.ntfs on Linux on 2nd primary partition (1st is Linux ext4 8 GB).

Device is a 1 TB WD Passport.

Using Librecrypt v 6.2.5613.42403 Beta 0 (binary dl).

Volume details as follows

$ sudo cryptsetup luksDump /dev/sdc2 LUKS header information for /dev/sdc2

Version: 1 Cipher name: aes Cipher mode: cbc-plain Hash spec: sha256 Payload offset: 4096 MK bits: 256 MK digest: ba dc cf b6 46 f5 2a 1c 73 9a 95 03 5e a9 ba 5f 7b 79 37 31 MK salt: e0 26 85 a9 47 03 82 7f e6 43 2c b8 dd d4 b6 25 d2 2c 31 73 33 13 8b 95 8f 25 94 f9 66 b5 00 51 MK iterations: 128000 UUID: 9d0e28e4-5d94-41c6-b03d-c53eeafed0dc

Key Slot 0: ENABLED Iterations: 275861 Salt: d2 81 ac 54 27 30 e1 d5 86 d9 b2 43 26 1e f1 6e 0a 6c 52 57 d2 36 a6 42 c0 b3 41 c5 0c 70 fd f7 Key material offset: 8 AF stripes: 4000 Key Slot 1: DISABLED Key Slot 2: DISABLED Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED

redfish64 commented 6 years ago

I had the same problem and fixed it by installing freeotfe and librecrypt at the same time an then opening the drive using freeotfe. Not sure why this works.

You can get freeotfe here: https://sourceforge.net/projects/freeotfe.mirror/