X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=caff%2Fcaffrc.sample;h=b6a69a34effa2e654bd72a808d35acf9ea31313c;hb=67ca0acf211ffe2b7510effba18c5ec878c36df0;hp=c0027ee0e69458831f3375c7352f9dad60e47bdc;hpb=bc9de041ecfd277eb3677be72b7ac539e5e86cd9;p=pgp-tools.git diff --git a/caff/caffrc.sample b/caff/caffrc.sample index c0027ee..b6a69a3 100644 --- a/caff/caffrc.sample +++ b/caff/caffrc.sample @@ -1,13 +1,66 @@ -#! perl <-- get vim to syntax highlight properly - # $Id$ +# vim:ft=perl: + +$CONFIG{'owner'} = 'John Doe'; +$CONFIG{'email'} = 'user@example.com'; -$CONFIG{'owner'} = 'Peter Palfrader'; -$CONFIG{'email'} = 'peter@palfrader.org'; +# you can get your long keyid from +# gpg --with-colons --list-key +# +# if you have a v4 key, it will simply be the last 16 digits of +# your fingerprint. + +# You can define multiple keys below, but be aware that caff will use +# the first key defined by default and will not use the second one +# unless you explicitly mention it through the -u option on the command-line $CONFIG{'keyid'} = [ qw{DE7AAF6E94C09C7F 62AF4031C82E0039} ]; -$CONFIG{'also-encrypt-to'} = 'DE7AAF6E94C09C7F'; +$CONFIG{'also-encrypt-to'} = [ qw{DE7AAF6E94C09C7F} ]; $CONFIG{'caffhome'} = $ENV{'HOME'}.'/.caff'; -$CONFIG{'gpg-delsig'} = '/home/weasel/tmp/gpg/gnupg-1.3.6/g10/gpg'; +# The options below need not be changed for normal operation. + +# Paths to GnuPG binaries: +# $CONFIG{'gpg'} = 'gpg'; +# $CONFIG{'gpg-sign'} = $CONFIG{'gpg'}; +# $CONFIG{'gpg-delsig'} = '/home/weasel/tmp/gpg/gnupg-1.3.92/g10/gpg'; + +# defaults to ~/.gnupg/secring.gpg +# $CONFIG{'secret-keyring'} = '/tmp/gpg/secring.gpg'; + +# Don't export UIDs by default, on which your latest signature is older than this age. +# $CONFIG{'export-sig-age'} = 24*60*60; + +# Keyserver to download keys from. Default: subkeys.pgp.net. +# $CONFIG{'keyserver'} = 'keyserver.kjsl.com'; + +# Boolean options, all default to false (0). +# +# Skip fetching the keys from the keyserver. +# $CONFIG{'no-download'} = 1; +# Skip signing the keys. +# $CONFIG{'no-sign'} = 1; +# Ask to continue before starting the signing (for offline signing). +# $CONFIG{'ask-sign'} = 1; -$CONFIG{'secret-keyring'} = '/tmp/gpg/secring.gpg'; +# $CONFIG{'mail-template'} = <<'EOM' +# Hi, +# +# please find attached the user id{(scalar @uids >= 2 ? 's' : '')} +# {foreach $uid (@uids) { +# $OUT .= "\t".$uid."\n"; +# };}of your key {$key} signed by me. +# +# Note that I did not upload your key to any keyservers. +# If you have multiple user ids, I sent the signature for each user id +# separately to that user id's associated email address. You can import +# the signatures by running each through `gpg --import`. +# +# If you want this new signature to be available to others, please upload +# it yourself. With GnuPG this can be done using +# gpg --keyserver subkeys.pgp.net --send-key {$key} +# +# If you have any questions, don't hesitate to ask. +# +# Regards, +# {$owner} +# EOM