New option --recipient-file

Werner Koch wk at gnupg.org
Wed Jul 6 16:01:56 CEST 2016


Hi!

I just pushed the code for a new feature.  With 

  gpg --recipient-file FILENAME -e

or

  gpg -f FILENAME -e

it is now possible to bypass the keyring and take the public key
directly from a file.  That file may be a binary or an ascii armored key
and only the first keyblock from that file is used.  A key specified
with this option is always fully trusted.

This option may be mixed with the standard -r options.
--hidden-recipient-file (or -F) is also available.

To futher assist some use cases the option

  --no-keyring

has also been implemented.  This is similar to

  --no-default-keyring --keyring /dev/null

but portable to Windows and also ignores any keyring specified (command
line or config file).



Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */




More information about the Gnupg-devel mailing list