LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 10-31-2006, 04:01 PM   #1
keschrich
LQ Newbie
 
Registered: Oct 2006
Location: Connecticut, USA
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Public key crypto with LUKS/dm-crypt?


Hey there everybody. We have weekly backups which are hand delivered on DVD to a safe-deposit box. I'd like to start encrypting the data such that is protected on it's way to the box, as the DVD's contain some pretty sensitive information.

Anyway, it seems that dm-crypt and luks can make use of a password, a key file, or any combination. The keyfile is really just a glorified password. Take some bytes from dev random, store it in a file, and use it to encrypt and decrypt the device. It does not however seem like I can use public/private keypairs, such that the server thats actually encrypting the devices would only have the public key which would be useless in attempting to decrypt the file.

Does anybody know if I could accomplish this without too much trouble? Is there a reason why this hasn't been implemented directly into cryptsetup/LUKS yet?

Only reason that I'd prefer to do it this way as opposed to simply tar'ing my files and using gpg is that I like the idea of simply popping in the CD and having it prompt me for the password automatically like it does with my USB drive (except in this case it would be asking for the passphrase to the secret key). This way I don't have to go through showing all the people that might be involved how to decrypt and then untar..

Thanks,
Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Public Key Not Installed scorpioofthewoods Fedora 10 03-07-2013 03:03 PM
System encryption with dm-crypt and luks? Zmyrgel Slackware 9 09-02-2006 11:40 AM
public key not available? buwaleed Debian 4 01-04-2006 05:52 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 07:00 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 08:25 AM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration