From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] How to recognize a LUKS container
Date: Tue, 22 Sep 2015 22:13:31 +0200 [thread overview]
Message-ID: <20150922201330.GA22680@tansi.org> (raw)
In-Reply-To: <163648314.1746145.1442947936228.JavaMail.yahoo@mail.yahoo.com>
Hi,
it is very easy:
- cryptsetup isLuks <container> returns true
- the container starts with the LUKS magic number, i.e.
'L','U','K','S', 0xBA, 0xBE.
On Tue, Sep 22, 2015 at 20:52:16 CEST, H McCurdy wrote:
> Hi,
>
> I've read the FAQ (but can't guarantee I didn't miss something). In the
> warnings sections about the Ubuntu installer I read "... (it is very easy
> to recognize a LUKS container)..."
Always good to know it gets read!
> I don't actually need to know, but I'd like to know how this is done. I
> didn't find the answer in the FAQ, didn't find it using Google and didn't
> find it on Stack Overflow.
It is really very easy, both using cryptsetup and manyally:
- "cryptsetup isLuks <container>" returns true
use option -v for additional text output.
- The container starts with the LUKS magic number, i.e.
'L','U','K','S', 0xBA, 0xBE.
The reference for the second one would be the Luks Specification,
available here:
https://gitlab.com/cryptsetup/cryptsetup/wikis/LUKS-standard/on-disk-format.pdf
(It is referenced in the FAQ at the end).
Regards,
Arno
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name
GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato
If it's in the news, don't worry about it. The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
prev parent reply other threads:[~2015-09-22 20:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 18:52 [dm-crypt] How to recognize a LUKS container H McCurdy
2015-09-22 20:03 ` Ralf Ramsauer
2015-09-22 20:14 ` Ralf Ramsauer
2015-09-22 20:19 ` Michael Kjörling
2015-09-23 2:29 ` H McCurdy
2015-09-23 7:50 ` Michael Kjörling
2015-09-23 8:39 ` Milan Broz
2015-09-22 20:13 ` Arno Wagner [this message]
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=20150922201330.GA22680@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.