Prev: Suspected SPAM Votre voyage au Maroc !
Next: aptitude can't find a package? (was Re: Configuring java plugin for iceweasel on amd64)
From: Alexander Batischev on 12 Jun 2010 15:10 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) <bss03(a)volumehost.com>"" doesn't match regexp. [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. <boysmith(a)CompuCom.com>"" doesn't match regexp. [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. <bss(a)iguanasuicide.net>"" doesn't match regexp. [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. (Work) <boysmith(a)CompuCom.com>"" doesn't match regexp. [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. (Personal) <bss03(a)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|ÐейÑÑвиÑелÑÐ½Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ Ð¾Ñ)" so now it does what it should (I included english version of message because sometimes I run programs with LANG=en_GB.UTF-8, and I don't want things got messed up because of that). Everything works! Thank you again, Camaleón, for being with me all that time and your helpful advices! -- Regards, Alexander Batischev 1024D/69093C81 F870 A381 B5F5 D2A1 1B35 4D63 A1A7 1C77 6909 3C81
From: Tzafrir Cohen on 14 Jun 2010 03:40 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) <bss03(a)volumehost.com>"" doesn't match regexp. > [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. <boysmith(a)CompuCom.com>"" doesn't match regexp. > [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. <bss(a)iguanasuicide.net>"" doesn't match regexp. > [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. (Work) <boysmith(a)CompuCom.com>"" doesn't match regexp. > [2010-06-12 21:47:48] pgp_copy_checksig: "gpg: aka "Boyd Stephen Smith Jr. (Personal) <bss03(a)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 | tzafrir(a)jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzafrir(a)cohens.org.il | | best tzafrir(a)debian.org | | friend -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100614073308.GB16560(a)pear.tzafrir.org.il
From: Alexander Batischev on 14 Jun 2010 08:30
On Mon, Jun 14, 2010 at 07:33:11AM +0000, Tzafrir Cohen wrote: > Why not run explicitly: > > env LC_ALL=C gpg [whatever] Good idea, I think I'll do so. Thank you! -- Regards, Alexander Batischev 1024D/69093C81 F870 A381 B5F5 D2A1 1B35 4D63 A1A7 1C77 6909 3C81 |