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

Re: unsafe use of gpg



[Timo Juhani Lindfors]
> Peter Samuelson <peter@p12n.org> writes:
> >     Note that this adds a keyring to the current list. If the intent
> >     is to use the specified keyring alone, use --keyring along with
> >     --no-default-keyring.
> 
> You probably read "man gpg" but gpgv is simpler:
> 
> gpgv: Invalid option "--no-default-keyring"

You're right, in gpgv, it appears you _can't_ suppress the default
keyring, ~/.gnupg/trustedkeys.gpg.  So either ensure that this file
does not exist, or set HOME or GNUPGHOME or --homedir to a location
where it will not exist.

Peter


Reply to: