Encrypt to a key without importing it to keyring
seby2kt14 at gmail.com
Wed Nov 22 20:32:25 CET 2017
I need to pass it via batch or something... Like this:
$pgp_public_key = 'pgp public key text armored'
gpg -e -r $pgp_public_key --always_trust
Basically use gnupg without a keyring or trustdb. And the pass the armored
pgp public key with each command and operation.
Thank you in advance.
On Nov 22, 2017 12:16, "Seby" <seby2kt14 at gmail.com> wrote:
> Is there any possibility i could encrypt some text to a public key but
> without importing it to my keyring? Passing it to gnupg via command line or
> something (i do know and accept that if i want to encrypt multiple messages
> or files to the same key i will have to provide it every time) .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnupg-users