[dm-crypt] Query on validating cryptsetup

Arno Wagner arno at wagner.name
Sun Oct 7 22:53:44 CEST 2012


On Sun, Oct 07, 2012 at 09:50:46PM +0200, Milan Broz wrote:
> On 10/03/2012 07:28 PM, Abhishek Tiwari wrote:
> > I am trying to use cryptsetup for an SD card. I create the crypto
> > mapper device and write a file to it. For the purpose of validation,
> > I am using a fixed key "11111111" as passphrase. Then I tried to see
> > the contents of this SD card using a reader and WinHex. Unfortunately
> > these contents do not match with an encrypted copy of same file that
> > was encrypted using this online DES encryption tool: 
> > http://www.tools4noobs.com/online_tools/encrypt/ I specified
> > algorithm as DES and mode as CBC.
> 
> Well, if it is real use, never use DES, it is no longer secure enough.

Indeed. Known plaintext attack for DES is doable some hours now.
I still remember when 56 bit DES was considered secure ;-)

Arno
-- 
Arno Wagner,    Dr. sc. techn., Dipl. Inform.,   Email: arno at wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
One of the painful things about our time is that those who feel certainty 
are stupid, and those with any imagination and understanding are filled 
with doubt and indecision. -- Bertrand Russell 


More information about the dm-crypt mailing list