-
Notifications
You must be signed in to change notification settings - Fork 41
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
encfsctl cat outputs debug information and prompts to stdout #42
Comments
When you mention the LInux version, are you referring to the version from the official Linux repositories, or the version directly from https://github.com/vgough/encfs (the latest commit)? I'm thinking this is an issue due to easylogging++, which appears to support "To_Standard_Output" but not sending to standard error. If that's the case, than the latest from vgough/encfs should also have this issue. |
I'm not sure if we can fix the "prompts to stdout" issue, since this is the correct behavior (the prompt goes to stdout as it should, but you're redirecting stdout to a file). In this case, it is best to use -S to retrieve the password without prompts. |
I'm using encfs official release 1.8.1 on Arch Linux. Prompts in that version are written to stderr, so even if stdout is redirected, password prompts are visible. I'm not sure about debug information. |
Ok, I can fix the prompts (by sending them to stderr), but the issue of verbose debugging info going to stdout also exist in encfs upstream. I'm going to open an issue upstream so this can be fixed at the source. |
Partial fix -- prompts to stderr now instead of stdout (as per upstream)
Force easylogging++ to output to std::cerr instead of (stdout)
This should be fixed as of -RC7 |
Environment
Description
encfsctl cat
outputs debug information and prompts to stdout, along with the decrypted data.Expected behavior
encfsctl cat
should output debug information and prompts to stderr, with only decrypted data printed to stdout. This is the behaviour of the Linux version.Steps to reproduce problem
encfsctl -v cat [dir] [file] > out.txt
.EncFS Password:
prompt) is stored inout.txt
.Not-at-all-robust workaround:
The text was updated successfully, but these errors were encountered: