View previous topic :: View next topic |
Author |
Message |
R.Smith Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/189662641647d0189844682.jpg)
Joined: 20 Nov 2005 Posts: 131 Location: Caerdydd, Cymru.
|
Posted: Mon Apr 10, 2006 6:30 pm Post subject: Convenient encryption |
|
|
People,
I was wondering if anyone knew of a method using a file on a USB stick (that contains random data) as the key to mount encrypted partitions instead of manually entering passwords for each partition. Is this easily do-able?
Thanks. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PMcCauley Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Mar 2006 Posts: 283 Location: Alberta, Canada
|
Posted: Mon Apr 10, 2006 6:39 pm Post subject: |
|
|
Sure it is. Create a file on the usb stick.
eg.
Code: | dd if=/dev/urandom of=/mnt/usb/key count=512 |
From there it is dependent on the encryption method you are using as far as how you input the key. Look into device mapper and emerge cryptsetup as it is easier to use then dmsetup directly. In cryptsetup the key file argument is -d.
Patrick |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|