Re: Kubuntu 7.10 64bit

Rudolf Deilmann <[email protected]>
Newsgroups gmane.linux.cryptography
Message-ID <[email protected]>
Am Tue, 29 Jan 2008 21:07:21 +0100
schrieb [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.

What error message exactly do you get?

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

is this line 34 of your loopcrypt?

> 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.

the syntax is right: '<<<'.
It only works with the bash (#/bin/bash), not with dash (#/bin/sh
under Ubuntu) (you need bash in any case because of 'read -s')

However, you don't need '<<<' at all. You can also write it in this way:
PLAIN=$(echo "${PASS}" | gpg --no-tty --passphrase-fd 0 --quiet \
--decrypt /upscript.gpg)





-
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.