Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1242610

Bug#645426: gpg --homedir /nonexistent --gen-key goes through the entire key generation process, then errors out

From Andreas Metzler <ametzler@bebt.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#645426: gpg --homedir /nonexistent --gen-key goes through the entire key generation process, then errors out
Date 2025-04-18 18:50 +0200
Message-ID <KCX4B-etsR-3@gated-at.bofh.it> (permalink)
References <hMhsZ-3oV-7@gated-at.bofh.it> <hMhsZ-3oV-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: tags -1 wontfix
Control: found -1 2.4.7-1

On 2011-10-15 Josh Triplett <josh@joshtriplett.org> wrote:
> Package: gnupg
> Version: 1.4.11-3
> Severity: normal

> For a quick test, I needed to generate a temporary GPG key.  I started
> with "gpg --homedir /tmp/gpg-temp --gen-key".  This walked me all the
> way through the key generation process, including lengthy entropy
> collection, before erroring out because the directory didn't exist (I'd
> expected gpg to create it):
[...]

This was marked wontfix and closed upstream:

| Werner said:
| > GnuPG tries to create its _default_ home directory because this is the
| > common case. Creating a home directory in every case would clutter the
| > disk with gnupg related data which may even be sensitive.
| 
| Closing as wontfix.

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#645426: gpg --homedir /nonexistent --gen-key goes through the entire key generation process, then errors out Andreas Metzler <ametzler@bebt.de> - 2025-04-18 18:50 +0200
  Bug#645426: gpg --homedir /nonexistent --gen-key goes through the entire key generation process, then errors out Andreas Metzler <ametzler@bebt.de> - 2025-04-19 07:40 +0200

csiph-web