Matt-

This should be handled entirely in documentation.

Here are the basic instructions:

Partition and format the USB stick
# fdisk /dev/sdb
# mkfs.ext3 /dev/sdb1

Copy your .ecryptfs to the USB stick
# mount /dev/sdb1 /mnt
# cp -a /home/USERNAME/.ecryptfs/* /mnt
# umount /mnt

Obtain the UUID
# blkid /dev/sdb1

Add to your fstab to mount on boot
UUID=46112c9a-a75d-4122-8975-cde61329w9c /home/USERNAME/.ecryptfs          xfs  
   relatime        0       2

I think that's all you need.  It would be *great* if you could perhaps take 
these instructions, test/tweak them, and add them to a new page in the 
Community Wiki, perhaps:
 * http://help.ubuntu.com/community/EncryptedPrivateDirectoryUsbKey

:-Dustin

** Changed in: ecryptfs
       Status: Confirmed => Invalid

** Changed in: ecryptfs-utils (Ubuntu)
       Status: Confirmed => Invalid

-- 
add support for using USB devices as key to pam_ecryptfs
https://bugs.launchpad.net/bugs/293836
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: Invalid
Status in “ecryptfs-utils” source package in Ubuntu: Invalid

Bug description:
Binary package hint: ecryptfs-utils

An intresting idea, using the existence of a specific connected USB devices, 
such as a pen drive, to act as a key. Maybe through the use of the filesystem's 
serial number or UUID, or some form of unique identifier from the device?

_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ecryptfs
More help   : https://help.launchpad.net/ListHelp

Reply via email to