Your message dated Wed, 05 Apr 2006 01:42:24 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#205028: fixed in gnupg 1.4.3-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gnupg
Version: 1.2.2-1
Tags: patch

If gnupg found some uid, it prints [User id not found] as the uid.
However, if we use translated message for this, it prints like this

pub  1024D/3CC88C09 1999-11-22 Fumitoshi UKAI <[EMAIL PROTECTED]>
sig 3       3CC88C09 1999-11-22   Fumitoshi UKAI <[EMAIL PROTECTED]>
sig         7E2218E5 2000-05-12   
[\xa5\xe6\xa1\xbc\xa5\xb6\xa1\xbcid\xa4\xac\xb8\xab\xa4\xc4\xa4\xab\xa4\xea\xa4\xde\xa4\xbb\xa4\xf3\x5d

This is because gettext() returns translated string in native encoding, 
but gpg will print it out in utf8 encoding.

This problem can be fixed by this patch.

--- ../gnupg-1.2.2/g10/getkey.c 2003-04-29 16:26:40.000000000 +0900
+++ ./g10/getkey.c      2003-08-12 11:37:21.000000000 +0900
@@ -183,7 +183,12 @@ get_primary_uid ( KBNODE keyblock, size_
     } 
     /* fixme: returning translatable constants instead of a user ID is 
      * not good because they are probably not utf-8 encoded. */
-    s = _("[User id not found]");
+    {
+       char *s0 = native_to_utf8(_("[User id not found]"));
+       s = m_strdup(s0);
+       free(s0);
+    }
+//    s = _("[User id not found]");
     *uidlen = strlen (s);
     return s;
 }
@@ -2518,7 +2523,12 @@ get_user_id( u32 *keyid, size_t *rn )
             }
         }
     } while( ++pass < 2 && !get_pubkey( NULL, keyid ) );
-    p = m_strdup( _("[User id not found]") );
+    {
+       char *p0 = native_to_utf8(_("[User id not found]"));
+       p = m_strdup(p0);
+       free(p0);
+    }
+//    p = m_strdup( _("[User id not found]") );
     *rn = strlen(p);
     return p;
 }

Regards,
Fumitoshi UKAI


--- End Message ---
--- Begin Message ---
Source: gnupg
Source-Version: 1.4.3-1

We believe that the bug you reported is fixed in the latest version of
gnupg, which is due to be installed in the Debian FTP archive:

gnupg-udeb_1.4.3-1_i386.udeb
  to pool/main/g/gnupg/gnupg-udeb_1.4.3-1_i386.udeb
gnupg_1.4.3-1.diff.gz
  to pool/main/g/gnupg/gnupg_1.4.3-1.diff.gz
gnupg_1.4.3-1.dsc
  to pool/main/g/gnupg/gnupg_1.4.3-1.dsc
gnupg_1.4.3-1_i386.deb
  to pool/main/g/gnupg/gnupg_1.4.3-1_i386.deb
gnupg_1.4.3.orig.tar.gz
  to pool/main/g/gnupg/gnupg_1.4.3.orig.tar.gz
gpgv-udeb_1.4.3-1_i386.udeb
  to pool/main/g/gnupg/gpgv-udeb_1.4.3-1_i386.udeb



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.
James Troup <[EMAIL PROTECTED]> (supplier of updated gnupg 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: SHA1

Format: 1.7
Date: Wed,  5 Apr 2006 02:45:56 +0100
Source: gnupg
Binary: gnupg-udeb gnupg gpgv-udeb
Architecture: source i386
Version: 1.4.3-1
Distribution: unstable
Urgency: low
Maintainer: James Troup <[EMAIL PROTECTED]>
Changed-By: James Troup <[EMAIL PROTECTED]>
Description: 
 gnupg      - GNU privacy guard - a free PGP replacement
 gnupg-udeb - GNU privacy guard - a free PGP replacement (udeb)
 gpgv-udeb  - minimal signature verification tool (udeb)
Closes: 177951 205028 314069 321948 333218 344314 360257
Changes: 
 gnupg (1.4.3-1) unstable; urgency=low
 .
   * New upstream release.
    * 22_zero_length_mpi_fix.dpatch: merged upstream, dropped.
    * debian/rules (test): s/g10.c/gpg.c/.
    * 16_min_privileges.dpatch: likewise.
 .
   * debian/control, debian/rules: apply patch from Max Vozeler
     <[EMAIL PROTECTED]> to build gnupg-udeb.  Closes: #321948
 .
   * Based on discussion with and testing by Martin Pitt
     <[EMAIL PROTECTED]>:
    * debian/rules (build-deb-stamp): don't pass --with-included-gettext to
      configure.
    * debian/rules (build-udeb-stamp): likewise.
    * debian/rules (binary-arch): don't need to remove
      usr/share/locale/locale.alias anymore as a result.
 .
   * debian/rules (build-deb-stamp): pass --enable-mailto to configure.
     Closes #301308
   * debian/rules (build-udeb-stamp): likewise.
 .
   * debian/control (Build-Depends): drop mail-transport-agent and...
   * debian/rules (build-deb-stamp): pass
     --with-mailprog=/usr/sbin/sendmail to configure instead.
   * debian/rules (build-udeb-stamp): likewise.  Closes: #333218
 .
   * debian/rules: put common configure options into CONFARGS variable and
     rename the cross-compile-only variable to HOSTARG.
 .
   * debian/rules (clean): also remove debian/gnupg-deb build directory.
 .
   * debian/gpg-convert-from-106.1, debian/gpgsplit.1, debian/lspgpot.1:
     new manpages from François Wendling <[EMAIL PROTECTED]>.  Closes:
     #344314
   * debian/rules (binary-arch): install them.
 .
   * The following is a patch from Frans Pop <[EMAIL PROTECTED]>.  Closes:
     #360257
    * debian/control (Build-Depends): add dpkg-dev (>= 1.13.12).
    * debian/rules (binary-arch): pass -tudeb when invoking dpkg-shlibdeps
      for the .udeb builds.
 .
   * 23_getkey_utf8_userid.dpatch: new patch from Fumitoshi UKAI
     <[EMAIL PROTECTED]> to fix '[User id not found]' message in non-UTF-8
     locales.  Closes: #205028
 .
   * 24_gpgv_manpage_cleanup.dpatch: new patch from "Jim W. Jaszewski"
     <[EMAIL PROTECTED]> to fix small errors in the gpgv manpage.  Closes:
     #177951
 .
   * 25_de.po_fixes.dpatch: new patch from Jens Seidel
     <[EMAIL PROTECTED]> with small fixes to the German translations.
     Closes: #314069
Files: 
 2fc69b6c898cc25dae2729d5cf1de9cd 1317 utils standard gnupg_1.4.3-1.dsc
 fcdf572a33dd037653707b128dd150a7 4320394 utils standard gnupg_1.4.3.orig.tar.gz
 e22826f8cd32b09ec6c8f901fe84931e 22382 utils standard gnupg_1.4.3-1.diff.gz
 0d3cb2fc1ff6fc7da82fca08667bdc81 1947440 utils standard gnupg_1.4.3-1_i386.deb
 c5e89884f7adbfd6ddba16f4c91c30eb 126152 debian-installer extra 
gpgv-udeb_1.4.3-1_i386.udeb
 9540e4907bb38eb8ad621936874500d8 345574 debian-installer extra 
gnupg-udeb_1.4.3-1_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQIVAwUBRDMnU9fD8TGrKpH1AQIB5RAAro1F3ths7c7enCScRbLXa5k6rIyCUJBu
MmvsbfNgZYPLVyKbqmS5iuP7i1/YycotZnZm97TSK4COXhCVUR4NkzMl5Svmwc5g
SYZmii34iiKPutEEbNUC5sq5E6e8JitFDgbe+BuPeMs4mcCTsFheFtvARjhztjuL
I1tmxT6xodVhfPXS5ZgFxilyaHlnWJZP7ITzQ411IYtrtt3sR3DFBS6esmQcE/1Z
5cHLqD9QRgdx1umUW03HGluf6fvamfMT5SlgvQcR8dLrwdXA8DGMB6LExrYRurEf
NitLNmfvMwzB/HKv57DhS3VcBOiLbOKDQ+L+fvPvAZbmq31HDqZz9z2gYyYUw8Cr
mMs5AIh1RbC1efkqbFk8OsGjwEWT8nZOt/55TEIcORnX/i6/VJ0le35E+k1ScwoQ
W2qt3fIklbozPJ7KbynFPbvTE/4p56UwY2d2MDIgsBj8CARXBb9EkoOE40OyzoYn
68o4QX94ITxDUVkEN6Jo8Cxoaz6kjDKt478YdOqEZ2Hzc+z71Pthi0e3VigpWMHP
JlzmES70cliRQmPJcUWLwWfxacvUfNP+74O9ptcbV3A+3KOq/u0hnZY9UIXY87HC
UlvVo/WxeUr3y9PmMX16YIsDjuWOonseHyk6gKKnxA/0eGzXgPOWkPdMRT1XcF+n
GK94I4Ig9Zw=
=SFQE
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to