[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2009-06-15 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 110970 ***
https://bugs.launchpad.net/bugs/110970

** Branch linked: lp:ubuntu/karmic/cryptsetup

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-30 Thread Saïvann Carignan
*** This bug is a duplicate of bug 110970 ***
https://bugs.launchpad.net/bugs/110970

Marking this bug as a duplicate of bug 110970 so we can merge our
discussion with ubuntu-dev that already put some work on it too.

** This bug has been marked a duplicate of bug 110970
   When mounting encrypted drives the password should be asked for graphically 
and not in text mode

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-30 Thread Launchpad Bug Tracker
This bug was fixed in the package cryptsetup - 2:1.0.6-6ubuntu1

---
cryptsetup (2:1.0.6-6ubuntu1) intrepid; urgency=low

  * drop almost all ubuntu specific changes from the cryptsetup package,
because they have been merged in debian. Thanks a lot!
  * merge from debian, remaining changes:
- remove versioned build-depency on libdevmapper-dev, we are using a
  rather sophisticated loop for making sure the root filesystem appears.
  * debian/rules: fix location of ltmain.sh
  * don't exit usplash anymore in the init script. LP: #110970, #139363
  * Disable error message 'failed to setup lvm device'. It is harmless, and
caused by the fact that the udev rules provided by lvm2 are setting up
the lvm on their own. In debian the scripts here are responsible for this
but obviously fail in ubuntu. LP: #151532

cryptsetup (2:1.0.6-6) unstable; urgency=high

  * Don't cat keyfile into pipe for do_noluks(). cryptsetup handles
--key-file=- different for luks and plain dm-crypt mappings. This time
really (closes: #493848). Thus again upload with urgency=high.

cryptsetup (2:1.0.6-5) unstable; urgency=high

  * Fix watch file to not report -pre and -rc releases as superior.
  * Remove the global var $SIZE from cryptdisks.functions again but keep the
extended value checks.
  * Remove the udev rules file also in preinst, code taken from example at
http://wiki.debian.org/DpkgConffileHandling. Thanks Marco d'Itri.
(closes: #493151)
  * Remove duplicated configuration of --key-file in $PARAMS at do_noluks().
(closes: #493848).
  * Invoke mount_fs() and umount_fs() in cryptdisks_start, add
log_action_begin_msg() and log_action_end_msg() to both cryptdisk_start
and cryptdisks_stop.
  * Copy fd 3 code from do_start and do_stop to cryptdisks_start and
cryptdisks_stop  to fix "keyscript | cryptsetup". (closes: #493622)
  * This upload fixes two RC bugs, thus upload with severity=high.

cryptsetup (2:1.0.6-4) unstable; urgency=medium

  [ David Härdeman ]
  * Make sure $IGNORE is reset as necessary, patch by Thomas Luzat
<[EMAIL PROTECTED]> (closes: #490199)
  * Use askpass in init scripts as well (closes: #489033, #477203)

  [ Jonas Meurer ]
  * Don't copy_exec libgcc1 in cryptopensc initramfs hook, as it's already
copied by copy_exec /usr/sbin/pcscd automaticly. Thanks to Evgeni Golov
<[EMAIL PROTECTED]>. (closes: #490300)
  * Remove the udev rules file again as the relevant rules are now provided
by dmsetup package which cryptsetup depends on.
  * Add splashy support to askpass, thanks to John Hughes <[EMAIL PROTECTED]>
for the patch. (closes: #492451) The support is limited to cryptroot
though, as splashy freezes for passphrase input dialogs from initscripts.
Document that in README.Debian.
  * Now that askpass is used as keyscript for interactive mode, it's not
necessary to set cryptsetup parameter '--tries=$TRIES' and TRIES=1 for
interactive mode anymore in cryptdisks.functions.
  * Implement special treatment for random passphrases now that we use
"--key-file=-" for all situations. Only necessary in do_noluks.
  * Fix the passphrase prompt string in initramfs/cryptroot.script to use
$cryptsource instead of $cryptsources.
  * Major documentation cleanup for lenny:
- Rewrite CryptoSwap.HowTo in README.Debian, remove CryptoSwap.HowTo.
- Refer to README.initramfs instead of CryptoRoot.HowTo for encrypted root
  filesystem in README.Debian.
- Remove outdated docs CryptoRoot.HowTo, usbcrypto.udev and gen-old-ssl-key
  as well as the decrypt_old_ssl keyscript.
- Remove debian/TODO, didn't have any useful content anyway.
- Fix section ''9. The "decrypt_derived" keyscript'': Add swap option to
  the example line for crypttab and other minor fixes. Thanks to
  Helmut Grohne <[EMAIL PROTECTED]>. (closes: #491867)
  * urgency=medium since important (#492451) and security (#477203) bugs get
fixed by this upload.

cryptsetup (2:1.0.6-3) unstable; urgency=low

  [ Jonas Meurer ]
  * Fix cryptdisks.functions to actually recognize the noauto option. Thanks
to Christian Pernegger <[EMAIL PROTECTED]> (closes: #483882)
  * Update patches/02_manpage.patch to fix two more typos, thanks to Bruno
Barrera Yever <[EMAIL PROTECTED]> (closes: #476624) and to remove a
duplicate sentence.
  * Rephrase "Enter password for $crypttarget" to "Enter password to unlock
the disk $cryptsource ($crypttarget)" in initramfs/cryptroot.script.
  * Bump Standards-Version to 3.8.0:
- Add a README.source which references /usr/share/doc/quilt/README.source.
- Add support for debian build option parallel=n to debian/rules.
  * Add a udev rules file to ignore temporary-cryptsetup-* devices, as
suggested in bug #467200. Thanks to Sam Morris <[EMAIL PROTECTED]>.
  * Transform debian/copyright into machine-readable code as proposed in
http://wiki.debian.org/Proposals/CopyrightFormat. Updat

[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-23 Thread 10111
No, I propose this as solution for the bug, that the current patch for
this issue isn't working if there's a fsck before. I'd like to know,
whether you (evidently you know better all this usplash stuff than I)
concern this as possible solution or not.

Bug 55159 doesn't appear here. I tried your instructions in comment #6
(https://bugs.launchpad.net/ubuntu/+source/usplash/+bug/55159/comments/6)
but I couldn't see any value I entered.

Having to enter all the passwords the same time in the boot process is
an enhancement I didn't thought about. But I agree with you that this
brings better user experience. Who's "the one" we have to propose moving
the password prompts to the initramfs?

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-22 Thread Saïvann Carignan
10111 : Would that be a solution for bug 55159 ? We should also be sure
that the password is not echoed in the console or anywhere in plain
text. Also I thought more about your proposition to add cryptsetup
prompt in initramfs instead of init.d and this can make sense since
filesystem is not necessary mounted at this stage, cryptsetup only
creates the /dev/mapper device. I was probably wrong, this might be a
interesting solution. It would also not ask for cryptsetup password in
the middle of the boot process, but directly at start, which woud be
more interesting for the final user IMO.

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-22 Thread 10111
Where does this bug with fsck come from? Maybe the file the password is read 
from (/dev/.initramfs/usplash_outfifo) isn't empty but filled with the output 
of fsck? If so, why can't you just empty it before prompting for the password 
and then reading it?
"cat" will block if (as it should be) there's no line or byte to read from the 
file. I don't know, if there's any commandline tool to do this properly, but 
something like this works:

sudo -s
echo -e "some stupid input just to have something within the file" > 
/dev/.initramfs/usplash_outfifo
cat -u /dev/.initramfs/usplash_outfifo

So maybe we can put something like this right before prompting for the
password in order to empty the file the password is read from.

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-21 Thread Leandro Pereira de Lima e Silva
Yes, I've observed this bug here too. I'll try to integrate the script
into initramfs first unlock when I have some time.

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-21 Thread Saïvann Carignan
Yes, it's another issue which would need attention before we add
cryptsetup prompt to usplash. I don't think that adding current
cryptsetup init.d processes to initramfs is a acceptable solution,
cryptsetup should still be started from init.d at this stage and when it
is configured this way. Keeping the actual configuration until the bug
gets fixed is clearly not a problem, it just don't give a good user
experience because it doesn't look great, but it works correctly.

IMO, This cosmetic bug should only be fixed if it doesn't cause any
regression.

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-21 Thread 10111
Is it right that the patch isn't working if there's a fsck running
before the cryptodisks are started? Cause then something seems to fill
the password input with some strange huge text, so the monitor is full
of stars. Without fsck running before, I have no problems with the
patched file.

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-08-21 Thread 10111
I have the same issue here. It's really disturbing as I already invested
some hours getting rid of all the other trouble, cryption caused
together with usplash. Maybe there's a way to do the crypt-stuff within
the initramfs too? Just as workaround untill there's a real solution.

** Changed in: cryptsetup (Ubuntu)
   Status: Triaged => Confirmed

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-07-08 Thread Saïvann Carignan
Yes, as described in bug 55159, cryptsetup password through usplash
works correctly in initramfs, but not when started through init.d.

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-07-08 Thread Leandro Pereira de Lima e Silva
Yeah, I based on it since they should have the same behavior.

Does it work properly from initramfs?

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-07-07 Thread Saïvann Carignan
The patch looks good (almost identical as the "cryptroot") that runs
with initramfs when installed in encrypted LVM with the alternate CD.
However, due to the security reasons explained in bug 55159, it is still
not suitable for a upload into intrepid or hardy, at least until the
"clear password in console" security problem is fixed.

** Changed in: cryptsetup (Ubuntu)
   Status: In Progress => Triaged

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 139363] Re: "Enter passphrase" for LUKS/cryptsetup breaks usplash

2008-07-07 Thread Saïvann Carignan
** Summary changed:

- [gutsy] "Enter passphrase" for LUKS/cryptsetup breaks usplash
+ "Enter passphrase" for LUKS/cryptsetup breaks usplash

-- 
"Enter passphrase" for LUKS/cryptsetup breaks usplash
https://bugs.launchpad.net/bugs/139363
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs