summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-03-23 14:06:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-03-23 14:06:30 -0700
commitfa30a0d23e99af45086abe6faf406387c6cd91f0 (patch)
treefb6783d52f64dc31dd68a3f3bbcdaccaee92f5d7
parent235ce5d030a4393cdf00beead9533e760e7a0af8 (diff)
downloaddotfiles-fa30a0d23e99af45086abe6faf406387c6cd91f0.tar.gz
caff configuration
-rw-r--r--.caff/gnupghome/gpg.conf3
-rw-r--r--.caffrc53
-rw-r--r--home-mrconfig1
3 files changed, 57 insertions, 0 deletions
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 <yourkeyid|name|emailaddress..>
+#
+# 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 \