NAME

eduard - GnuPG email sign/encrypt testing bot

SYNOPSIS

Manually:

eduard --from=eduard@example.org --key=12345678 < mail.eml

In /etc/aliases:

eduard: |/path/to/eduard --from=eduard@example.org --key=12345678 --keydir=/srv/eduard-keydir --debug --logfile=/var/log/eduard

DESCRIPTION

Eduard is Ceata's reimplementation of the Edward reply bot referenced in https://emailselfdefense.fsf.org/.

It reads an email from STDIN, checks it for PGP signatures and encryption, then replies appropriately.

OPTIONS

--always-trust, --no-always-trust

If --always-trust, skip key validation and assume that used keys are always fully trusted. See the gpg(1) manpage, option --trust-model always for more information. Defaults to --no-always-trust.

--debug, --no-debug

If --debug, output some debugging information on STDERR. Defaults to --no-debug

--from=address

Mail address to send messages from.

--key=keyid

ID of key used for encrypting replies.

--keydir=/path/to/keydir

Path to GnuPG homedir.

--logfile=/path/to/logfile

If --debug, append debug information to this file. Ignored if --no-debug.

--passphrase=passphrase

Private key passphrase.

--tmpl-path=path

Path to the template directory. Users of the default templates can select the language with this argument. Available languages: en. Defaults to --tmpl-path=en.

--use-agent, --no-use-agent

If --use-agent, use gpg-agent(1). Defaults to --no-gpg-agent.

ENVIRONMENT

Configuration can also be done via the environment. Use 1 for true and 0 for false. Command-line options override environment variables.

EDUARD_ALWAYS_TRUST

Corresponds to --always-trust (if true) and --no-always-trust (if false).

EDUARD_DEBUG

Corresponds to --debug (if true) and --no-debug (if false).

EDUARD_FROM

Corresponds to --from.

EDUARD_KEY

Corresponds to --key.

EDUARD_KEYDIR

Corresponds to --keydir.

EDUARD_LOGFILE

Corresponds to --logfile.

EDUARD_PASSPHRASE

Corresponds to --passphrase.

EDUARD_TMPL_PATH

Corresponds to --tmpl-path.

EDUARD_USE_AGENT

Corresponds to --use-agent (if true) and --no-use-agent (if false).

SEE ALSO

App::Eduard, http://ceata.org/proiecte/eduard

AUTHOR

Marius Gavrilescu, <marius@ceata.org>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Fundația Ceata

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.