Re: Kubuntu 7.10 64bit

[email protected]
Newsgroups gmane.linux.cryptography,gmane.spam.detected
Message-ID <[email protected]>
Hi!

Seems I´m stuck with this :-(
Root encryption with partition table works fine but the initial ramdisk for partition-free encryption throws an error message pointing to line 34 of loopcrypt.

> /etc/initramfs-tools/scripts/local-top/loopcrypt (changed)
> ---
> #!/bin/bash 
> # bash instead of sh/dash!
> 
> PREREQ="udev" 
> HD="/dev/sda" #root partition
>  
> prereqs() 
> { 
>     echo "$PREREQ" 
> } 
> 
> case "$1" in 
>     prereqs) 
>         prereqs 
>         exit 0 
>         ;; 
> esac 
> 
> echo "Waiting for crypted root device..." 
>  
> slumber=1800 
> while [ ${slumber} -gt 0 -a ! -e "$HD" ]; do 
>     /bin/sleep 0.1 
>         slumber=$(( ${slumber} - 1 )) 
> done 
> 
> TEST=1
> while [ 0 != $TEST ] ; do
>   echo "password:"
>   read -s PASS # gpg can't read the passphrase itself ....

This here is suspicious to me:
   PLAIN=$(cat "/upscript.gpg" | gpg --decrypt --no-tty --quiet --passphrase-fd 8 8<<<"$PASS")

How many < are supposed to be there? 1, 2, 3 or even more? Running this script/passage alone should de-crypt my key but it fails all the time to do so. I´ll take a deeper look into the manuals. Maybe I´ll find out by myself. Hope so.

Kind regards
Peter
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.