Re: Successful test of encrypted usb drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bruno Wolff III <bruno <at> wolff.to> writes:

> dd if=/dev/urandom of=/dev/sdc1

> cryptsetup luksFormat /dev/sdc1
> cryptsetup luksOpen /dev/sdc1 luks-usb

> mkfs -t ext3 /dev/mapper/luks-usb

> cryptsetup luksClose /dev/mapper/luks-usb

I tried this tonight and creating the encrypted file system on the
stick worked fine... but after unplugging and plugging back in it did
not automount or request the luks passphrase 
- so I had to do the following:

(there was a pre-existing /mnt/usb mount point)

So
cryptsetup luksOpen /dev/sdc1 luks-usb
Enter the luks passphrase when prompted and then
mount -t ext3 /dev/mapper/luks-usb /mnt/usb

Now files can be copied into /mnt/usb/ just fine.

To close I had to do:
umount /mnt/usb
cryptsetup luksClose /dev/mapper/luks-usb

All of this was in rawhide but presumably the stick will also mount the same
way in F8.

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux