receiving key to file and more

Neil Williams linux at
Wed Jul 20 13:34:22 CEST 2005

On Wednesday 20 July 2005 11:02 am, Sascha Kiefer wrote:
> Hi
> 1. is it possible to receive a key to a file instead of to the keyring?

--keyring <file> --no-default-keyring
from man gpg:
--keyring file
        Add file to the current list of keyrings.  If file begins with a tilde 
	and a slash, these are  replaced
        by the $HOME directory. If the filename does not contain a slash, it 
	is assumed to be in the GnuPG home
        directory ("~/.gnupg" if --homedir or $GNUPGHOME is not used).

        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.

> 2. what is the difference between --search-keys and --recv-keys ?

--search-keys displays a list of possible matches and allows you to select 
which one (if any) to import. Use to search parts of a name or domain. Used 
when you don't know the specific keyid, just the name or email.

--recv-keys imports the specified key without further prompts. Easiest when 
used with a specific keyID.


Neil Williams

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050720/20b47880/attachment.pgp

More information about the Gnupg-users mailing list