[pkg-gnupg-maint] Bug#863557: gpg: Prints message on stderr about primary-keyring file existence
Phil Morrell
debian at emorrp1.name
Sun Jan 28 22:52:37 UTC 2018
Package: gnupg
Version: 2.1.18-8~deb9u1
Followup-For: Bug #863557
Hi Guillem,
I believe this is a documentation bug, you simply need to add
`no-default-keyring` before `primary-keyring`.
I discovered this report whilst trying to separate automatically
retrieved keys from my manual keyring. Essentially, `primary-keyring`
doesn't just "designate" the primary, it appends to the keyrings list.
keyring ~/.gnupg/public-keys/auto.kbx
...
primary-keyring ~/.gnupg/public-keys/auto.kbx
This is also not specific to the `primary-keyring` option, listing the
same keyring entry twice either via gpg.conf or cli options shows the
same unhelpful message. So a minimally reproducable test for this is:
gpg --keyring pubring.kbx --list-keys
--
Phil Morrell (emorrp1)
-- System Information:
Debian Release: 9.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnupg depends on:
ii gnupg-agent 2.1.18-8~deb9u1
ii libassuan0 2.4.3-2
ii libbz2-1.0 1.0.6-8.1
ii libc6 2.24-11+deb9u1
ii libgcrypt20 1.7.6-2+deb9u2
ii libgpg-error0 1.26-2
ii libksba8 1.3.5-2
ii libreadline7 7.0-3
ii libsqlite3-0 3.16.2-5+deb9u1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages gnupg recommends:
ii dirmngr 2.1.18-8~deb9u1
ii gnupg-l10n 2.1.18-8~deb9u1
Versions of packages gnupg suggests:
ii parcimonie 0.10.2-4
pn xloadimage <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20180128/dd6408e0/attachment.sig>
More information about the pkg-gnupg-maint
mailing list