Mailing List Archive

location of pubring.db
Hello,

The location of public keyring can be changed with "keyring" option like
this;

keyring /path/to/pubring.kbx (current)
or
keyring /path/to/pubring.gpg (legacy)


On GnuPG >= 2.3.0 with "use-keyboxd" option, new SQlite database of
public keyring "pubring.db" is located in /GnuPG-HomeDir/public-keys.d,
but it is not possible to change the location of this new file.

keyring /path/to/pubring.db (does not work)

"keyring" does not work any more with "use-keyboxd"?

--
Kosuke Kaizuka <cai.0407@gmail.com>
Re: location of pubring.db [ In reply to ]
On Fri, 30 Dec 2022 19:48, Kosuke Kaizuka said:

> keyring /path/to/pubring.db (does not work)
>
> "keyring" does not work any more with "use-keyboxd"?

That is correct. The keyboxd uses a fixed location for its database and
there may only be one. keyring has no effect as long as use-keyboxd is
active - if that option is disabled the keyring option is used again.


Shalom-Salam,

Werner



--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
Re: location of pubring.db [ In reply to ]
On Mon, 02 Jan 2023 11:42:21 +0100, Werner Koch wrote:
> On Fri, 30 Dec 2022 19:48, Kosuke Kaizuka said:
>
>> keyring /path/to/pubring.db (does not work)
>>
>> "keyring" does not work any more with "use-keyboxd"?
>
> That is correct. The keyboxd uses a fixed location for its database and
> there may only be one. keyring has no effect as long as use-keyboxd is
> active - if that option is disabled the keyring option is used again.
I understood.
Thanks for clarification.

--
Kosuke Kaizuka <cai.0407@gmail.com>