From: Rudolf Deilmann <rudolf.deilmann@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc1 (test release candidate)
Date: Mon, 14 Mar 2011 22:13:29 +0100 [thread overview]
Message-ID: <20110314221329.19d588ea@gmail.com> (raw)
In-Reply-To: 4D7E53E5.3040007@redhat.com
On Mon, 14 Mar 2011 18:44:05 +0100
Milan Broz <mbroz@redhat.com> wrote:
> p.s. Please let me know if you tested crypto backend support
> or loop-AES compatibility mode (and report problems, if there is
> any:-)
Thanks for your work, Milan.
I've tried to open some old loop-AES partitions with this version and
kernel 2.6.38-rc8. It basically seems to work (however, it seems to be
slower than original loop-aes as your comment regarding speed suggests)
Two notes:
1) Keyfile handling
The following didn't work with one keyfile:
cryptsetup --key-file /path/keyfile -s 256 loopaesOpen <device> <name>
but this did work:
cat /path/keyfile | \\
cryptsetup --key-file - -s 256 loopaesOpen <device> <name>
I didn't have this problem with another keyfile.
2) Offset, skip and sizelimit support
It was common to store the gpg-keyfile in the head of an partition. See
for example http://loop-aes.sourceforge.net/aespipe.README:
---
3.3. Example 3 - Encrypted CD-ROM
[...]
mount -t iso9660 /dev/cdrom /cdrom -o
loop=/dev/loop0,encryption=AES128,gpgkey=/dev/cdrom,offset=8192
---
I was able to open such a partition with plain dmsetup; 'cryptsetup
loopaesOpen' didn't work because '--size','--skip' and '--offset' are
not supported. Perhaps you could add support for these switches to
loopaesOpen; the necessary changes in cryptsetup seems trivial.
( '--offset' - but not '--skip' - is already mentioned in the manpage
as a supported option for loopaesOpen )
mfg,
Rudi
next prev parent reply other threads:[~2011-03-14 21:13 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 17:44 [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc1 (test release candidate) Milan Broz
2011-03-14 21:13 ` Rudolf Deilmann [this message]
2011-03-14 22:10 ` Milan Broz
2011-03-14 23:45 ` Rudolf Deilmann
2011-03-15 1:02 ` Arno Wagner
2011-03-15 11:11 ` Milan Broz
2011-03-15 11:43 ` Jonas Meurer
2011-03-15 12:19 ` Milan Broz
2011-03-15 12:09 ` Arno Wagner
2011-03-15 12:36 ` Milan Broz
2011-03-15 13:49 ` Arno Wagner
2011-03-21 18:21 ` Milan Broz
2011-03-22 18:47 ` Rudolf Deilmann
2011-03-22 19:09 ` Milan Broz
2011-03-22 20:44 ` Rudolf Deilmann
2011-03-22 21:05 ` Milan Broz
2011-03-23 14:14 ` Rudolf Deilmann
2011-03-23 14:37 ` Milan Broz
2011-03-23 16:00 ` Rudolf Deilmann
2011-03-23 16:26 ` Milan Broz
2011-04-14 14:28 ` [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc1 ( test " Ludwig Nussel
2011-03-17 13:36 ` [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc1 (test " Ludwig Nussel
2011-03-17 14:02 ` Milan Broz
2011-03-22 12:50 ` [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0-rc2 " Milan Broz
2011-04-05 20:02 ` [dm-crypt] [ANNOUNCE] cryptsetup 1.3.0 Milan Broz
2011-05-24 15:48 ` [dm-crypt] [ANNOUNCE] cryptsetup 1.3.1 Milan Broz
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=20110314221329.19d588ea@gmail.com \
--to=rudolf.deilmann@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox