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

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

Closed
vovcacik opened this issue Feb 25, 2017 · 6 comments
Closed

Comments

@vovcacik
Copy link

Environment

  • Windows version: Windows 10 Pro
  • Processor architecture: x64
  • Encfs4win version: encfs version 1.10.1-RC10
  • Dokan version (legacy, modern): Dokany 1.0.2

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
Copy link
Owner

jetwhiz commented Mar 2, 2017

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

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

@vovcacik
Copy link
Author

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
Copy link

As a workaround you should be able to specify an alternate configuration file (so to move your configuration file somewhere else) thanks to vgough#474.

@vovcacik
Copy link
Author

vovcacik commented Mar 9, 2018

@benrubson yeah that would be handy.

@benrubson
Copy link

Finally vgough#478 will ignore configure file .encfs6.xml in reverse mode.

@jetwhiz
Copy link
Owner

jetwhiz commented Jan 27, 2019

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

@jetwhiz jetwhiz closed this as completed Jan 27, 2019
@jetwhiz jetwhiz added the fixed label Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants