Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (36 sloc) 1.181 kB
__NAME__ purpose
PGP-encrypt input
__END__
__NAME__ description
The filter PGP-encrypts the provided input.
</para><para>
It accepts two optional arguments, encryption key and encryption program.
</para><para>
Specifying command line options for the encryption program isn't possible, but
it isn't needed as &IC; automatically adds the following options, depending on
the program recognized:
<itemizedlist>
<listitem><para>
<literal>gpg --batch --always-trust -e -a -r <replaceable>KEY</replaceable></literal>
</para></listitem>
<listitem><para>
<literal>pgpe -fat -r <replaceable>KEY</replaceable></literal>
</para></listitem>
<listitem><para>
<literal>pgp -fat - <replaceable>KEY</replaceable></literal>
</para></listitem>
</itemizedlist>
__END__
__NAME__ see also
PGP, EncryptProgram
__END__
__NAME__ online: Filter example using specific key ID
<programlisting>
[filter encrypt.KEY]Secret phrase or a credit card number[/filter]
</programlisting>
__END__
__NAME__ online: Filter example using specific key ID and encrypt program
<programlisting>
[filter encrypt.KEY./usr/local/bin/gpg]Secret phrase or a credit card number[/filter]
</programlisting>
__END__
Jump to Line
Something went wrong with that request. Please try again.