jetwhiz / encfs4win

Windows port of EncFS
https://encfs.win
Other
400 stars 41 forks source link

Null filename encryption shows/leaks .encfs6.xml file to encrypted disk #81

Closed vovcacik closed 5 years ago

vovcacik commented 7 years ago

Environment

Description

When I choose not to encrypt filenames, the newly created encrypted disk will contain .encfs6.xml file from the beginning.

Expected behavior vs. actual behavior

Freshly created encrypted disk should be empty, but it already cointained the encfs config file.

Steps to reproduce problem

  1. Just create encfs disk in expert mode, stay with the default values, but select Null filename encryption method.

Relevant logs

Nothing interesting in verbose log.

jetwhiz commented 7 years ago

Hi @vovcacik -- thank you for your bug report.

This is a known issue in the upstream encfs project (https://github.com/vgough/encfs/issues/174), but unfortunately there is no fix available yet. I will keep my eye on this and see if anything changes, though.

vovcacik commented 7 years ago

Also the fact that the encfs config file is leaking to encrypted disk may not be tied to the .encfs6.xml filename or the fact it is config file, but rather to my observation that any file which content starts with <?xml is leaked (that includes the config file also).

benrubson commented 6 years ago

As a workaround you should be able to specify an alternate configuration file (so to move your configuration file somewhere else) thanks to https://github.com/vgough/encfs/pull/474.

vovcacik commented 6 years ago

@benrubson yeah that would be handy.

benrubson commented 6 years ago

Finally https://github.com/vgough/encfs/pull/478 will ignore configure file .encfs6.xml in reverse mode.

jetwhiz commented 5 years ago

I've pulled in this patch and it looks like that fixes this issue, so this will be available in the next release candidate!