[pkg-gnupg-maint] Bug#928894: custom keyring is not honoured

Toni toni at debian.org
Sun May 12 19:46:45 BST 2019


Package: gpg
Version: 2.2.12-1
Severity: normal

Hi,

--recv-keys does not seem to honour the keyring options, so the received
key ends up in the wrong keyring:


$ touch ~/mnt/tools/gitea-keys.gpg
$ gpg  --no-default-keyring  --keyring ~/mnt/tools/gitea-keys.gpg --recv-keys CC64B1DB67ABBEECAB24B6455FC346329753F4B0
gpg: key 0x2D9AE806EC1592E2: 6 signatures not checked due to missing keys
gpg: key 0x2D9AE806EC1592E2: public key "Teabot <teabot at gitea.io>" imported
gpg: Total number processed: 1
gpg:               imported: 1
$ gpg --list-options show-keyring -k teabot at gitea.io
gpg: please do a --check-trustdb
Keyring: /home/toni/.gnupg/pubring.gpg
--------------------------------------
pub   rsa4096/0x2D9AE806EC1592E2 2018-06-24 [SC] [expires: 2020-06-23]
      7C9E68152594688862D62AF62D9AE806EC1592E2
uid                   [ unknown] Teabot <teabot at gitea.io>
sub   rsa4096/0x1FBE01D7CBADB9A0 2018-06-24 [E] [expires: 2020-06-23]
sub   rsa4096/0x5FC346329753F4B0 2018-06-24 [S] [expires: 2019-06-24]

$



Cheers,
Toni



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 'stable'), (70, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages gpg depends on:
ii  gpgconf        2.2.12-1
ii  libassuan0     2.5.2-1
ii  libbz2-1.0     1.0.6-9
ii  libc6          2.28-10
ii  libgcrypt20    1.8.4-5
ii  libgpg-error0  1.35-1
ii  libreadline7   7.0-5
ii  libsqlite3-0   3.27.2-2
ii  zlib1g         1:1.2.11.dfsg-1

Versions of packages gpg recommends:
ii  gnupg  2.2.12-1

gpg suggests no packages.

-- no debconf information



More information about the pkg-gnupg-maint mailing list