Has anyone configured an encrypted usb pen drive under linux? I'm not talking about encrypting single files, but being able to mount the pen drive as an encrypted device? I've look at loop-aes, but I'm curious is anyone has done this before and might give some pointers. Chuck -- Chuck Haines chaines@gmail.com ------------------------------------------- Tau Kappa Epsilon Fraternity WPI Class of 2005 ------------------------------------------- AIM: CyberGrex YIM: CyberGrex_27 ICQ: 3707881 -------------------------------------------
On Thu, Jul 15, 2004 at 10:08:09AM -0400, Chuck Haines wrote:
Has anyone configured an encrypted usb pen drive under linux? I'm not talking about encrypting single files, but being able to mount the pen drive as an encrypted device? I've look at loop-aes, but I'm curious is anyone has done this before and might give some pointers.
loop-aes is way easy if you follow the instructions EXACTLY. As for tips, here you go: If you want to be able to use the device on Windows, you have to leave the FAT filesystem on there. Your encrypted filesystem will just be a large file on that filesystem that you'll mount loopback-style. You won't be able to read the encrypted stuff in Windows, but you can use the free space to do things, which is handy sometimes. Umm... that's it for tips. Now I have a question for someone. When I plug in my USB thingy, I get some pseudo-random SCSI ID for the device (depending upon whether I was cd burning, or I installed a different USB media). Is there any easy way to figure out the mapping between the USB device and the SCSI ID? (So I can improve my magic scripts...) Thanks. -Chuck (Homic) Confidentiality Notice: This message, including any attachments, may contain confidential information. If you have received this message by mistake, please notify the sender immediately, delete all copies, and do not distribute or use this information. Thanks!
What about looking at /proc/scsi/scsi? You can probably parse out the Vendor/Model to decide what ID you are. That is just off the top of my head tho. Thanks Brian
Now I have a question for someone. When I plug in my USB thingy, I get some pseudo-random SCSI ID for the device (depending upon whether I was cd burning, or I installed a different USB media). Is there any easy way to figure out the mapping between the USB device and the SCSI ID? (So I can improve my magic scripts...)
Thanks.
-Chuck (Homic)
Confidentiality Notice:
This message, including any attachments, may contain confidential information. If you have received this message by mistake, please notify the sender immediately, delete all copies, and do not distribute or use this information. Thanks!
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Yea, I ended up following the loop-aes and it work beautifully. The only problem is that the mount it root:root and can't be changed. However I was able to create a directory that is owned by my user and use that directory underneath just fine. It's actually really neat to have and was easier than I thought with Fedora Core 2. Chuck On Thu, 15 Jul 2004 11:43:28 -0400, Chuck Homic <chuck@vvisions.com> wrote:
On Thu, Jul 15, 2004 at 10:08:09AM -0400, Chuck Haines wrote:
Has anyone configured an encrypted usb pen drive under linux? I'm not talking about encrypting single files, but being able to mount the pen drive as an encrypted device? I've look at loop-aes, but I'm curious is anyone has done this before and might give some pointers.
loop-aes is way easy if you follow the instructions EXACTLY.
As for tips, here you go:
If you want to be able to use the device on Windows, you have to leave the FAT filesystem on there. Your encrypted filesystem will just be a large file on that filesystem that you'll mount loopback-style. You won't be able to read the encrypted stuff in Windows, but you can use the free space to do things, which is handy sometimes.
Umm... that's it for tips.
Now I have a question for someone. When I plug in my USB thingy, I get some pseudo-random SCSI ID for the device (depending upon whether I was cd burning, or I installed a different USB media). Is there any easy way to figure out the mapping between the USB device and the SCSI ID? (So I can improve my magic scripts...)
Thanks.
-Chuck (Homic)
Confidentiality Notice:
This message, including any attachments, may contain confidential information. If you have received this message by mistake, please notify the sender immediately, delete all copies, and do not distribute or use this information. Thanks!
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
-- Chuck Haines chaines@gmail.com ------------------------------------------- Tau Kappa Epsilon Fraternity WPI Class of 2005 ------------------------------------------- AIM: CyberGrex YIM: CyberGrex_27 ICQ: 3707881 -------------------------------------------
participants (3)
-
Brian Waite
-
Chuck Haines
-
Chuck Homic