ecryptfs-recover-private doesn't fail if invalid key is provided
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ecryptfs-utils (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Bug Description
Invoking `sudo ecryptfs-
INFO: Found [/mnt/sdd1/
Try to recover this directory? [Y/n]:
INFO: Could not find your wrapped passphrase file.
INFO: To recover this directory, you MUST have your original MOUNT passphrase.
INFO: When you first setup your encrypted private directory, you were told to record
INFO: your MOUNT passphrase.
INFO: It should be 32 characters long, consisting of [0-9] and [a-f].
Enter your MOUNT passphrase:
INFO: Success! Private data mounted at [/tmp/ecryptfs.
and mounts an empty directory although the password is wrong and `/path/
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ecryptfs-utils 106-0ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-10-generic x86_64
ApportVersion: 2.16.2-0ubuntu4
Architecture: amd64
CasperVersion: 1.356
CurrentDesktop: Unity
Date: Thu Apr 2 19:03:35 2015
LiveMediaBuild: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ecryptfs-utils
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Tyler Hicks: Approve
-
Diff: 27 lines (+6/-0) 2 files modifiedapidebian/changelog (+2/-0)
src/utils/ecryptfs-recover-private (+4/-0)
See below:
https:/
https:/
However, the "bug" has been fixed. I'm going to assign to me :-)
Jason
Fix committed to lp:ecryptfs as r892.
While the fix doesn't fail if an invalid key is provided, it warns the user of the possible situation where the mount was successful but the files are not decrypted.