Initial commit
[app-edwardng.git] / edwardng
CommitLineData
2f9e679a
MG
1#!/usr/bin/perl -w
2use v5.14;
3use App::EdwardNG;
4
5App::EdwardNG->run;
6
7__END__
8
9=encoding utf-8
10
11=head1 NAME
12
13edwardng - GnuPG email sign/encrypt testing bot
14
15=head1 SYNOPSIS
16
17edwardng --
18
19
20=head1 DESCRIPTION
21
22EdwardNG is a reimplementation of the Edward reply bot referenced in L<https://emailselfdefense.fsf.org/>.
23
24It takes mail messages, checks them for PGP signatures and encryption, then replies appropriately.
25
26=head1 OPTIONS
27
28=over
29
30=item B<--always-trust>, B<--no-always-trust>
31
32If B<--always-trust>, skip key validation and assume that used keys are always fully trusted. See the gpg(1) manpage, option C<--trust-model always> for more information. Defaults to B<--no-always-trust>.
33
34=item B<--debug>, B<--no-debug>
35
36If B<--debug>, output some debugging information on STDERR. Defaults to B<--no-debug>
37
38=item B<--from>=I<address>
39
40Mail address to send messages from.
41
42=item B<--key>=I<keyid>
43
44ID of key used for encrypting replies.
45
46=item B<--keydir>=I</path/to/keydir>
47
48Path to GnuPG homedir.
49
50=item B<--passphrase>=I<passphrase>
51
52Private key passphrase.
53
54=item B<--use-agent>, B<--no-use-agent>
55
56If B<--use-agent>, use L<gpg-agent(1)>. Defaults to B<--no-gpg-agent>.
57
58=back
59
60=head1 ENVIRONMENT
61
62Configuration can also be done via the environment. Use 1 for true and 0 for false. Command-line options override environment variables.
63
64=over
65
66=item EDWARDNG_ALWAYS_TRUST
67
68Corresponds to B<--always-trust> (if true) and B<--no-always-trust> (if false).
69
70=item EDWARDNG_DEBUG
71
72Corresponds to B<--debug> (if true) and B<--no-debug> (if false).
73
74=item EDWARDNG_FROM
75
76Corresponds to B<--from>.
77
78=item EDWARDNG_KEY
79
80Corresponds to B<--key>.
81
82=item EDWARDNG_KEYDIR
83
84Corresponds to B<--keydir>.
85
86=item EDWARDNG_PASSPHRASE
87
88Corresponds to B<--passphrase>.
89
90=item EDWARDNG_USE_AGENT
91
92Corresponds to B<--use-agent> (if true) and B<--no-use-agent> (if false).
93
94=back
95
96=head1 SEE ALSO
97
98L<App::EdwardNG>
99
100=head1 AUTHOR
101
102Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
103
104=head1 COPYRIGHT AND LICENSE
105
106Copyright (C) 2014 by Marius Gavrilescu
107
108This library is free software; you can redistribute it and/or modify
109it under the same terms as Perl itself, either Perl version 5.18.2 or,
110at your option, any later version of Perl 5 you may have available.
111
112
113=cut
This page took 0.015552 seconds and 4 git commands to generate.