Package: simple-cdd
Version: 0.6.6
Severity: normal

Dear Maintainer,

If verify_gpg_sig fails on gnupg.py, the raise call asks for a variable
that is not defined, full traceback:

        Traceback (most recent call last):
          File "/usr/bin/build-simple-cdd", line 678, in <module>
            scdd.build_mirror()
          File "/usr/bin/build-simple-cdd", line 290, in build_mirror
            self.run_tool("mirror", tool)
          File "/usr/bin/build-simple-cdd", line 387, in run_tool
            tool.run()
          File 
"/usr/lib/python3/dist-packages/simple_cdd/tools/mirror_download.py", line 107, 
in run
            self.gnupg.verify_detached_sig(release_file, release_file + ".gpg")
          File "/usr/lib/python3/dist-packages/simple_cdd/gnupg.py", line 58, 
in verify_detached_sig
            return self.verify_gpg_sig("--verify", sigpathname, pathname)
          File "/usr/lib/python3/dist-packages/simple_cdd/gnupg.py", line 55, 
in verify_gpg_sig
            raise Fail("Signature verification failed on %s", pathname)
        NameError: name 'pathname' is not defined

Looking at the code, it looks that the variable is not defined.

Marc

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages simple-cdd depends on:
ii  dctrl-tools         2.24-3
ii  debian-cd           3.1.23
ii  lsb-release         10.2019031300
ii  python3             3.7.2-1
ii  python3-simple-cdd  0.6.6
ii  reprepro            5.3.0-1
ii  rsync               3.1.3-6
ii  wget                1.20.1-1.1

Versions of packages simple-cdd recommends:
ii  dose-distcheck  5.0.1-12

Versions of packages simple-cdd suggests:
ii  qemu-kvm  1:3.1+dfsg-7

-- no debconf information

Reply via email to