Skip to content

Conversation

@Tey
Copy link

@Tey Tey commented May 28, 2023

This PR adds support for mounting volumes created with version 5 of TrueCrypt (and maybe earlier). The main difference is the volume layout as there is a reserved space at the end of the volume to store hidden volume info, even when no hidden volume is present. With later TC versions, this is stored at the beginning of the volume instead.

I've made test files here (normal volume) and here (normal+hidden volume). The passwords are "test" for the normal volumes and "hidden" for the hidden volume. The current version of tc-play seems to be able to open both normal volumes, but mounting them will fail eventually because the start of volume offset is wrong.

It might be linked to #81 (not fixing it automatically though).

@bwalex
Copy link
Owner

bwalex commented Jun 9, 2023

Thanks, the patch looks pretty reasonable. I'll see if I can take it for a spin over the weekend.

@Tey
Copy link
Author

Tey commented Sep 10, 2023

Let me know if you need anything else from my side to merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants