KunterBuntesSeminar-WS12/KSP/caff: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
|||
| Zeile 48: | Zeile 48: | ||
% msmtp 4winter@informatik.uni-hamburg.de <<< 'this is a test' | % msmtp 4winter@informatik.uni-hamburg.de <<< 'this is a test' | ||
== caff benutzen == | |||
% eval `gpg-agent --daemon` | |||
% caff -m ask-yes `grep pub mafia-ksp.txt| awk '{ print substr($2,7,14) }'` | |||
Version vom 29. November 2012, 19:16 Uhr
caff - CA fire and forget
caff ist ein tolles Tool fuer Keysigningparties.
Installation
# aptitude install signing-party
Wer keinen lokalen Mailserver installiert und konfiguriert hat, kann msmtp benutzen und Mails ueber den Ikumsmailserver verschicken.
# aptitude install msmtp
caff konfigurieren
% cat > ~/.caffrc <<< "
\$CONFIG{'owner'} = 'Justus Winter';
\$CONFIG{'email'} = '4winter+caff@informatik.uni-hamburg.de';
\$CONFIG{'keyid'} = [ qw{D31E8882CADE3658} ];
"
msmtp konfigurieren
Wenn du msmtp benutzen moechtest, so musst du es konfigurieren und caff beibringen es zu nutzen:
% echo "\$CONFIG{'mailer-send'} = [ 'sendmail', '--account=fbi' ];" >> ~/.caffrc
% cat > ~/.msmtprc <<< '
# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
# mailhost.informatik.uni-hamburg.de
account fbi
host mailhost.informatik.uni-hamburg.de
from 4winter@mailhost.informatik.uni-hamburg.de
auth on
user 4winter
account default : fbi
'
% chmod 600 ~/.msmtprc
% echo 'machine mailhost.informatik.uni-hamburg.de login 4winter password YOURPASSWD' >> ~/.netrc
% chmod 600 ~/.netrc
% export PERL_MAILERS="sendmail:/usr/bin/msmtp"
Testen!
% msmtp 4winter@informatik.uni-hamburg.de <<< 'this is a test'
caff benutzen
% eval `gpg-agent --daemon`
% caff -m ask-yes `grep pub mafia-ksp.txt| awk '{ print substr($2,7,14) }'`