[Pkg-gnupg-maint] Bug#706919: gpg --no-options doesn't work without ~/.gnupg

Andrey Rahmatullin wrar at wrar.name
Mon May 6 06:07:02 UTC 2013


Package: gnupg
Version: 1.4.12-7
Severity: normal

The manpage says that --no-options "will also prevent the creation of a
'~/.gnupg' homedir". In fact, if the homedir does not exist, gnupg will exit
with an error when this argument is passed. At least some actions do not
require a homedir so this behavior is strange. For example:

$ gpg --no-options --no-auto-check-trustdb --no-default-keyring --keyring
/usr/share/keyrings/debian-keyring.gpg --list-key AAAAAAAA
gpg: fatal: /home/wrar/.gnupg: directory does not exist!

Among other things this makes who-uploads say "unrecognised public key" on all
keys without further explanation.



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnupg depends on:
ii  dpkg          1.16.10
ii  gpgv          1.4.12-7
ii  install-info  4.13a.dfsg.1-10
ii  libbz2-1.0    1.0.6-4
ii  libc6         2.13-38
ii  libreadline6  6.2+dfsg-0.1
ii  libusb-0.1-4  2:0.1.12-20+nmu1
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages gnupg recommends:
pn  gnupg-curl     <none>
ii  libldap-2.4-2  2.4.31-1+nmu2

Versions of packages gnupg suggests:
pn  gnupg-doc                       <none>
ii  libpcsclite1                    1.8.8-2
pn  xloadimage | imagemagick | eog  <none>

-- no debconf information



More information about the Pkg-gnupg-maint mailing list