Multiple keyring support: GPGV
David Shaw
dshaw@jabberwocky.com
Fri Nov 15 05:56:02 2002
On Thu, Nov 14, 2002 at 12:31:45PM +0100, Per Tunedal wrote:
> >On Wed, Oct 30, 2002 at 09:22:25AM -0500, David Shaw wrote:
> >> What if there was a way to flag a particular keyring (from either
> >> gpg.conf or the command line) as the default one, and that keyring
> >> became the one that new keys were imported into? Would that solve
> >> everyone's problem?
> >
> >I just committed a feature to do this on the development version of
> >GnuPG if anyone is interested in playing with it. Use
> >"default-keyring" to denote the keyring that you want imports to go to
> >by default. You may change it on the command line as well. If you
> >don't specify a default-keyring, then the behavior is unchanged -
> >imports will go to the first writable keyring.
> this will make it easier to maintain the trustedkeys.gpg for gpgv as well,
> wouldn't it? I have had some trouble creating and maintaining the trusted
> keyring. I have not found any easy way to add new keys to trustedkeys.gpg
It could be used for that, but the easiest way to add new keys to
trustedkeys.gpg is:
gpg --export (key_to_add) >> ~/.gnupg/trustedkeys.gpg
Incidentally (I mentioned this on gnupg-devel as well), the name
'default-keyring' stinks a bit as there is already a concept of a
default keyring, and it has nothing to do with this. Any suggestions
for something better? --writable-keyring? --use-keyring? --import-keyring?
David
--
David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson