ueno / ruby-gpgme

a ruby interface to GnuPG Made Easy (GPGME).
GNU Lesser General Public License v2.1
232 stars 99 forks source link

GPGME::Crypto options are not documented #63

Open do11 opened 9 years ago

do11 commented 9 years ago

http://www.rubydoc.info/gems/gpgme/GPGME/Crypto says

Different, independent methods providing the simplest possible API to execute crypto operations via GPG. All methods accept as options the same common options as GPGME::Ctx.new. Read the documentation for that class to know how to customize things further (like output stuff in ASCII armored format, for example).

Ok, I read http://www.rubydoc.info/gems/gpgme/GPGME/Ctx but there is no description or even list of at least :output, :recipients, :always_trust, :sign, :signer and who knows how much more.

It would be awesomely useful if documentation state full list of options. For example, I hoped there is option to specify encrypted file name (related to #62).