[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-users
Subject: Re: Charset conversion during encryption
From: Albert <gnupg () ml0402 ! albert ! uni ! cc>
Date: 2004-05-30 10:31:21
Message-ID: 200405301231.21652.gnupg () ml0402 ! albert ! uni ! cc
[Download RAW message or body]
Am Sonntag, 30. Mai 2004 00:18 schrieb David Shaw:
> Also true. UTF-8 test in OpenPGP is historically a little weird.
This charset problem drives me crazy sometimes. Now I use SuSE 9.1
with default-charset utf-8, but it happened with SuSE 8.2 and
iso-8859-15 too.
Assume you made a shell-script (bash) to create a virus report with
antivir
If you run the script manually everything works fine, if the script
is started by a cron job KMail says, that there is an invalid
signature.
I used the following:
ANTIVIROPTIONS="-s -v -z --allfiles -e -ren -dmdel -dmdas -r1 \
-rf$LOG_FILE_ANTIVIR -ra -lang=DE"
If I change to lang=EN everything is fine.
cat $LOG_FILE_SUMMARY \
| /usr/local/bin/gpg --local-user $SENDER --no-secmem-warning \
--quiet --charset utf-8 --textmode --clearsign --trusted-key \
"$LONGKEYID" \
| mail -s "Virusalarm on $MACHINE in $SCANDIR " \
| `date +%y-%m-%d`" "`date +%H:%M` $WARN
So every time, when an umlaut is in the output the signature is
invalid if the script is started by a cronjob, but the same script
works fine, if it is started manually.
Albert
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic