lp://qastaging/~wlxing/ecryptfs/fix-bug-1678689
This revision(r886) is linked to #bug1678689.
Error Case: In the original version, users cannot mount ecryptfs with "-o passphrase_
Error Hint:
http://
Explanation:
Because in the manner of process_comma_tok() function (in the src/libecryptfs
Patch:
Thus, I add two lines in process_comma_tok() to change that case. If we match one "=" character in the string, we don't need to loop and match another "=" again. More details in #change of my branch.
Note:
If there are still some problems you have or it cannot fix that bug, please let me know. Any information/
(My email address: kerneljasonxing
- Get this branch:
- bzr branch lp://qastaging/~wlxing/ecryptfs/fix-bug-1678689
Branch merges
- Tyler Hicks: Approve
- Michal Hlavinka: Pending requested
-
Diff: 12 lines (+2/-0)1 file modifiedsrc/libecryptfs/cmd_ln_parser.c (+2/-0)
Related bugs
Bug #1419861: Can't parse passphrase with "=" from passphrase_passwd_file | Undecided | Fix Committed | |
Bug #1678689: Cannot mount with the passphrase containing '=' character | Undecided | Fix Committed |
Related blueprints
Branch information
Recent revisions
- 884. By Tyler Hicks
-
debian/
ecryptfs- utils.postinst: Fix any unencrypted GPT swap partitions
that have mistakenly remained marked as auto mount. This should only
modify the swap partitions on systems that ecryptfs-setup-swap has been
used on. (LP: #1447282, LP: #1597154) - 883. By Tyler Hicks
-
tests/kernel/
lp-872905. sh: Adjust the test to account for upstream kernel
changes that were preventing the test from cleaning up after itself. The kernel
had a change of behavior where mounts that are configured to use encrypted
filenames will not be able to successfully lookup lower files with plaintext
filenames. This change caused the lower filler file, which was being created
directly in the lower filesystem, to not be removed during the test cleanup and
all of the following tests to fail since the lower filesystem remained full.The upstream kernel commit mentioned above is:
88ae4ab ecryptfs_lookup(): try either only encrypted or plaintext name
- 882. By Tyler Hicks
-
src/utils/
ecryptfs- setup-swap: Prevent unencrypted swap partitions from
being automatically enabled by systemd. This bug affected GPT partitioned
NVMe/MMC drives and resulted in the swap partition being used without
encryption. It also resulted in a usability issue in that users were
erroneously prompted to enter a pass-phrase to unlock their swap partition
at boot. (LP: #1597154) - 881. By Tyler Hicks
-
[ Richard Laager ]
* src/utils/ecryptfs- setup-private: LP: #1574174
- Adjust the test for discovering already active mount point destinations
so that it doesn't accidentally match mount point sources.
- Fixes ecryptfs-setup-private issue when attempting to use ZFS and
eCryptfs together - 878. By Dustin Kirkland
-
* src/utils/
ecryptfs- setup-private: LP: #1328689
- fix a long standing bug, where setting up an encrypted private,
encrypted home, or migrating to an encrypted home did not work
correctly over ssh sessions
- the root cause of the bug is some complexity in the handling of
user keyrings and session keyrings
- the long term solution would be to correctly use session keyrings
- the short term solution is to continue linking user and session
keyrings
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/ecryptfs