On Sat, Jun 12, 2010 at 10:04:32PM +0300, Alexander Batischev wrote:
> On Sat, Jun 12, 2010 at 04:11:20PM +0000, Camaleón wrote:
> > (...)
> > 
> > You can launch Mutt in debug mode (mutt -d 3), so it logs any message to 
> > "~/.muttdebug0".
> 
> That's the first thing one should think about if something doesn't work
> properly, but I forgot about it... Thank you very much, Camaleón!
> 
> So the reason of problem lying in language. I have ru_UK.UTF-8 locale, so mutt
> displays messages in Russian. Look what I got in the log file:
> 
>     [2010-06-12 21:47:48] mutt_pgp_command: gpg --no-verbose --batch --output 
> - --verify /tmp/mutt-speedy-1000-18475-6204207d671f2cdf9.asc 
> /tmp/mutt-speedy-1000-18475-6204207d671f2cdf9
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Подпись создана Птн 11 Июн 
> 2010 20:03:55 EEST ключом DSA с ID EF3A7C2D" doesn't match regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Действительная подпись от 
> "Boyd Stephen Smith Jr. (Old Personal) <bs...@volumehost.com>"" doesn't match 
> regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
> Stephen Smith Jr. <boysm...@compucom.com>"" doesn't match regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
> Stephen Smith Jr. <b...@iguanasuicide.net>"" doesn't match regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
> Stephen Smith Jr. (Work) <boysm...@compucom.com>"" doesn't match regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg:                 aka "Boyd 
> Stephen Smith Jr. (Personal) <bs...@volumehost.net>"" doesn't match regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: Замечание: Данный ключ 
> просрочен!" doesn't match regexp.
>     [2010-06-12 21:47:48] pgp_copy_checksig: " Отпечаток главного ключа: BA73 
> 1E00 B621 0761 D708  F326 74D6 DF93 EF3A 7C2D" doesn't match regexp.
> 
> Pay attention to those "doesn't match regexp". Here is what I have in my
> ~/.muttrc:
> 
>     set pgp_good_sign="^gpg: Good signature from"
> 
> This is that regexp which have to be matched. I simply change previous line to
> the following:
> 
>     set pgp_good_sign="^gpg: (Good signature from|Действительная подпись от)"

Why not run explicitly:

  env LC_ALL=C gpg [whatever]

-- 
Tzafrir Cohen         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
tzaf...@debian.org    |                    | friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100614073308.gb16...@pear.tzafrir.org.il

Reply via email to