All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Crypting a filesystem using an asymmetric GPG key ?
Date: Sun, 13 Mar 2011 04:06:30 +0100	[thread overview]
Message-ID: <20110313030630.GA3697@tansi.org> (raw)
In-Reply-To: <AANLkTincOv6j4g3z_P_=cUwr0ZwLAW8H6nTy2mPDz2X6@mail.gmail.com>

On Sat, Mar 12, 2011 at 05:43:15PM +0000, Il Sdrucciole wrote:
> Hello everybody,
> 
> I am currently using several GNU/Linux distros (Ubuntu, Gentoo) and I would
> like to crypt my entire disk.
> 
> But the point is, I do not want to use any symmetric algorithm. 

There weill not be a way around that, unless you 
a) write it yourself and
b) are willing to take a massive performance hit, as in a factor
   1000 slower than symmetrical. Expect something like
   100kB/s for RSA1024 and something like 25kB/s for RSA2048.
   (Writing will be faster though.) That is floppy speed.

> More, I have
> got GPG keys: why not use them to encrypt my FS ? By doing this, I would
> have to give my private key and passphrase at boot time, and security would
> be improved (possibility to use smartcards, etc.).

Aeh, no? LUKS is about as secure as GPG is, likely more, as GPG has
no anti-forensics. And you can already use a GPG key with plain 
dm-crypt to protect the master key.
 
> So my question is, *Is there a way to crypt a filesystem with a GPG
> asymmetric key ?*

Yes, but you do not want to do that, see above.
 
> Linking the standards would be very user-friendly.

What standards?

Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

  parent reply	other threads:[~2011-03-13  3:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-12 17:43 [dm-crypt] Crypting a filesystem using an asymmetric GPG key ? Il Sdrucciole
2011-03-12 18:29 ` Christoph Anton Mitterer
2011-03-13  3:06 ` Arno Wagner [this message]
2011-03-13  7:22   ` Il Sdrucciole
2011-03-13 11:55     ` Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110313030630.GA3697@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.