Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 10-31-2006, 03:01 PM   #1
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..



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 16 09-18-2016 09:33 PM
System encryption with dm-crypt and luks? Zmyrgel Slackware 9 09-02-2006 10:40 AM
public key not available? buwaleed Debian 4 01-04-2006 04:52 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM
RSA public key encryption/private key decription koningshoed Linux - Security 1 08-08-2002 07:25 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:19 AM.

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