Encrypting / decrypting without importing keys?

David Shaw dshaw at jabberwocky.com
Tue Oct 5 23:01:29 CEST 2004


On Tue, Oct 05, 2004 at 04:08:42PM -0400, David Shaw wrote:
> On Tue, Oct 05, 2004 at 08:04:35PM +0200, Andreas John wrote:
> > Hi!
> > 
> > 
> > > you can save a key into a file and use something like:
> > > 
> > >    gpg --no-default-keyring --keyring key-file --trust-model always -ear user
> > 
> > Actually you also have to add "--no-options" as there might be a
> > multi-keyring-setup (one or more "--keyring file" in the gpg.conf).
> > Unfortunately there is no "--no-keyrings-from-options" (or similar)
> > which seems to bother no one :)
> 
> If you want to specify which keyring to import to in a multi-keyring
> setup, specify the special one with "--primary-keyring".

(err.. when 1.4 is released)

David



More information about the Gnupg-users mailing list