EcryptFS development
 help / color / mirror / Atom feed
* Way to decrypt an encrypted /home
@ 2015-04-01  7:52 Marc de Verdelhan
  2015-04-01 14:42 ` Tyler Hicks
  0 siblings, 1 reply; 4+ messages in thread
From: Marc de Verdelhan @ 2015-04-01  7:52 UTC (permalink / raw)
  To: ecryptfs

Hi there,

I made a huge mistake and I need some help.

I was running Linux Mint 17 (based on Ubuntu 14.04) with an encrypted
home directory (using eCryptfs). /home and / were on separated
partitions.
Last week I replaced Mint by Debian. I formatted the / partition and
kept the /home one. Now I can't decrypt my data. :/

So I installed the ecryptfs-utils package.

"ecryptfs-mount-private" returns:
Error: Unwrapping passphrase and inserting into the user session
keyring failed [-5]
Info: Check the system log for more information from libecryptfs
ERROR: Your passphrase is incorrect

"/var/log/syslog" contains:
ecryptfs-insert-wrapped-passphrase-into-keyring: Incorrect wrapping
key for file [/home/login/.ecryptfs/wrapped-passphrase]
ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to
unwrap passphrase from file
[/home/login/.ecryptfs/wrapped-passphrase]; rc = [-5]

"ecryptfs-unwrap-passphrase
/home/.ecryptfs/login/.ecryptfs/wrapped-passphrase" returns:
Error: Unwrapping passphrase and inserting into the user session
keyring failed [-5]
Info: Check the system log for more information from libecryptfs

To be sure I reinstalled the original Linux Mint on the / partition,
using the same login:password as before my misfortune. Same results.
I'm ABSOLUTELY sure that I'm using the same login and password than
last week. I installed Linux Mint 17 on June 2014; the ecryptfs-utils
version should have been "104-0ubuntu1".

So questions are:
1) What happened? Did I erase a configuration file I shouldn't? I
would like to understand what operation occurred to be in that
unpleasant situation?

2) What are my options? It may involve some C development if needed.
According to you, is there a way to brute force something? Or a more
intelligent solution, starting with sit down, have a tea and think.

Any help will be greatly appreciated. Thank you for reading.

Marc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-21 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01  7:52 Way to decrypt an encrypted /home Marc de Verdelhan
2015-04-01 14:42 ` Tyler Hicks
2015-04-03 12:48   ` Marc de Verdelhan
2015-04-21 10:57     ` Pablo Castellano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox