ecryptfs-unwrap-passphrase /home/.ecryptfs/kirkland/.ecryptfs/wrapped-passphrase
(record this as your MOUNTPW)
keyctl clear @u
keyctl list @u
(should be empty)
ecryptfs-insert-wrapped-passphrase-into-keyring /home/.ecryptfs/kirkland/.ecryptfs/wrapped-passphrase
keyctl list @u
(should see 2 sigs, one for file contents, one for filenames)
SIG1=$(head -n1 /home/.ecryptfs/kirkland/.ecryptfs/Private.sig)
SIG2=$(tail -n1 /home/.ecryptfs/kirkland/.ecryptfs/Private.sig)
mount -t ecryptfs -o rw,relatime,ecryptfs_fnek_sig=<SIG2>,ecryptfs_sig=<SIG1>,ecryptfs_cipher=aes,ecryptfs_key_bytes=16 /home/.ecryptfs/kirkland/.Private /mnt
ls /mnt
cat /mnt/.profile
This is working for me... Can you give this a shot?
Note that we're using mount -t ecryptfs here, rather than mount.ecryptfs.
Martin-
Okay, try this ...
ecryptfs- unwrap- passphrase /home/. ecryptfs/ kirkland/ .ecryptfs/ wrapped- passphrase
(record this as your MOUNTPW)
keyctl clear @u insert- wrapped- passphrase- into-keyring /home/. ecryptfs/ kirkland/ .ecryptfs/ wrapped- passphrase ecryptfs/ kirkland/ .ecryptfs/ Private. sig) ecryptfs/ kirkland/ .ecryptfs/ Private. sig) ecryptfs_ fnek_sig= <SIG2>, ecryptfs_ sig=<SIG1> ,ecryptfs_ cipher= aes,ecryptfs_ key_bytes= 16 /home/. ecryptfs/ kirkland/ .Private /mnt
keyctl list @u
(should be empty)
ecryptfs-
keyctl list @u
(should see 2 sigs, one for file contents, one for filenames)
SIG1=$(head -n1 /home/.
SIG2=$(tail -n1 /home/.
mount -t ecryptfs -o rw,relatime,
ls /mnt
cat /mnt/.profile
This is working for me... Can you give this a shot?
Note that we're using mount -t ecryptfs here, rather than mount.ecryptfs.
:-Dustin