From fa30a0d23e99af45086abe6faf406387c6cd91f0 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 23 Mar 2016 14:06:30 -0700 Subject: caff configuration --- .caff/gnupghome/gpg.conf | 3 +++ .caffrc | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ home-mrconfig | 1 + 3 files changed, 57 insertions(+) create mode 100644 .caff/gnupghome/gpg.conf create mode 100644 .caffrc diff --git a/.caff/gnupghome/gpg.conf b/.caff/gnupghome/gpg.conf new file mode 100644 index 00000000..81480cbf --- /dev/null +++ b/.caff/gnupghome/gpg.conf @@ -0,0 +1,3 @@ +personal-digest-preferences SHA512 +cert-digest-algo SHA512 +default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed diff --git a/.caffrc b/.caffrc new file mode 100644 index 00000000..0cad562f --- /dev/null +++ b/.caffrc @@ -0,0 +1,53 @@ +# .caffrc -- vim:ft=perl: +# This file is in perl(1) format - see caff(1) for details. + +$CONFIG{'owner'} = 'Sean Whitton'; +$CONFIG{'email'} = 'spwhitton@spwhitton.name'; +#$CONFIG{'reply-to'} = 'foo@bla.org'; + +# You can get your long keyid from +# gpg --keyid-format long --list-key +# +# If you have a v4 key, it will simply be the last 16 digits of +# your fingerprint. +# +# Example: +# $CONFIG{'keyid'} = [ qw{FEDCBA9876543210} ]; +# or, if you have more than one key: +# $CONFIG{'keyid'} = [ qw{0123456789ABCDEF 89ABCDEF76543210} ]; +$CONFIG{'keyid'} = [ qw{0F56D0553B6D411B} ]; + +# Select this/these keys to sign with +#$CONFIG{'local-user'} = [ qw{0F56D0553B6D411B} ]; + +# Additionally encrypt messages for these keyids +$CONFIG{'also-encrypt-to'} = [ qw{0F56D0553B6D411B} ]; + +# Mail template to use for the encrypted part +$CONFIG{'mail-template'} = << 'EOM'; +Hello, + +Please find attached the user id{(scalar @uids >= 2 ? 's' : '')} +{foreach $uid (@uids) { + $OUT .= "\t".$uid."\n"; +};}of your key {$key} signed by me. + +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`. This is a +means by which I verify control of the e-mail addresses you claim to +control. + +Note that I did not upload your key to any keyservers. If you want this +new signature to be available to others, please upload it yourself. +With GnuPG this can be done using + gpg --keyserver pool.sks-keyservers.net --send-key {$key} + +If you have any questions, don't hesitate to ask. + +Regards, +-- +{$owner} +EOM + +$CONFIG{'mail'} = 'yes'; diff --git a/home-mrconfig b/home-mrconfig index d7cc5bb4..8b634f2b 100644 --- a/home-mrconfig +++ b/home-mrconfig @@ -128,6 +128,7 @@ lib = .cabal \ .xmonad \ .recoll \ + .caff/gnupghome \ local/mutt \ local/mpd \ local/anacron/spool \ -- cgit v1.2.3