Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if plain dm-crypt with non-0 offset works #115

Closed
HulaHoopWhonix opened this issue Apr 28, 2019 · 11 comments
Closed

Check if plain dm-crypt with non-0 offset works #115

HulaHoopWhonix opened this issue Apr 28, 2019 · 11 comments

Comments

@HulaHoopWhonix
Copy link

I tried to make a deniable container using the instructions in the pdf manual, but whnever I type the password and set the offset size, it does not accept the key.

I want to make sure this is not caused by an error on my part.

@mhogomchungu
Copy link
Owner

How did you create the volume.

What offset value did you use when creating the volume

What offset value did you us when unlocking the volume.

@HulaHoopWhonix
Copy link
Author

HulaHoopWhonix commented Apr 29, 2019

I created it as a container file in the home dir. I chose its size to be 50MB

Set offset to 20MB

Attempted opening it with offset @ 30MB

@mhogomchungu
Copy link
Owner

Open it with offset of "20m"

@mhogomchungu
Copy link
Owner

Tested in on debian 9 and it works fine.

@HulaHoopWhonix
Copy link
Author

Tested in on debian 9 and it works fine.

Please test on Buster (Debian 10) the problem is still there.

@mhogomchungu
Copy link
Owner

I tested it on debian buster installed in virtualbox and the below screenshot proves it.

You are getting confused somewhere

Screenshot_20190430_223742

@mhogomchungu
Copy link
Owner

Mouse over the offset field when unlocking a volume to get a tool tip with directions on how to enter the offset, "30MB" for example is not a valid offset, it should be "30m".

The git version to be released tomorrow would accept "30MB" as an offset since its a lot more forgiving[1]

[1]

if( StringEndsWithAtLeastOne( e,"m","MB","mb","Mb","M",NULL ) ){

@HulaHoopWhonix
Copy link
Author

HulaHoopWhonix commented Apr 30, 2019

You're right. I hadn't noticed the ephemeral notice that comes up when you move the mouse on there. I was typing just "20" instead of "20m". It now works thanks.

So how does one use this deniably so another password would just show a different section of the container with other info? Or in combination with another encrypted volume type?

@mhogomchungu
Copy link
Owner

My use case for this feature is a 1TB external hard drive with two volumes.

The first volume at offset 0 is an unencrypted fat filesystem everybody notices and can use without providing any password and the second is a plain dm-crypt at offset 700MB that only i know its there and the password to unlock it.

User of this feature will have to know both the passwrod to unlock a volume and the location of a volume.

Best things about this feature is that a single container can have as my hidden volumes as you want.

Worst thing about this feature is that there is no protection of the hidden volume. Write too much in the outer volume and all inner volumes will silently be corrupted so use with care.

Closing this one since the asked question is now answered but feel free to continue posting if anything else comes up.

@HulaHoopWhonix
Copy link
Author

HulaHoopWhonix commented May 1, 2019

Thanks for your patience.

My use case for this feature is a 1TB external hard drive with two volumes.

I see so it has to be using the Encrypted Container in a Harddrive option?

@mhogomchungu
Copy link
Owner

That was my use case, you can have the plain dm-crypt volume in container files at any offset.

I just released version 5.5.0[1] of zuluCrypt and one of the feature in this release is the ability to create these plain dm-crypt volumes at the end of existing files.

With this new ability, you can create a plain dm-crypt volume at the end of a video file and most video players will play the file just fine without noticing the encrypted volume at the end.

[1] https://github.com/mhogomchungu/zuluCrypt/releases/tag/5.5.0

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

No branches or pull requests

2 participants