From: Milan Broz <gmazyland@gmail.com>
To: Jose Thomas <jostho@gmail.com>, dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup 1.2 to 1.6 upgrade
Date: Thu, 19 Nov 2015 15:30:33 +0100 [thread overview]
Message-ID: <564DDD09.2010506@gmail.com> (raw)
In-Reply-To: <CAHRNH+-B5GunF+xX7qSBf5oUYKeJAcSNgbviXRhryoSO+5DJGQ@mail.gmail.com>
On 11/19/2015 02:07 PM, Jose Thomas wrote:
>
> $ ls -l /dev/shm/key.dat
> -rw-------. 1 root root 16 Nov 19 05:03 /dev/shm/key.dat
Your keyfile is only 16 bytes long, you need 32 bytes for 256bit key.
(There was an bug in cryptsetup 1.2.0 where this was not reported and rest
of key was zeroed.)
Try to add these zeroes to your keyfile and repeat.
(Like dd if=/dev/zero of=<keyfile> seek=16 bs=1 count=16 conv=notrunc )
But note your key is half-zeroed (since the beginning!).
Milan
next prev parent reply other threads:[~2015-11-19 14:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 13:07 [dm-crypt] cryptsetup 1.2 to 1.6 upgrade Jose Thomas
2015-11-19 14:30 ` Milan Broz [this message]
2015-11-19 15:32 ` Jose Thomas
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=564DDD09.2010506@gmail.com \
--to=gmazyland@gmail.com \
--cc=dm-crypt@saout.de \
--cc=jostho@gmail.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.