Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Convenient encryption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
R.Smith
Tux's lil' helper
Tux's lil' helper


Joined: 20 Nov 2005
Posts: 131
Location: Caerdydd, Cymru.

PostPosted: Mon Apr 10, 2006 6:30 pm    Post subject: Convenient encryption Reply with quote

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. :)
Back to top
View user's profile Send private message
PMcCauley
Apprentice
Apprentice


Joined: 14 Mar 2006
Posts: 283
Location: Alberta, Canada

PostPosted: Mon Apr 10, 2006 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum