Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PepPaulgr

Pages: [1]
1
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 21, 2014, 06:02:15 am »
From the below link:

http://www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/?PageSpeed=noscript

I did the following as seen in my terminal output: It worked as you can see:


ppermint@peppermint ~ $ sudo ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/media/peppermint/home/.ecryptfs/paulgrie/.Private].
Try to recover this directory? [Y/n]: y
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n] y
INFO: Enter your LOGIN passphrase...
Passphrase:
Inserted auth tok with sig  into the user session keyring
INFO: Success!  Private data mounted at [/tmp/ecryptfs.jrJK4Yc9

2
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 20, 2014, 10:39:22 am »
Thanks for all the advice. I finally got into my encrypted Peppermint drive.

3
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 19, 2014, 05:26:58 pm »
On my system I have two passwords that I have to enter. The first is the password for the peppermint encryption. When I successfully enter that I then have to enter the password that I use to login and logout. I just assumed since this had to do with encryption, it wanted the first password. I tried entering the login password for the last command you gave me and I got a line of 32 characters. if this is the key you've been referring to, what do I do now with it?

4
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 19, 2014, 09:44:22 am »
Before I give you the output from the commands you gave me, I've located a password that I have for(password recovery for peppermint login) 

Also, I'm not trying to recover lost data. I'm just trying to click on my peppermint drive's home folder when I'm booted into a Peppermint live cd or usb. How would recovering the key enable me to do that/ That said, below is the output from your recent commands.


paulgrie@paulgrie-N68S3B ~ $ ecryptfs-unwrap-passphrase /home/paulgrie/.ecryptfs/wrapped-passphrase
Passphrase:
Error: Unwrapping passphrase failed [-5]
Info: Check the system log for more information from libecryptfs
paulgrie@paulgrie-N68S3B ~ $ ecryptfs-unwrap-passphrase /home/.ecryptfs/paulgrie/.ecryptfss/wrapped-passphrase
Passphrase:
Error: Unwrapping passphrase failed [-5]
Info: Check the system log for more information from libecryptfs
paulgrie@paulgrie-N68S3B ~ $ cat /var/log/syslog | grep ecryptfs
Sep 19 08:09:23 paulgrie-N68S3B sudo: pam_ecryptfs: pam_sm_authenticate: /home/paulgrie is already mounted
Sep 19 10:16:14 paulgrie-N68S3B ecryptfs-unwrap-passphrase: Incorrect wrapping key for file [/home/paulgrie/.ecryptfs/wrapped-passphrase]
Sep 19 10:38:41 paulgrie-N68S3B ecryptfs-unwrap-passphrase: Error attempting to open [/home/paulgrie/.ecryptfs/paulgrie] for reading
Sep 19 12:33:40 paulgrie-N68S3B xscreensaver: pam_ecryptfs: seteuid error
Sep 19 12:35:38 paulgrie-N68S3B ecryptfs-unwrap-passphrase: Incorrect wrapping key for file [/home/paulgrie/.ecryptfs/wrapped-passphrase]
Sep 19 12:36:48 paulgrie-N68S3B ecryptfs-unwrap-passphrase: Error attempting to open [/home/.ecryptfs/paulgrie/.ecryptfss/wrapped-passphrase] for reading

5
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 19, 2014, 09:15:18 am »
paulgrie@paulgrie-N68S3B ~ $ ls -a /home/paulgrie/.ecryptfs
.  ..  auto-mount  auto-umount  Private.mnt  Private.sig  wrapped-passphrase
paulgrie@paulgrie-N68S3B ~ $ ls -a /home/.ecryptfs/paulgrie/.ecryptfs
.  ..  auto-mount  auto-umount  Private.mnt  Private.sig  wrapped-passphrase
paulgrie@paulgrie-N68S3B ~ $


6
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 19, 2014, 07:43:20 am »
output from mount

 ~ $ mount
/dev/mapper/peppermint--vg-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda1 on /boot type ext2 (rw)
/home/paulgrie/.Private on /home/paulgrie type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig=53d35a1e77cdde5f,ecryptfs_fnek_sig=6a7c10d7d03528d7)
gvfsd-fuse on /run/user/paulgrie/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=paulgrie)
/dev/sdc1 on /media/paulgrie/AF57-AD29 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)

output from ls -al ~/.ecryptfs

lrwxrwxrwx 1 paulgrie paulgrie 34 Jan 24  2014 /home/paulgrie/.ecryptfs -> /home/.ecryptfs/paulgrie/.ecryptfs

7
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 19, 2014, 07:22:47 am »
Here's the output:

paul@ ~ $ ls -a /home/.ecryptfs
.  ..  paulgrie
paul@ ~ $ ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase
Passphrase:
Error: Unwrapping passphrase failed [-5]
Info: Check the system log for more information from libecryptfs

8
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 19, 2014, 05:41:48 am »
Here is the output of locate ecryptfs

paul@paul ~ $ locate ecryptfs
Spoiler (click here to view / hide)
[close]


Here is the output of locate passphrase

paul@paul ~ $ locate passphrase
Spoiler (click here to view / hide)
[close]



9
Advanced Topics / Re: accessing peppermint drive remotely
« on: September 17, 2014, 11:47:45 am »
I followed your instructions and got this error message:

Error: Unwrapping passphrase failed [-5]
Info: Check the system log for more information from libecryptfs

10
Advanced Topics / accessing peppermint drive remotely
« on: September 12, 2014, 02:53:18 am »
When I installed Peppermint 4, I selected encrypt home folder. I thought it would be a simple matter of selecting "open as root" when i try to access the drive Peppermint is installed on from a live Peppermint cd,  but I haven't had that experience.
I have no trouble booting into my Peppermint install, it's just whenever I try to access it externally.

This is what I've tried after booting into the Peppermint CD:

Enter a passphrase to unlock the volume

When I enter the passphrase that I use to unclock the drive at bootup, I get the error message "The unlocked device does not have a recognizable file system on it."

Another error message:
Error opening directory '/media/peppermint/764357f5-b7a6-4504-b699-3643ee96d7e3/home/paul': Permission denied

When I click on the home folder of the drive I'm trying to access and then select open current folder as root, I get this icon: Access-Your-Private-Data  Nothing happens when I click on it.

The Readme text:

THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on:
 "Access Your Private Data"

or

From the command line, run:
 ecryptfs-mount-private

In the terminal I cd to the drive I'm trying to access and get this when I enter ecryptfs-mount-private command

ERROR: Encrypted private directory is not setup properly

Any suggestions? Thank, Paul


Pages: [1]