[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GPG keyring selection



Thus spake Corey Halpin (crhalpin@students.wisc.edu):

>   Does anybody know how gpg selects which of the keyring files you
>   specify to it to attempt to write to?

This from the man page: 

	--keyring file

	Add file to the list of keyrings. If file begins with a tilde
	and a slash, these are replaced by the HOME directory. If the
	filename does not contain a slash, it is assumed to be in the
	home-directory ("~/.gnupg" if --homedir is not used). The
	filename may be prefixed with a scheme: 

	"gnupg-ring:" is the default one. 

	"gnupg-gdbm:" may be used for a GDBM ring. Note that GDBM is
	experimental and likely to be removed in future versions. 

	It might make sense to use it together with
	--no-default-keyring. 

I think you may want to try the "gnupg-ring:" prefix.  I'm going to do
so now, as I did not know that the debian keyring was available on my
system :-)

-- 
Justin R. Miller <incanus@codesorcery.net>
PGP/GnuPG Key ID 0xC9C40C31 (preferred)

Attachment: pgpYYZJcRx8Tf.pgp
Description: PGP signature


Reply to: