receiving key to file and more
alphasigmax at gmail.com
Wed Jul 20 15:32:46 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Neil Williams wrote:
> On Wednesday 20 July 2005 11:02 am, Sascha Kiefer wrote:
>>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.
I suspect you might also want to use --primary-keyring:
> --primary-keyring file
> Designate file as the primary public keyring. This means
> that newly imported keys (via --import or keyserver --recv-
> from) will go to this keyring.
so something like
> gpg --keyring <file> --primary-keyring <file>
combined with the import statement may (or may not) do want you want.
Alphax | /"\
Encrypted Email Preferred | \ / ASCII Ribbon Campaign
OpenPGP key ID: 0xF874C613 | X Against HTML email & vCards
http://tinyurl.com/cc9up | / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Gnupg-users