Encrypt directly to keyfile

2014-07-06 Thread Matthias Fischer
Hi folks, I already asked the question here about half a year ago, but IIRC didn't get any reaction: Imagine you have a file containing one or more PGP-Public-Keys, and you want to encrypt something for this key, without adding the key to your public keyring. Is there some commandline option to

Re: Encrypt directly to keyfile

2014-07-06 Thread Hauke Laging
Am So 06.07.2014, 23:18:20 schrieb Matthias Fischer: > I can achieve something similar, by using: > $ gpg --no-default-keyring --keyring /tmp/keyring.once --import > $ gpg --no-default-keyring --keyring /tmp/keyring.once > --trust-model always --recipient -e > > But this requires an additional

Re: Encrypt directly to keyfile

2014-07-06 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi On Sunday 6 July 2014 at 10:18:20 PM, in , Matthias Fischer wrote: > I can achieve something similar, by using: > $ gpg --no-default-keyring --keyring /tmp/keyring.once > --import > $ gpg --no-default-keyring --keyring /tmp/keyring.once > --

Aw: Re: Encrypt directly to keyfile

2014-07-18 Thread Matthias Fischer
Hauke schrieb: > Why should a feature be added that can so easily be emulated by a simple > script? To spare people the work of writing the same „simple script“ over and over again. > gpgdir="/tmp/keyring.$$" > test -d "$gpgdir" && rm -r "$gpgdir" > gpg --homedir "$gpgdir" --import KEYFILE > KE