Your message dated Mon, 10 Apr 2017 11:33:51 +0000 with message-id <[email protected]> and subject line Bug#859903: fixed in kuvert 2.1.1 has caused the Debian Bug report #859903, regarding kuvert aborts with syslog enabled and UTF-8 chars in messages to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 859903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859903 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: kuvert Version: 2.1.0 Severity: important Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 kuvert failed to start for me today (i.e. at the first start after upgrading to 2.1.0) with Wide character in syswrite at /usr/lib/x86_64-linux-gnu/perl/5.24/Sys/Syslog.pm line 544. Some digging around shows that this happens while reading the keys and weeding out revoked keys, when "syslog" is turned on in the config, and the message passed to the logit() function contains (in this case [0]) cyrillic characters. The same happens when writing to a logfile (after enabling the option in the config): Wide character in print at /usr/bin/kuvert line 1357. So it looks like the messages need to be encoded again before being passed to Sys::Sylog or written to a local file. The attached patch seems to fix to problem for me and might serve as an inspiration. Cheers, gregor [0] % gpg --list-key --list-options show-unusable-uids 0xEA12A906DE0E1C1B gpg: please do a --check-trustdb pub dsa1024/0xEA12A906DE0E1C1B 2008-09-22 [SCA] Key fingerprint = 655A 86EB 653C 6D6C BB16 2550 EA12 A906 DE0E 1C1B uid [ unknown] Roman V. Nikolaev <[email protected]> uid [ revoked] Николаев Роман <[email protected]> uid [ revoked] Николаев Роман <[email protected]> uid [ revoked] Николаев Роман (РБС) <[email protected]> uid [ unknown] [jpeg image of size 4915] uid [ unknown] Roman V. Nikolaev <[email protected]> uid [ revoked] Николаев Роман (РБС) <[email protected]> uid [ unknown] Roman V. Nikolaev <[email protected]> uid [ unknown] Roman V. Nikolaev (http://search.cpan.org/~rshadow/) <[email protected]> sub elg2048/0xDBC0C083950A7796 2008-09-22 [E] -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAljpfNNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgb95RAAilg5KJGvAgyqoCO1kbC4mwqfmebt9CarumqVn56WjG/fniqCeHrQMSz9 5KWgybAh5qWHRYAn4R22/CLSS80FTxg1vSUzL6kaqk9f9b9gklwHNacEKYRQV+h+ Bm0Abgwau5p8syA5EBEBui8HA+5GDjGT1I4WW7L0eeqMj0k1GXkz/1+HOAHtphsb dOxqoRMuJYh/HxE35I/MvW6zhwWCRCTp+HvVxbqNDi4oj8Entykf0k/zVXhdk2xA NnYMVZxRFcnGAs8f8Ud9X1Hptyh3euURg80h5YPFSaMCPf57lv11oNv5Nz+lJLvT shSVE+cz9K5OyGXBzz4fnYNeU51mlCt/eU4xd3dwL0JKKnier98k/ydCz8CyJtnQ e/wAJX23eKT82xTLwVY6bTOrC/lKZbXBatB6vg7miDqTDkwTjmZjox/NZAB1MQqr DQjMAsI3e3RgbDs2MYaWEhJjNZ9oeaq4ftV9VWyvdLnDpNYVej2KX9II9GdINeSe sA46VkdJ2sEkesV4wfo1G4ffVwtw2ufO2p3ho9wSXSNUBsXgARH9VzbLmKmtzXU3 4jKlRBZxCzKwAMmEbt28ez/4Roacj+BINjCtH8OYjBROkneC9XsVhcfEiXuFfUs8 EvvpCADYchimFgxgToNE0QyJJrOaezCN43eLnVHWNY1GdFa+DbM= =MVBI -----END PGP SIGNATURE-------- a/usr/bin/kuvert 2017-04-01 15:36:39.000000000 +0200 +++ b/usr/bin/kuvert 2017-04-09 02:11:25.412361947 +0200 @@ -1344,6 +1344,7 @@ { my (@msgs)=@_; + my @umsgs = map {Encode::encode('utf-8', $_, Encode::FB_WARN)} @msgs; if ($config{logfile}) # our own logfile? { if (!$config{logfh}) # not open yet? @@ -1354,14 +1355,14 @@ $config{logfh}->autoflush(1); } - print { $config{logfh} } scalar(localtime)." ".join("\n\t",@msgs)."\n"; + print { $config{logfh} } scalar(localtime)." ".join("\n\t",@umsgs)."\n"; } if ($config{syslog}) { setlogsock('unix'); openlog($progname,"pid,cons",$config{syslog}); - syslog("notice",join("\n",@msgs)); + syslog("notice",join("\n",@umsgs)); closelog; } }
--- End Message ---
--- Begin Message ---Source: kuvert Source-Version: 2.1.1 We believe that the bug you reported is fixed in the latest version of kuvert, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alexander Zangerl <[email protected]> (supplier of updated kuvert package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 10 Apr 2017 21:11:52 +1000 Source: kuvert Binary: kuvert Architecture: source amd64 Version: 2.1.1 Distribution: unstable Urgency: high Maintainer: Alexander Zangerl <[email protected]> Changed-By: Alexander Zangerl <[email protected]> Description: kuvert - wrapper that encrypts or signs outgoing mail Closes: 859903 Changes: kuvert (2.1.1) unstable; urgency=high . * fix encoding issues for log output (closes: #859903) * updated dependencies, now need encode::locale Checksums-Sha1: 8aebe00786fa2dd03d4f7a6139d22999ffd77bec 1377 kuvert_2.1.1.dsc 237c60f6073330ef694c579f309395813aa216cf 42219 kuvert_2.1.1.tar.gz c541498fd5c2891974c90334f20c4662a45f6114 48108 kuvert_2.1.1_amd64.deb Checksums-Sha256: 94c3b4a72b309382b90e6188f845cfc4ccb53a945f0d4e4f95e18e3cd7e8dbed 1377 kuvert_2.1.1.dsc 8cb912a7bd394a1efe2f18fb4b1a09fe7be66d378f8b8aceb6e218f8a0bb4aca 42219 kuvert_2.1.1.tar.gz f503eb86255a06b10b116828a9ccad3b446fbab6012b4dc1e21551bfe171f4ea 48108 kuvert_2.1.1_amd64.deb Files: 6a9aa356b8f01af8080a9eebf56e8a37 1377 mail extra kuvert_2.1.1.dsc 556e025b509dac7a11af7e6d6c582fd7 42219 mail extra kuvert_2.1.1.tar.gz be487c568f0ec20bde0cd5dcba273946 48108 mail extra kuvert_2.1.1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJY62iOAAoJED06g4g30PqNW90P/iwZEVej7D9/rs5387JOGzzc MpU/2NdWK4LZFqI1apSZQLAcaPVtJBHfm3sOVhfAjD9qq4vZrSHZK2RNKYmik3fO qIGrKAmKlYMWfSk+aReYJNXXNHMeDbyEIY9ZVycflmvCv6ZVM1kuQwpNhQm12JYq eceoFzzqK9hOK9aU5rZzhTK/N7Xb3vkkP4dQ5RTKhOyfKo1tB5OuhweLQuZsM3ZW Sml0smSoOmZgYSEqX7ZMQwu5POZZ7Lq0xlclwTF7mEgOD+2+ljr8zFmekF0eDmo5 mJnZepW2SLRe3xezupO718ITwZcWxqhfHunQ2CQQy0MGeoj0TeVaihH75Qj6Jlfl ThA7j5w8Ac4OQ2aY1m0n1OT5DQAMaPMFuF8RAKrtJevZtJTpxfJJi0hhhxEp2qdg vl4xWtRi5QrM2toE2cE3HI9lMLiY5rUGD3NEdG2d6ZCwJqkbwDv7QsevIpAyshTA RuC3Gtwhz3CeKI64Gicm1Ixm9zkHF0JQIcshmrDoXtBWZWUJDZrZZQSY5+cEmeC0 Akq0+CrXC5rkNzVhkGTMhKymyb8aXmcM7LzWjGjRAkWlC3oyXlXx6Ptc7Gt3RZ96 2FuEUE6fcK3jgoWrbOxEVyIh4W7R4g0ppEByXlLDWepI4PhxM+oMyzOdmP4MGBln BOAjp6TcyjhqqhfKBDiY =8ach -----END PGP SIGNATURE-----
--- End Message ---

