7e1363f2cb05e07c41d6e0a56f1e9971949e626f
[app-edwardng.git] / edwardng
1 #!/usr/bin/perl -w
2 use v5.14;
3 use App::EdwardNG;
4
5 App::EdwardNG->run;
6
7 __END__
8
9 =encoding utf-8
10
11 =head1 NAME
12
13 edwardng - GnuPG email sign/encrypt testing bot
14
15 =head1 SYNOPSIS
16
17 edwardng --
18
19
20 =head1 DESCRIPTION
21
22 EdwardNG is a reimplementation of the Edward reply bot referenced in L<https://emailselfdefense.fsf.org/>.
23
24 It 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
32 If 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
36 If B<--debug>, output some debugging information on STDERR. Defaults to B<--no-debug>
37
38 =item B<--from>=I<address>
39
40 Mail address to send messages from.
41
42 =item B<--key>=I<keyid>
43
44 ID of key used for encrypting replies.
45
46 =item B<--keydir>=I</path/to/keydir>
47
48 Path to GnuPG homedir.
49
50 =item B<--passphrase>=I<passphrase>
51
52 Private key passphrase.
53
54 =item B<--tmpl-path>=I<path>
55
56 Path to the template directory. Users of the default templates can select the language with this argument. Available languages: en. Defaults to B<--tmpl-path=en>.
57
58 =item B<--use-agent>, B<--no-use-agent>
59
60 If B<--use-agent>, use L<gpg-agent(1)>. Defaults to B<--no-gpg-agent>.
61
62 =back
63
64 =head1 ENVIRONMENT
65
66 Configuration can also be done via the environment. Use 1 for true and 0 for false. Command-line options override environment variables.
67
68 =over
69
70 =item EDWARDNG_ALWAYS_TRUST
71
72 Corresponds to B<--always-trust> (if true) and B<--no-always-trust> (if false).
73
74 =item EDWARDNG_DEBUG
75
76 Corresponds to B<--debug> (if true) and B<--no-debug> (if false).
77
78 =item EDWARDNG_FROM
79
80 Corresponds to B<--from>.
81
82 =item EDWARDNG_KEY
83
84 Corresponds to B<--key>.
85
86 =item EDWARDNG_KEYDIR
87
88 Corresponds to B<--keydir>.
89
90 =item EDWARDNG_PASSPHRASE
91
92 Corresponds to B<--passphrase>.
93
94 =item EDWARDNG_TMPL_PATH
95
96 Corresponds to B<--tmpl-path>.
97
98 =item EDWARDNG_USE_AGENT
99
100 Corresponds to B<--use-agent> (if true) and B<--no-use-agent> (if false).
101
102 =back
103
104 =head1 SEE ALSO
105
106 L<App::EdwardNG>
107
108 =head1 AUTHOR
109
110 Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
111
112 =head1 COPYRIGHT AND LICENSE
113
114 Copyright (C) 2014 by Fundația Ceata
115
116 This library is free software; you can redistribute it and/or modify
117 it under the same terms as Perl itself, either Perl version 5.18.2 or,
118 at your option, any later version of Perl 5 you may have available.
119
120
121 =cut
This page took 0.027028 seconds and 3 git commands to generate.