[Bug 885358] Re: decrypt_gnupg prompt does not accept any keyboard input

Dave Pifke dave at pifke.org
Sat Oct 24 18:13:34 UTC 2015


I created the attached patch, which fixes this problem by using plymouth
to prompt for the password, if it is available.  If plymouth is not
available, it defaults to the old behavior of using
/lib/cryptsetup/askpass.


** Patch added: "cryptsetup-1.6.6-885358.patch"
   https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/885358/+attachment/4504200/+files/cryptsetup-1.6.6-885358.patch

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

Title:
  decrypt_gnupg prompt does not accept any keyboard input

Status in cryptsetup package in Ubuntu:
  Confirmed

Bug description:
  I have the boot partition and grub on a USB stick. Unlocking the HDD
  partition by passphrase works fine, but if I switch to GPG unlocking
  with a symmetric key, the GPG passphrase prompt does not accept any
  input. I can switch to the splash screen and back and to other
  consoles. On switching, the dialog ("Enter your GPG passphrase") gets
  reprinted, but still does not accept any input.

  /etc/crypttab:
  sda2_crypt UUID=... /etc/keys/cryptkey.gpg luks,keyscript=decrypt_gnupg

  /etc/fstab:
  /dev/mapper/vol01-root / ext4 noatime,nodiratime,discard,data=ordered,errors=remount-ro 0 1
  /dev/disk/by-label/bootstick /boot ext4 defaults 0 2
  /dev/mapper/vol01-home /home ext4 noatime,nodiratime,discard,data=ordered 0 2

  Ubuntu 11.10, Kernel 3.1.0-030100-generic, cryptsetup 2:1.1.3-4ubuntu2

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



More information about the foundations-bugs mailing list