I have a load of encrypted files following an attempt to update my version of ubuntu
Ok I messed up- I thought that, since I had a separate /home directory, the distribution upgrade would leave it intact. In fact, it encrypted all the files.
I was unable to log in after the update failed.
I have since installed 12.04 from the iso, and it's fine. All other user files are untouched, as are the important files that I keep backed up. So I might have lost a few photos,no big deal.
I have the following in .ecryptfs/USERNAME:
$ ls -la
[USER][GROUP] 4096 Dec 14 2009 .ecryptfs
[USER][GROUP] 65536 Nov 25 01:03 .Private
[CONTENTS OF ECRYPTFS:]
auto-mount auto-umount Private.mnt Private.sig wrapped-passphrase
Directory Private contains all the encrypted files.
I used ext4magic on this, and it seems to have "unpacked" them - there is now a nest of layered files but nothing intelligible.
"wrapped-passphrase" can be seen using hexedit - I believe it contains a key.
Unfortunately, I know from messages that there is a broken link to a location in /usr/share, that has now been overwritten by the new OS.
I am ready to give up and move on and am 90% certain that this is best - as I say, there are unlikely to be any significant files lost.
But I would like to try and open these files if possible.
Has anyone encountered this before?
And in any case I would urge anyone reading this to note my mistake, and back up everything before a distribution upgrade, just as if you were installing a whole new OS.
Best regards to all