All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: ".. ink .." <mhogomchungu@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] cryptsetup 1.6.0 crash when attempting to open truecrypt volume if the key is large enough
Date: Fri, 15 Feb 2013 10:01:05 +0100	[thread overview]
Message-ID: <511DF951.1010606@gmail.com> (raw)
In-Reply-To: <CAFnMBaRqYiy7LUBd7UcmYHQAdck7Q2uYGJ8QWvLjA9jm6AK1PA@mail.gmail.com>

On 02/14/2013 06:06 PM, .. ink .. wrote:
> 
> which version? I tried it on some latest GUI and it did not allow me
> 
> 
> i have truecrypt version 7.0a
> 
> I created a 70 byte file,copied the characters and paste them in the
> truecrypt GUI volume when i created the volume and the volume was
> created successfully.

I think the GUI widget trimmed so you in fact entered just first 64
bytes. Check with "display password" option...
And try commandline, at least I get
Error: Password is longer than 64 characters.

I really do not like encryption systems which quietly trims anything
pretending longer password is correct. This is recipe for disaster.

I changed return code for TCRYPT oversized passphrase to -EPERM
(So it is handled like "bad passphrase", just early, this is way
I prefer.)

Thanks,
Milan

  reply	other threads:[~2013-02-15  9:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 11:44 [dm-crypt] cryptsetup 1.6.0 crash when attempting to open truecrypt volume if the key is large enough .. ink ..
2013-02-14 13:43 ` Milan Broz
2013-02-14 16:39   ` .. ink ..
2013-02-14 16:57     ` Milan Broz
2013-02-14 17:06       ` .. ink ..
2013-02-15  9:01         ` Milan Broz [this message]
2013-02-15 11:51           ` Arno Wagner

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=511DF951.1010606@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=mhogomchungu@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.