[pkg-gnupg-maint] Bug#878812: Segfaults when encrypting to certain keys

Guido Günther agx at sigxcpu.org
Mon Oct 16 20:02:09 UTC 2017


Package: gnupg
Version: 2.2.1-2
Severity: normal

Encrypting to 1A6F3E639A4467E8C3476525DF6D76C44D696F6B makes GPG here
segfault like:

$ coredumpctl dump
           PID: 21438 (gpg)
           UID: 1000 (agx)
           GID: 1000 (agx)
        Signal: 6 (ABRT)
     Timestamp: Mon 2017-10-16 21:57:08 CEST (36s ago)
  Command Line: gpg --enable-special-filenames --batch --no-sk-comments --lc-messages en_US.UTF-8 --lc-ctype de_DE.UTF-8 --status-fd 5 --no-tty --charset utf8 --enable-progress-filter --exit-on-status-write-error --display :0 --ttyname /dev/pts/5 --ttytype xterm-256color --encrypt --armor --always-trust -r 1A6F3E639A4467E8C3476525DF6D76C44D696F6B -r 0DB3932762F78E592F6522AFBB5A2C77584122D3 -r 0DB3932762F78E592F6522AFBB5A2C77584122D3 --output - -- -&8
    Executable: /usr/bin/gpg
 Control Group: /user.slice/user-1000.slice/user at 1000.service/gnome-terminal-server.service
          Unit: user at 1000.service
     User Unit: gnome-terminal-server.service
         Slice: user-1000.slice
     Owner UID: 1000 (agx)
       Boot ID: 4ef1bf5cd7da4bfcb061d19089fe468e
    Machine ID: 15e9777086166538c724eaba52d14fa1
      Hostname: bogon
       Storage: /var/lib/systemd/coredump/core.gpg.1000.4ef1bf5cd7da4bfcb061d19089fe468e.21438.1508183828000000.lz4
       Message: Process 21438 (gpg) of user 1000 dumped core.
                
                Stack trace of thread 21438:
                #0  0x00007fd58eef3fff __GI_raise (libc.so.6)
                #1  0x00007fd58eef542a __GI_abort (libc.so.6)
                #2  0x0000556a0f291f09 do_logv (gpg)
                #3  0x0000556a0f29290d log_log (gpg)
                #4  0x0000556a0f29306f bug_at (gpg)
                #5  0x0000556a0f243c1e do_we_trust (gpg)
                #6  0x0000556a0f243fff find_and_check_key (gpg)
                #7  0x0000556a0f2455b6 find_and_check_key (gpg)
                #8  0x0000556a0f24b6c2 encrypt_crypt (gpg)
                #9  0x0000556a0f203563 main (gpg)
                #10 0x00007fd58eee12e1 __libc_start_main (libc.so.6)
                #11 0x0000556a0f2054da _start (gpg)


I'm using the debian keyring to provide that key:

    keyring /usr/share/keyrings/debian-keyring.gpg

Cheers,
 -- Guido


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnupg depends on:
ii  dirmngr         2.2.1-2
ii  gnupg-l10n      2.2.1-2
ii  gnupg-utils     2.2.1-2
ii  gpg             2.2.1-2
ii  gpg-agent       2.2.1-2
ii  gpg-wks-client  2.2.1-2
ii  gpg-wks-server  2.2.1-2
ii  gpgsm           2.2.1-2
ii  gpgv            2.2.1-2

gnupg recommends no packages.

Versions of packages gnupg suggests:
pn  parcimonie  <none>
pn  xloadimage  <none>

-- no debconf information



More information about the pkg-gnupg-maint mailing list