LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2017, 08:37 PM   #1
longlivepascal3
LQ Newbie
 
Registered: Jan 2017
Distribution: Mint
Posts: 4

Rep: Reputation: Disabled
deleted wrapped passphrase file, is home still recoverable


I deleted my wrapped passphrase file.
I used my 32 character Mount passphrase. The temp is still encrypted. How to I view the files. Do I need the wrapped passphrase file?


Sequence of events.

Mint 17.3, Cinnamon, encrypted home directory
It was midnight and thought I was deleting gpa-seahorse conflicting files.
Now I’m getting error msg ..can not update ICEauthority.
I used a chmod command that I think was ineffective.
Days later.

tty, login root
ecryptfs-recover-private
INFO: Found [/home/.ecryptfs/myname/.Private]
Try to recover this directory? Y
INFO: Could not find your wrapped passphrase file
INFO: ..must have original Mount passphrase…
INFO: success. Private mounted at [/tmp/ecryptfs.sxgpIO0j]

cd to tmp directory to find hundreds of files starting with ECRYPTFS_FNEK_ENCRYPTED.longencryptednames .

I'm stuck.
I tried original CD for file manager. Also tried caja at command line but do not execute.
How do I view files? Or is the passphrase file required.
I’m 90% sure this 32 character passphrase applies to this computer.
 
Old 05-07-2017, 06:01 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Because you also have encrypted filenames, I believe you need to "ecryptfs-add-passphrase --fnek" first (before the recover). Then the passphrase should work.

I only ever used ecryptfs once, but I believe this is the solution to your issue.
 
Old 05-09-2017, 08:32 PM   #3
longlivepascal3
LQ Newbie
 
Registered: Jan 2017
Distribution: Mint
Posts: 4

Original Poster
Rep: Reputation: Disabled
add-passphrase not working

Thanks for ecryptfs-add-passphrase -fnek, but this is not working.
I have tried combinations of livecd and bootup CtrAltF1 terminal, the results are the same, ECRYPTFS_FNEK_ENCRYPTED.longencryptednames.


I have tried combinations of mounts, example,
sudo mount -t ecryptfs /media/mint/43cc-media/home.ecryptfs /media/mint/43cc-device/home/mkdirtank
and associated 16 or 32 byte selection. error msg.


I have tried passphrase,skip the mounting, going directly to sudo ecryptfs-recover private. No dice.. Maybe I am using the wrong Mount passphrase. I think I have pushed this rock uphill long enough. Lesson learned - don't work on computers at midnight. And make regular backups.
 
Old 05-09-2017, 09:16 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That's a double minus on the fnek ...
 
  


Reply

Tags
ecryptfs, iceauthority, passphrase



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypted home passphrase ? minty33 Linux - Newbie 2 09-24-2012 05:41 PM
Encrypted, LVM volume /home not recognizing (global) passphrase and so not mounting saivnoba Fedora 3 10-30-2011 10:24 AM
[SOLVED] How does one change login passphrase (to unlock encrypted home directory) tonyfreeman Linux - Security 4 11-22-2010 08:12 PM
Linux Text File convert to Windows/Notepad Text File = Wrapped? backroger Linux - Software 4 01-18-2009 05:54 AM
recent attack via phpBB, log files deleted? accessed file system outside /home/ enzo250gto Linux - Security 8 12-17-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration