[Bug 1022815] Re: initramfs should try password against other devices

Roger Binns ubuntu at rogerbinns.com
Sat Aug 18 21:31:32 UTC 2012


Ok, more progress.  keyctl must be installed otherwise update-initramfs
fails and you have to guess why.

And with everything plumbed in, I can't actually enter my passphrase and
the machine is unusable.  The reason is decrypt_keyctl is not using
whatever means is correct for prompting for the passphrase.  Before I
would get the prompt on the main Ubuntu screen (logo and 5 animated
dots).

That screen just animates forever.  If I switch consoles I do end up on
one that says "Caching passphrase for ....:" as what looks like a
prompt, but I can't get it to accept anything.

In recovery mode the animated ubuntu screen is not present, instead just
a text mode.  I get a prompt this time, but again can't get it to accept
anything. If I switch to the dmesg console, nothing is echoed until I
hit return. At that point decrypt_keyctl just says "No key available for
this passphrase" against the UUID of each encrypted device and then I am
dumped out at the (initramfs) shell.

So yeah, using it as things stand is a solution in spirit but in
practise leaves you with an unbootable machine.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1022815

Title:
  initramfs should try password against other devices

Status in “cryptsetup” package in Ubuntu:
  New

Bug description:
  Due to multiple drives I have multiple encrypted volumes.  The
  passphrase for all of them is identical.. However at boot I am asked
  the password for each one, and have to type the same thing over and
  over again.  cryptsetup during boot should at least try the previously
  typed in password against each volume.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: cryptsetup (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Mon Jul  9 22:14:32 2012
  SourcePackage: cryptsetup
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1022815/+subscriptions




More information about the foundations-bugs mailing list