From: Thomas Habets <thomas@habets.pp.se>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Delete cryptoloop
Date: Fri, 23 Jul 2004 12:59:25 +0200 [thread overview]
Message-ID: <200407231259.34844.thomas@habets.pp.se> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So in addition to making sure that everything on your systems works when
switching from 2.4 to 2.6, we now have to hope that working APIs don't change
(or disappear) in an incompatible way between minor versions? Is that right?
Is there some kind of hidden motive behind this? For example, does the
presence of cryptoloop force some other ugly part of the kernel to be in a
certain way? If cryptoloop is removed, will you think "finally, I can change
this other old crappy code"?
I will move to dm-crypt eventually if it's so much better, but cryptoloop
works in practice *now* (mount knows about it etc..).
James Morris said:
>Part of the reason for dropping cryptoloop is to help dm-crypt mature more
>quickly.
Reminds me of the futurama quote:
Fry: "Now that you mention it, I do have trouble breathing underwater
sometimes. I'll take the gills."
Man: "Yes, gills. Then you don't need lungs anymore, is right?"
Fry: "Can't imagine why I would."
Man: "Lie down on table. I take lungs now, gills come next week."
(except that, well, lungs are better in both the short and long run for most
humans, while dm-crypt may be better in the long run for secret things)
And I can't say I really see what's so horrible about cryptoloop. Dictionary
attack being possible? Uhm, yeah, I kind of assumed that from the beginning.
And I don't see how *any* mishandling of IV can matter to me. The block
crypto (AES in this case) should have been (and I assume is) designed against
all kinds of chosen-plaintext, chosen-ciphertext, differential cryptanalysis,
etc... This *will* stop every offline attack from everyone who's interested
in my data. In the actual real world. (If this assertion is wrong, I'd
*really* like to know about it. But everything I've read on the insecurity of
cryptoloop has convinced me that this is the case.[0])
If dm-crypt fixes some things, that's good. Now make it practical. And I'm
growing old, I fear changes, I need time to adjust. I'm scared, where am I?
Also, being able to boot 2.4 and still have a compatible cryptoloop is nice
while moving everything to 2.6. (and when everything is 2.6-perfect, one can
switch to dm-crypt).
Mark it deprecated? Sure, whatever. But don't take away my cryptoloop!
from http://seclists.org/lists/linux-kernel/2004/Mar/0719.html:
>Sequential IV's aren't a good choice with CBC -- they can leak a little
>bit of information about the first block of plaintext, in some cases.
Ah, this is interesting. The way I'm reading it this could only leak some
"information" about maybe my superblock.
If this is what cryptoloop uses then it's bad. Still, it's not big-red-switch
bad, just "try to find the time to switch this year" bad. At least for me.
[0] I'd be interested in both if non-NSA kan read it and if NSA is actually
interested in my data. If you know of either, tell me. :-)
- ---------
typedef struct me_s {
char name[] = { "Thomas Habets" };
char email[] = { "thomas@habets.pp.se" };
char kernel[] = { "Linux 2.4" };
char *pgpKey[] = { "http://www.habets.pp.se/pubkey.txt" };
char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854" };
char coolcmd[] = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBAO+WKGrpCq1I6FQRAn/SAKCyx20hCdEGzY58ZQeocIScDTk73QCeI+gq
ZZn1/PFtwOwldIZ9Xm8ekvY=
=kKqs
-----END PGP SIGNATURE-----
next reply other threads:[~2004-07-23 11:03 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 10:59 Thomas Habets [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-30 8:43 [PATCH] Delete cryptoloop Markku-Juhani O. Saarinen
2004-07-26 7:13 Adam J. Richter
2004-07-23 12:50 mattia
[not found] <2kvT4-5AY-1@gated-at.bofh.it>
[not found] ` <2kC85-1AH-11@gated-at.bofh.it>
[not found] ` <2kDxa-2sB-1@gated-at.bofh.it>
[not found] ` <2kECW-3a0-7@gated-at.bofh.it>
2004-07-23 12:34 ` Walter Hofmann
2004-07-23 14:01 ` Kevin Corry
2004-07-23 18:20 ` Christophe Saout
2004-07-27 19:47 ` Bill Davidsen
[not found] <2kMAw-rl-15@gated-at.bofh.it>
2004-07-22 19:44 ` Pascal Brisset
2004-07-21 20:16 James Morris
2004-07-21 23:44 ` David S. Miller
2004-07-22 6:00 ` Andrew Morton
2004-07-22 3:30 ` James Morris
2004-07-22 7:43 ` Matthias Urlichs
2004-07-22 14:14 ` H. Peter Anvin
2004-07-22 14:58 ` Jack Lloyd
2004-07-28 20:24 ` David Wagner
2004-07-29 0:27 ` James Morris
2004-07-29 15:50 ` Christophe Saout
2004-07-29 21:15 ` David Wagner
2004-07-30 13:13 ` Christophe Saout
2004-07-31 0:44 ` David Wagner
2004-07-31 2:05 ` Matt Mackall
2004-07-31 17:29 ` Marc Ballarin
2004-08-02 22:54 ` David Wagner
2004-08-02 23:16 ` James Morris
2004-08-07 16:27 ` Jean-Luc Cooke
2004-07-22 4:26 ` dpf-lkml
2004-07-22 5:22 ` James Morris
2004-07-22 11:58 ` Paul Rolland
2004-07-22 20:40 ` Martin Schlemmer
2004-07-22 8:46 ` Andrew Morton
2004-07-22 6:13 ` Dale Fountain
2004-07-22 6:47 ` Tim Connors
2004-07-22 11:36 ` Aiko Barz
2004-07-24 15:11 ` Andreas Jellinghaus
2004-07-24 15:53 ` gadgeteer
2004-07-29 16:12 ` Andries Brouwer
2004-07-29 17:23 ` James Morris
2004-07-29 19:48 ` Andries Brouwer
2004-07-22 22:13 ` Bill Davidsen
2004-07-24 12:41 ` Fruhwirth Clemens
2004-07-24 16:52 ` Andrew Morton
2004-07-24 14:08 ` Andreas Henriksson
2004-07-24 19:54 ` Paul Jackson
2004-07-27 20:02 ` Bill Davidsen
2004-07-25 11:42 ` Jari Ruusu
2004-07-25 13:24 ` Fruhwirth Clemens
2004-07-25 15:24 ` Marc Ballarin
2004-07-25 16:57 ` Andreas Jellinghaus
2004-07-25 17:25 ` Jari Ruusu
2004-07-25 18:02 ` Fruhwirth Clemens
2004-07-25 19:09 ` Lee Revell
2004-07-25 19:15 ` Fruhwirth Clemens
2004-07-25 19:44 ` Marc Ballarin
2004-07-25 20:58 ` Fruhwirth Clemens
2004-07-26 10:54 ` Jari Ruusu
2004-07-26 12:45 ` Fruhwirth Clemens
2004-07-26 18:11 ` Jari Ruusu
2004-07-26 22:59 ` Fruhwirth Clemens
2004-07-26 20:01 ` Matt Mackall
[not found] ` <fa.edslbgp.q763qd@ifi.uio.no>
2004-07-27 8:40 ` Junio C Hamano
2004-07-27 8:53 ` Matt Mackall
2004-07-27 10:10 ` Marc Ballarin
2004-07-26 22:04 ` Marc Ballarin
2004-07-27 19:56 ` Bill Davidsen
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=200407231259.34844.thomas@habets.pp.se \
--to=thomas@habets.pp.se \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox