How to view non-default keyrings ?

Alphax alphasigmax at
Wed Mar 15 13:14:10 CET 2006

msimon at wrote:
> I've got my default Keyring and some
> seperated keyrings, which I'd like to view.
> How can I list the keys in a non-default-keyring ?
> I don't want to import these keyrings as long as I don't know
> which key's are in there.

Use --keyring <file> on the command line, or without the -- in your
config file. A ~/ in <file> will be expanded to $HOME, and if no path
details are given it is assumed that the file is in $GNUPGHOME (usually

Alphax                      |   /"\
Encrypted Email Preferred   |   \ /     ASCII Ribbon Campaign
OpenPGP key ID: 0xF874C613  |    X   Against HTML email & vCards    |   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 558 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20060315/ef29b35a/signature.pgp

More information about the Gnupg-users mailing list