forked from adam8157/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Options for GnuPG | ||
|
||
# If you have more than 1 secret key in your keyring, you may want to | ||
# uncomment the following option and set your preferred keyid. | ||
|
||
default-key 2F39D84D | ||
|
||
# If you do not pass a recipient to gpg, it will ask for one. Using | ||
# this option you can encrypt to a default key. Key validation will | ||
# not be done in this case. The second form uses the default key as | ||
# default recipient. | ||
|
||
#default-recipient some-user-id | ||
#default-recipient-self | ||
|
||
# Use --encrypt-to to add the specified key as a recipient to all | ||
# messages. This is useful, for example, when sending mail through a | ||
# mail client that does not automatically encrypt mail to your key. | ||
# In the example, this option allows you to read your local copy of | ||
# encrypted mail that you've sent to others. | ||
|
||
#encrypt-to some-key-id | ||
|
||
# GnuPG can send and receive keys to and from a keyserver. These | ||
# servers can be HKP, email, or LDAP (if GnuPG is built with LDAP | ||
# support). | ||
|
||
keyserver hkp://keys.gnupg.net | ||
|
||
# Common options for keyserver functions: | ||
# auto-key-retrieve : automatically fetch keys as needed from the keyserver | ||
# when verifying signatures or when importing keys that | ||
# have been revoked by a revocation key that is not | ||
# present on the keyring. | ||
|
||
keyserver-options auto-key-retrieve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,10 +106,10 @@ subscribe [email protected] | |
|
||
# ---------------------GnuPG stuff----------------------------------- | ||
# Specify key | ||
set pgp_sign_as="D15CA3BE" | ||
set pgp_sign_as="2F39D84D" | ||
|
||
# PGP header | ||
my_hdr X-PGP-Key-ID: D15CA3BE | ||
my_hdr X-PGP-Key-ID: 2F39D84D | ||
|
||
# Autosign hook | ||
#send-hook ~A "set pgp_autosign" | ||
|
@@ -136,8 +136,8 @@ set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output | |
set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" | ||
set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" | ||
set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" | ||
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --encrypt-to D15CA3BE --charset utf8 --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" | ||
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --encrypt-to D15CA3BE --charset utf8 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" | ||
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --encrypt-to 2F39D84D --charset utf8 --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" | ||
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --encrypt-to 2F39D84D --charset utf8 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" | ||
set pgp_import_command="gpg --no-verbose --import %f" | ||
set pgp_export_command="gpg --no-verbose --export --armor %r" | ||
set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" | ||
|