Cannot mount with the passphrase containing '=' character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hello,
I'm here opening an existing bug report(also, see bug #1419861) because there're other situations that cause such errors ----we could not mount with the passphrase to parse/file to read containing '=' character.
1) case 1:
$sudo mount -t ecryptfs raw secure -o passwd=123=abc
I'm trying use the passphrase which is "123=abc" and it will go wrong.
2) case 2;
There is a file named <key> whose content is "passwd=123=abc" and we mount as following:
$sudo mount -t ecryptfs raw secure -o passphrase_
It will also go wrong.
3) case 3:
I created a file named <k=ey> whose content is "passwd=123=abc" and we mount as following:
$sudo mount -t ecryptfs raw secure -o passphrase_
It will go wrong without any doubt.
I've fixed this issue by adding two lines in proccess_
If there're still some problems you have, please let me know. Thank you.
Jason
Related branches
- Tyler Hicks: Approve
- Michal Hlavinka: Pending requested
-
Diff: 12 lines (+2/-0)1 file modifiedsrc/libecryptfs/cmd_ln_parser.c (+2/-0)
description: | updated |
Changed in ecryptfs: | |
assignee: | Jason Xing (wlxing) → nobody |
Did someone see this bug report and relating patch? Do you all need more information like reproduce case and test case?
Thanks for any comments!