Question about using additional keyrings

Faramir faramir.cl at gmail.com
Thu Mar 5 06:32:02 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David Shaw escribió:

>> secret-keyring z:\gpghome\secring.gpg
>> (that's the location of the secring that has the unedited keys)
>>
>> But my question is: what does that line do? When it is in gpg.conf, do
>> I have the 2 secrings at the same time, or it replaces the usage of the
>> keyring located in gpghome with the one on my z drive?
> 
> Here's how it works: GPG allows for multiple public keyrings (via
> "keyring") and multiple secret keyrings (via "secret-keyring").  The
> default public keyring is $GNUPGHOME/pubring.gpg.  The default secret
> keyring is $GNUPGHOME/secring.gpg.  Any keyrings, public or secret, that
> you add are in addition to those defaults.  If you don't want the
> defaults to be present at all, use --no-default-keyring.
> 
> Thus in your case, you have two secret keyrings, unless there is a
> --no-default-keyring somewhere or $GNUPGHOME/secring.gpg does not exist.

  Ok, and if I also add another pubring file, and I download a public
key, where would it be stored? In the default keyring, or in the
additional one?

  By the way, I think there is an option in GPGShell to add the
- --no-default-keyring option

  Best Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBCAAGBQJJr2PRAAoJEMV4f6PvczxAQC0IAKlFSNnrlAzCtZjP3p3mDvoD
N0U2/y8S8u+DtwgNs6bITJHFBrHQCPQ2uPEXf9GRYcBTBE9rOe2kuRFoEExFU91r
fFCa1XkEB9+H6xWEwYA1f1OVdJG4GKArmYJ77PKaxkfIqIFTjzJsYm6u2s3n+c1/
FjkOd7I/jQXNFCdP0JRe0/4LzCuEZE7JXcxhNuTk8PEcgJa28NuYwNIfQDU//jRb
JkKYfyzLKh/KCkd0Zs6dfckl+X8hr4Y2fiRqcNVtYyF5rsOgvRxj3/jHE9uJ5+GK
kKKi5ChDY7z///ErLS0hlM2v3UxmkFE9ZXTeype5wn2XtH7rOpFBSHEttI7CVCk=
=LjMN
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list