2012-12-21 13:50:51 +01:00
|
|
|
# Options for GnuPG
|
|
|
|
# Copyright 1998, 1999, 2000, 2001, 2002, 2003,
|
|
|
|
# 2010 Free Software Foundation, Inc.
|
|
|
|
# 2012 Mika Suomalainen (Mkaysi) https://raw.github.com/Mkaysi/shell-things/master/gpg.conf
|
|
|
|
# This file is free software; as a special exception the author gives
|
|
|
|
# unlimited permission to copy and/or distribute it, with or without
|
|
|
|
# modifications, as long as this notice is preserved.
|
|
|
|
#
|
|
|
|
# This file is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# Unless you specify which option file to use (with the command line
|
|
|
|
# option "--options filename"), GnuPG uses the file ~/.gnupg/gpg.conf
|
|
|
|
# by default.
|
|
|
|
#
|
|
|
|
# An options file can contain any long options which are available in
|
|
|
|
# GnuPG. If the first non white space character of a line is a '#',
|
|
|
|
# this line is ignored. Empty lines are also ignored.
|
|
|
|
#
|
|
|
|
# See the man page for a list of options.
|
|
|
|
|
|
|
|
# This is one of the most used keyservers as far as I know.
|
|
|
|
keyserver pool.sks-keyservers.net
|
|
|
|
|
2012-12-21 18:50:44 +01:00
|
|
|
# Try to automatically find keys from keyserver if key for email address isn't found, but we are encrypting to email address.
|
|
|
|
auto-key-locate keyserver
|
|
|
|
|
2012-12-21 13:50:51 +01:00
|
|
|
# Use my key by default
|
|
|
|
default-key 0x4DB53CFE82A46728 # MKAYSIGREP # MKAYSIGREPGPG
|
|
|
|
|
|
|
|
# Encrypt to sender's key by default
|
|
|
|
default-recipient-self
|
|
|
|
|
|
|
|
# Always encrypt to my key
|
|
|
|
encrypt-to 0x4DB53CFE82A46728 # MKAYSIGREP MKAYSIGREPGPG
|
|
|
|
|
|
|
|
# Use UTF-8 charset
|
|
|
|
charset UTF-8
|
2012-12-21 18:50:44 +01:00
|
|
|
display-charset utf-8
|
2012-12-21 13:50:51 +01:00
|
|
|
|
|
|
|
# use GPG Agent to avoid retyping passphrase very ofoten.
|
|
|
|
use-agent
|
|
|
|
|
|
|
|
# Do everything in ASCII format by default instead of binary
|
|
|
|
armor
|
|
|
|
|
2013-01-04 10:43:54 +01:00
|
|
|
keyserver-options auto-key-retrieve no-include-revoked verbose honor-keyserver-url import-clean
|
2012-12-21 13:50:51 +01:00
|
|
|
# Note to self: import-clean = delete signatures from unknown keys || import-minimal = remove all signatures from keys.
|
|
|
|
|
2012-12-21 18:50:44 +01:00
|
|
|
personal-cipher-preferences AES256,AES192,AES,CAST5,3DES
|
2012-12-21 13:50:51 +01:00
|
|
|
personal-digest-preferences SHA512,SHA384,SHA256,SHA224,RIPEMD160,SHA1,MD5
|
2012-12-21 18:50:44 +01:00
|
|
|
personal-compress-preferences BZIP2,ZLIB,ZIP
|
|
|
|
|
|
|
|
# Default preferences
|
|
|
|
default-preference-list AES256,AES192,AES,CAST5,3DES SHA512,SHA384,SHA256,SHA224,RIPEMD160,SHA1,MD5 BZIP2,ZLIB,ZIP
|
|
|
|
default-keyserver-url hkp://pool.sks-keyservers.net
|
|
|
|
|
|
|
|
# Forcing preferred settings even if it's against OpenPGP standards
|
|
|
|
#digest-algo SHA512
|
|
|
|
#compress-algo BZIP2
|
|
|
|
|
|
|
|
no-allow-non-selfsigned-uid
|
|
|
|
default-sig-expire 0
|
|
|
|
|
|
|
|
allow-multiple-messages
|
2012-12-21 13:50:51 +01:00
|
|
|
|
2012-12-22 15:43:34 +01:00
|
|
|
# Show the LONG KEYID and fingerprint by default and tell that it's hexadecimal string.
|
2012-12-21 13:50:51 +01:00
|
|
|
keyid-format 0xLONG
|
2012-12-22 15:43:34 +01:00
|
|
|
with-fingerprint
|
2012-12-21 13:50:51 +01:00
|
|
|
|
2012-12-21 18:50:44 +01:00
|
|
|
# Use Eye Of Gnome as default image viewer
|
|
|
|
photo-viewer eog %i
|
|
|
|
|
|
|
|
# The default to use for the check level when signing a key.
|
2013-01-05 20:44:40 +01:00
|
|
|
#default-cert-level 2
|
2012-12-21 18:50:44 +01:00
|
|
|
|
|
|
|
lock-multiple
|
|
|
|
|
|
|
|
expert
|
2012-12-29 14:56:15 +01:00
|
|
|
verbose
|
|
|
|
verbose
|
|
|
|
verbose
|
2012-12-21 18:50:44 +01:00
|
|
|
|
2012-12-22 15:43:34 +01:00
|
|
|
# Teach to be careful with sensitive things by exporting them like everything else
|
2013-01-04 10:43:54 +01:00
|
|
|
import-options import-local-sigs import-clean
|
2012-12-22 15:43:34 +01:00
|
|
|
export-options export-local-sigs export-attributes export-sensitive-revkeys export-clean
|
|
|
|
|
2013-01-17 15:48:48 +01:00
|
|
|
# Ask everything
|
|
|
|
ask-cert-level
|
|
|
|
ask-cert-expire
|
|
|
|
|
2012-12-21 13:50:51 +01:00
|
|
|
# Add comments to things signed/encrypted by gpg
|
2012-12-21 15:18:05 +01:00
|
|
|
comment Homepage: http://mkaysi.github.com/
|
2012-12-21 18:50:44 +01:00
|
|
|
comment Public key: http://mkaysi.github.com/PGP/0x82A46728.txt
|
2012-12-21 15:18:05 +01:00
|
|
|
comment gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt
|
|
|
|
comment Fingerprint = 24BC 1573 B8EE D666 D10A AA65 4DB5 3CFE 82A4 6728
|
2013-01-04 18:09:56 +01:00
|
|
|
comment How/Why I send emails like I do http://git.io/tkIyFQ
|
|
|
|
##uncomment if someone complains about information behind above link without reading it
|
|
|
|
#comment ^^ explains why my signature is long and how you can hide it
|
2012-12-21 13:50:51 +01:00
|
|
|
|
|
|
|
# Contacts / Groups
|
|
|
|
# PGPNET
|
2013-02-19 19:14:58 +01:00
|
|
|
group PGPNET=0x9CC6C4F03F370F7E 0x028ADF7453B04B15 0x4FA0BC023E154674 0x321E4E2373590E5D 0xC8B9B8C9DAC006F7 0xE045FE37AD62C09F 0x3BF4412249A850DC 0xB511FEE3DD86C24F 0x206C38805E0E5C42 0x013680AC643DD559 0xE0E9DD26F1D99755 0x82121A454319410E 0x41B0346260D02095 0xED845FEEA602AAB7 0x83C6A66F46914B32 0xCE462071331D023F 0xF1B011DC0365833F 0xD3C7FB49081383FA 0xBB0F603E6691CBDF 0x5D57C386564C4A09 0xC110784A111831BE 0xA8A90B8EAD0C6E69 0x4DB53CFE82A46728 0xB6ABE088B62E904D 0x2353DCC8E13CDF84 0x034FD3C3BAD41583 0x82CDBDAB82A8E763 0xF4E1C6A18013408D 0x797DFD70917B1BF0 0x5F11CD9291FD8F51 0xC021F18A9A135171 0x86511A36FE79D2D4 0x0EBB8286E8A253BA 0x7D618792A3E069DE 0x9B6B50F3CBF0F0D3 0xF010498E5AECF89B 0xB96EAA54B5D84CE0 0x0AB32D6916E2E31D 0x0B6ED1FFDD271AEC
|
2012-12-21 13:50:51 +01:00
|
|
|
|
|
|
|
# TouchLay Server Adminstrators
|
2012-12-30 16:41:30 +01:00
|
|
|
group TLSA=0x4DB53CFE82A46728 0x0BD622288449A12B 0x729DF464666CC0DD 0xCACC5B094EC00206
|