Skip to content

Commit

Permalink
new 4096-bit RSA key
Browse files Browse the repository at this point in the history
  • Loading branch information
adam8157 committed Nov 9, 2011
1 parent 88dd0a8 commit 6353e16
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 4 deletions.
36 changes: 36 additions & 0 deletions .gnupg/gpg.conf
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
8 changes: 4 additions & 4 deletions .muttrc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 6353e16

Please sign in to comment.