lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 6 Sep 2006 16:15:53 +1000
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Valdis.Kletnieks@...edu
Cc:	Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org
Subject: Re: 2.6.18-rc4-mm3 crypto issues with encrypted disks

On Mon, Sep 04, 2006 at 04:02:28PM +0000, Valdis.Kletnieks@...edu wrote:
> Sorry for not catching this one earlier..  Sometime between 2.6.18-rc4-mm2
> and -mm3, something crept into the git-cryptodev.patch that breaks mounting
> encrypted disks.  What I have in /etc/fstab:

Thanks for the report!  I set the wrong default when I changed the
cryptoloop init code.  This patch should fix the problem.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c
index c6bbdbe..4053503 100644
--- a/drivers/block/cryptoloop.c
+++ b/drivers/block/cryptoloop.c
@@ -67,7 +67,7 @@ cryptoloop_init(struct loop_device *lo, 
 	}
 
 	if (!mode_len) {
-		mode = "ecb";
+		mode = "cbc";
 		mode_len = 3;
 	}
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ