Can't parse passphrase with "=" from passphrase_passwd_file
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| eCryptfs |
Fix Committed
|
Undecided
|
Unassigned | ||
Bug Description
I am not able to mount my ecryptfs FS using passphrase in file (option key=passphrase:
In this case, I get this error message (in syslog):
mount.ecryptfs: tf_pass_file: Cannot find [passwd] directive
It works fine in interactive mode or if passphrase don't contains equals character.
It looks like bug in "parse_
http://
Related branches
- Tyler Hicks: Approve
- Michal Hlavinka: Pending requested
-
Diff: 12 lines (+2/-0) 1 file modifiedapisrc/libecryptfs/cmd_ln_parser.c (+2/-0)
Hi Lukáš Karas,
Are you still working on that issue? Or have you fixed that bug? I'm assigning this bug to myself.
If you've already done that, please let me know. Thank you.
Jason
No, I was not work on this. I just change my password and report the bug :-) Thank you that you will look at it.
Hi Lukáš Karas,
I quick go through this part in source code. This is not a bug because the code shows that we should not use '=' character when we mount ecryptfs with "-o passphrase_
[code link: http://
But I still want to know why the developers of eCryptfs confine users to this(unable to use '=' character, for example). Anyone who have any comments on this are welcome!
Jason
I still think it is a bug because there is no reason that eCryptfs doesn't allow users to choose the passphrase including '=' character : -)
Also, my explanation about that source code maybe wrong. I will check that one more time. I'm sorry.
- bug1419861.patch Edit (364 bytes, text/plain)
Hello Tyler Hicks,
I have fixed this bug and push it to my branch (link: https:/
Could you have some time to look at that (adding only 2 lines) : -)
BTW, the patch is attached but it is not the standard format. Could you(or someone else) help me make a standard patch?
I would appreciate it!
Cheers,
Jason
Applied to lp:ecryptfs as r886