DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] dm-crypt vs Luks: What’s the difference on disk
@ 2014-08-12 13:11 Michael
  2014-08-12 18:48 ` Arno Wagner
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2014-08-12 13:11 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]


Hi,

I was wondering why a plain dm-crypt partition looks like random data  
while with a Luks partition an attacker will know that the partition  
is encrypted. What is exactly the difference on disk? Is it the header  
that would tell someone thats an encrypted partition? Would a Luks  
partition with a detached header change this situation?

Thanks.
-- 
Regards,
Michael

[-- Attachment #2: PGP Public Key --]
[-- Type: application/pgp-keys, Size: 1718 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dm-crypt] dm-crypt vs Luks: What’s the difference on disk
  2014-08-12 13:11 [dm-crypt] dm-crypt vs Luks: What’s the difference on disk Michael
@ 2014-08-12 18:48 ` Arno Wagner
  2014-08-12 19:03   ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Arno Wagner @ 2014-08-12 18:48 UTC (permalink / raw)
  To: dm-crypt

Simple: plain dm-crypt is header-less.
More info in the FAQ, Section 6, in particular Items
6.11 and 6.12.

Arno


On Tue, Aug 12, 2014 at 15:11:18 CEST, Michael wrote:
> 
> Hi,
> 
> I was wondering why a plain dm-crypt partition looks like random
> data while with a Luks partition an attacker will know that the
> partition is encrypted. What is exactly the difference on disk? Is
> it the header that would tell someone thats an encrypted partition?
> Would a Luks partition with a detached header change this situation?
> 
> Thanks.
> -- 
> Regards,
> Michael

> pub  2048R/CF8EDAA3 2014-06-04 Michael G <michael@skrilnetz.net>
> sub  2048R/28ADE1E3 2014-06-04

> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dm-crypt] dm-crypt vs Luks: What’s the difference on disk
  2014-08-12 18:48 ` Arno Wagner
@ 2014-08-12 19:03   ` Michael
  2014-08-13  0:25     ` Arno Wagner
  0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2014-08-12 19:03 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

So a Luks partition with a detached header would look the same as a  
plain dm-crypt partition, right?
Quoting Arno Wagner <arno@wagner.name>:

> Simple: plain dm-crypt is header-less.
> More info in the FAQ, Section 6, in particular Items
> 6.11 and 6.12.
>
> Arno
>
>
> On Tue, Aug 12, 2014 at 15:11:18 CEST, Michael wrote:
>>
>> Hi,
>>
>> I was wondering why a plain dm-crypt partition looks like random
>> data while with a Luks partition an attacker will know that the
>> partition is encrypted. What is exactly the difference on disk? Is
>> it the header that would tell someone thats an encrypted partition?
>> Would a Luks partition with a detached header change this situation?
>>
>> Thanks.
>> --
>> Regards,
>> Michael
>
>> pub  2048R/CF8EDAA3 2014-06-04 Michael G <michael@skrilnetz.net>
>> sub  2048R/28ADE1E3 2014-06-04
>
>> _______________________________________________
>> dm-crypt mailing list
>> dm-crypt@saout.de
>> http://www.saout.de/mailman/listinfo/dm-crypt
>
>
> --
> 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
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
Regards,
Michael

[-- Attachment #2: PGP Public Key --]
[-- Type: application/pgp-keys, Size: 1718 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dm-crypt] dm-crypt vs Luks: What’s the difference on disk
  2014-08-12 19:03   ` Michael
@ 2014-08-13  0:25     ` Arno Wagner
  0 siblings, 0 replies; 4+ messages in thread
From: Arno Wagner @ 2014-08-13  0:25 UTC (permalink / raw)
  To: dm-crypt

It should. You can try on a loop-file to be sure.

Arno

On Tue, Aug 12, 2014 at 21:03:17 CEST, Michael wrote:
> So a Luks partition with a detached header would look the same as a
> plain dm-crypt partition, right?
> Quoting Arno Wagner <arno@wagner.name>:
> 
> >Simple: plain dm-crypt is header-less.
> >More info in the FAQ, Section 6, in particular Items
> >6.11 and 6.12.
> >
> >Arno
> >
> >
> >On Tue, Aug 12, 2014 at 15:11:18 CEST, Michael wrote:
> >>
> >>Hi,
> >>
> >>I was wondering why a plain dm-crypt partition looks like random
> >>data while with a Luks partition an attacker will know that the
> >>partition is encrypted. What is exactly the difference on disk? Is
> >>it the header that would tell someone thats an encrypted partition?
> >>Would a Luks partition with a detached header change this situation?
> >>
> >>Thanks.
> >>--
> >>Regards,
> >>Michael
> >
> >>pub  2048R/CF8EDAA3 2014-06-04 Michael G <michael@skrilnetz.net>
> >>sub  2048R/28ADE1E3 2014-06-04
> >
> >>_______________________________________________
> >>dm-crypt mailing list
> >>dm-crypt@saout.de
> >>http://www.saout.de/mailman/listinfo/dm-crypt
> >
> >
> >--
> >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
> >_______________________________________________
> >dm-crypt mailing list
> >dm-crypt@saout.de
> >http://www.saout.de/mailman/listinfo/dm-crypt
> 
> 
> -- 
> Regards,
> Michael

> pub  2048R/CF8EDAA3 2014-06-04 Michael G <michael@skrilnetz.net>
> sub  2048R/28ADE1E3 2014-06-04

> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-13  0:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12 13:11 [dm-crypt] dm-crypt vs Luks: What’s the difference on disk Michael
2014-08-12 18:48 ` Arno Wagner
2014-08-12 19:03   ` Michael
2014-08-13  0:25     ` Arno Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox