gpg vs gpgv default keyring directory...

Thomas Arend ml at
Tue Dec 2 09:33:41 CET 2003

Hash: SHA1

Am Dienstag, 2. Dezember 2003 04:37 schrieb Bob Avery-Babel:
> Hello Everyone. I'm hoping someone can clear up some confusion for me. I'm
> running gnupg-1.2.3-3.1.92.mdk on Mandrake 9.2.
> I see that gpg stores the public keys in ~/.gnupg/pubring.gpg
> I also noticed the gpgv command, which is supposed to be a short hand way
> of verifying a file?
> It appears that the gpgv command stores or is looking for the public keys
> here:
> ~/.gnupg/trustedkeys.gpg.
> Why are there two different spots to store the keyrings? If the gpgv
> command is supposed to be a subset of the gpg command why is there a
> difference? It seems like the gpgv command does not see any of the keys I
> have in my keyring.

You have to put keys you trust in the trustedkeys.gpg. The standard keyring
collects all keys if you allow gpg to fetch them automatically. 

My problem is the check wether a text is signed by a specific key. I have put 
the key in the trustedkeys.gpg. 

thomas at r1:~> gpg --export --armor 0x12345678 | gpg --import \ 
- --no-default-keyring --keyring ~/.gnupg/trustedkeys.gpg

My Question: Is there an option to set the key against you want to check the 
I observed that gpgv does not work all the time. Got unexpected data errors 
with encrypted files.

> Any advice on this would be greatly appreciated!!
> Thanks,
> Bob


Version: GnuPG v1.3.2 (GNU/Linux)


More information about the Gnupg-users mailing list