Your message dated Sun, 09 Mar 2025 14:46:34 +0000
with message-id <[email protected]>
and subject line Bug#1095835: fixed in python-debian 1.0.0
has caused the Debian Bug report #1095835,
regarding python-debian: failed to extract gpg signature information
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.)


-- 
1095835: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095835
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-debian
Version: 0.1.52

Hello, for some reasons:

pull-debian-source uwsgi-plugin-ruby
Found uwsgi-plugin-ruby 0.0.2 in sid
Downloading uwsgi-plugin-ruby_0.0.2.dsc from deb.debian.org (0.002 MiB)
[=====================================================>]100%
Traceback (most recent call last):
  File "/usr/bin/pull-debian-source", line 14, in <module>
    PullPkg.main(distro="debian", pull="source")
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 111, in 
main
    cls(*args, **kwargs).pull()
  File "/usr/lib/python3/dist-packages/ubuntutools/pullpkg.py", line 449, in 
pull
    for key in srcpkg.dsc.keys():
               ^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ubuntutools/archive.py", line 318, in dsc
    self._check_dsc_signature()
  File "/usr/lib/python3/dist-packages/ubuntutools/archive.py", line 374, in 
_check_dsc_signature
    gpg_info = self.dsc.get_gpg_info(
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1191, in 
get_gpg_info
    self.gpg_info = GpgInfo.from_sequence(self.raw_text,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1358, in 
from_sequence
    return cls.from_output(out.decode('utf-8'),
                           ^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x94 in position 1135: 
invalid start byte


Now, dumping the signature:
b'[GNUPG:] NEWSIG\ [redacted] KEYEXPIRED [redacted] KEY_CONSIDERED [redacted] 
0\n[GNUPG:] EXPKEYSIG [redacted]\n[GNUPG:] NOTATION_NAME [redacted]\n[GNUPG:] 
NOTATION_DATA 
\x94\xf9H7\x91\xfbdW%1B\x8e2I\xf8\xd0\xd8P\xb7\xc9\xde2v\xbf\xc9\xb7\xc4V\xe0\xe8c\xc5\xa7\xeb\n[GNUPG:]
 VALIDSIG [redacted] 2025-01-25 [redacted] 0 4 0 1 10 01 [redacted]\n'

I can see that \x94 in NOTATION_DATA section, that is probably causing the 
above trace.

changing from:
        return cls.from_output(out.decode('utf-8'),
                               err.decode('utf-8'))

to
        return cls.from_output(out.decode('unicode-escape'),
                               err.decode('unicode-escape'))

Makes it work and validate correctly the signature. However, I don't know if this is 
acceptable, working, or regressing something else, this is why I don't tag 
"patch" :)

pull-debian-source uwsgi-plugin-ruby
Found uwsgi-plugin-ruby 0.0.2 in sid
Downloading uwsgi-plugin-ruby_0.0.2.dsc from deb.debian.org (0.002 MiB)
[=====================================================>]100%
Valid signature by 0x9FE3E9C36691A69FF53CC6842C7C3146C1A00121

NOTICE: 'uwsgi-plugin-ruby' packaging is maintained in the 'Git' version 
control system at:
 https://salsa.debian.org/uwsgi-team/uwsgi-plugin-ruby.git

Please use:
 $ git clone https://salsa.debian.org/uwsgi-team/uwsgi-plugin-ruby.git
to retrieve the latest (possibly unreleased) updates to the package.

Downloading uwsgi-plugin-ruby_0.0.2.tar.xz from deb.debian.org (0.003 MiB)
[=====================================================>]100%


thanks for having a look

Gianfranco

--- End Message ---
--- Begin Message ---
Source: python-debian
Source-Version: 1.0.0
Done: Stuart Prescott <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-debian, 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.
Stuart Prescott <[email protected]> (supplier of updated python-debian 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 Mar 2025 01:05:59 +1100
Source: python-debian
Architecture: source
Version: 1.0.0
Distribution: unstable
Urgency: medium
Maintainer: Debian python-debian Maintainers 
<[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1086512 1087991 1095835
Changes:
 python-debian (1.0.0) unstable; urgency=medium
 .
   * The 1.0.0 release of python-debian :)
   * Upload to unstable (and release to pypi).
   * Update typing imports to keep new mypy happy.
   * Handle non-UTF-8 data in gpgv output from sequoia-generated data
     (Closes: #1095835, #1087991).
   * Permit filenames and Path objects in Deb822.iter_paragraphs()
     (Closes: #1086512).
Checksums-Sha1:
 eda960d89595c01e585c98eb08b6f7bab3038d15 2384 python-debian_1.0.0.dsc
 95aef8759e0d07b4dd078f99cba5ee6026aeeb38 197964 python-debian_1.0.0.tar.xz
 40da09ec5c7dc8a85efff660eadff1bfc9ef6eba 7401 
python-debian_1.0.0_amd64.buildinfo
Checksums-Sha256:
 a3282caceffda65f7e4d7749bab5bb4575da399eb53d8ecb58e955871c79812b 2384 
python-debian_1.0.0.dsc
 f8d8010294244507305dc2dd7f803e879caaae5f512019efc97c83d980a52ec8 197964 
python-debian_1.0.0.tar.xz
 3a634cbd4cf38bd23d62e900e141fc4a8103aad4312caf5b1f7cea302fd04ffa 7401 
python-debian_1.0.0_amd64.buildinfo
Files:
 9bdc55d3f03c595ef915a4aaeccdb420 2384 python optional python-debian_1.0.0.dsc
 1bfcb9eaf23741cb32227a6a2da59f0f 197964 python optional 
python-debian_1.0.0.tar.xz
 80a9ae907ac023ac7546ac9f503ff9df 7401 python optional 
python-debian_1.0.0_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAmfNoIgACgkQu8F+uxOW
8vdntQ//XXfhCRVVSa1Ow/tumEfRb7Yw5JI2WgK4M8u6BySRcsHT0KNBeEg8I0NG
vlQrgLhQOCi/iTFCQpEyjb4p4HD30+P9QcSoSVTBGRPcEzwQPNGN1PNQPsmYdCSK
7ZoqUS/fbwxyAInPIKYx60fOhyz0TLJ91WUltOMGfIiuAf5slAScDJeyDUTBJswK
8+b9kR79nBbKCC7zcYDrXY3SiOF64otikXEysB1nvyQgO61xKeTssNs+GTEqv6Qk
/EZvOzT8vJtDzChWvX/Y+N4BypZ3y0XWka5xZfItG8Sg5BtamJaIC0jF8nNcQG+1
6/o6gjrlOlX99K8YJzvHnACNN9BCYV35rse1+JDqDmbLwLTmNq58Qt/mDeNsP8yT
dybkIF0nkdH4nHLK2/F1XcyjUal0HPCp4TGp0Ex9YC8UBDj3qXXKj0BwqYEKN6vA
bnYmto7rFMtGm6wUflk/bcRGJTf7NxlnOxlrNlkpqjJH5ZmuQZsKBCElekFEFQCT
GYB+LOUlMHdxcayFX5lZdhsMKeLjiEXzuToc8n0HeLaBF6npZCNnJ/VvRPwPTPNK
MJQr3ZC/5FAvxrHH9tOdEW8RlP4vzvy1XX2FekOi2qUBo8BGEZSU6B9fqwqnRTY1
QHH4eU1asYUJTGVzxO1iWfsR3sseUmV5Pqt13oE4C81UR/wQBag=
=F8Jh
-----END PGP SIGNATURE-----

Attachment: pgpaG3wHYhM6Q.pgp
Description: PGP signature


--- End Message ---
-- 
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-python-debian-maint

Reply via email to