[jdassen@wi.leidenuniv.nl] Bug#24240: gnupg: import keyring fails without existing one
James Troup
james at nocrew.org
Sat Jul 4 17:57:07 CEST 1998
Hi,
This is a bug report reported via the Debian Bug Tracking System[1],
please reply to 24240 at bugs.debian.org and jdassen at wi.leidenuniv.nl as
well as the list.
[1] http://www.debian.org/Bugs/
--
James
~Yawn And Walk North~ http://yawn.nocrew.org/
------- Start of forwarded message -------
Subject: Bug#24240: gnupg: import keyring fails without existing one
Reply-To: jdassen at wi.leidenuniv.nl, 24240 at bugs.debian.org
Resent-From: jdassen at wi.leidenuniv.nl
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: James Troup <jjtroup at comp.brad.ac.uk>
Resent-Date: Sat, 04 Jul 1998 15:33:01 GMT
Resent-Message-ID: <handler.24240.B.89956588814402 at bugs.debian.org>
Resent-Sender: iwj at debian.org
Message-ID: <19980704171421.14136 at wi.leidenuniv.nl>
Date: Sat, 4 Jul 1998 17:14:21 +0200
From: jdassen at wi.leidenuniv.nl
To: submit at bugs.debian.org
Package: gnupg
Version: 0.3.0-2
Importing a keyring fails when ~/.gnupg/pubring.gpg does not exist already:
penguin ray 17:19 ~> ls -ald ~/.gnupg
/bin/ls: /home/ray/.gnupg: No such file or directory
Exit 1
penguin ray 17:20 ~> gpg --import /usr/share/keyrings/debian-keyring.gpg
gpg (GNUPG) 0.3.0a; Copyright (C) 1998 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
gpg: secret keyblock resource '/home/ray/.gnupg/secring.gpg': File open error
gpg: keyblock resource '/home/ray/.gnupg/pubring.gpg': File open error
gpg: private data signature missing; creating ...
gpg: no default secret key: Secret key not available
gpg: error creating /home/ray/.gnupg/gnupg.sig: Secret key not available
gpg: failed to initialize the TrustDB: Secret key not available
gpg: Warning: using insecure memory!
gpg: no default public keyring
gpg: /usr/share/keyrings/debian-keyring.gpg: read error: General error
gpg: import from '/usr/share/keyrings/debian-keyring.gpg' failed: General error
Exit 2
IMHO, the desirable behaviour in this case would be to create
~/.gnupg/pubring.gpg and then import the keyring as requested.
Ray
--
Tevens ben ik van mening dat Nederland overdekt dient te worden.
------- End of forwarded message -------
More information about the Gnupg-devel
mailing list