All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Kozina <okozina@redhat.com>
To: "'dm-crypt@saout.de'" <dm-crypt@saout.de>
Cc: mgreger@cinci.rr.com
Subject: Re: [dm-crypt] Two questions
Date: Thu, 14 Nov 2019 10:15:41 +0100	[thread overview]
Message-ID: <d19b7183-5a4a-89fb-9b03-02c90ae1a19b@redhat.com> (raw)
In-Reply-To: <3e97eab84e794c604a03f49ce7c66a31ca266ade@webmail>

On 11/13/19 4:15 PM, mgreger@cinci.rr.com wrote:
> 1)   Should it be possible to use a detached header and --integrity 
> options to cryptsetup at the same time? When I try, I get a message 'No 
> integrity superblock detected on header.'

Detached LUKS2 header with auth. encryption does not work. We should add 
straightforward error message right in 'luksFormat' and 'open' actions. 
(interestingly it fails in different code up to 2.0.6 and post 2.1.0, 
but it doesn't work in either release). From my perspective it's a bug 
that it fails so late in crypt_format() code.

Right now, I'm not sure if it's only unfinished feature from userspace 
perspective or we miss something also in kernel to make it work correctly.

O.

  parent reply	other threads:[~2019-11-14  9:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-13 15:15 [dm-crypt] Two questions mgreger
2019-11-13 18:07 ` Michael Kjörling
2019-11-14  9:15 ` Ondrej Kozina [this message]
2019-11-15 10:00 ` Milan Broz
2019-11-13 18:42 mgreger
2019-11-13 23:16 ` Arno Wagner
2019-11-14  2:43 mgreger
2019-11-14  2:45 mgreger

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=d19b7183-5a4a-89fb-9b03-02c90ae1a19b@redhat.com \
    --to=okozina@redhat.com \
    --cc=dm-crypt@saout.de \
    --cc=mgreger@cinci.rr.com \
    /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.