public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jacob Todd <jaketodd422@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Mutt + GPG
Date: Thu, 18 Jun 2009 16:41:12 -0400	[thread overview]
Message-ID: <20090618204111.GA26181@zoidberg.hsd1.mi.comcast.net> (raw)

I'm trying to setup mutt with gpg and I found this nice tutorial
(http://codecorcery.net/old/mutt/mutt-gnupg-howto) but I'm having
trouble getting mutt to fetch keys and add them to my keyring. Right now
my .muttrc looks like this (just the pgp part):

unset pgp_autoencrypt
unset pgp_autosign
set crypt_autosign=yes
set crypt_replyencrypt=yes
set crypt_replysign=yes
set crypt_replysignencrypted=yes
set crypt_timestamp=yes
set crypt_verify_sig=yes
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x152C688E -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x152C688E -- -r %r -- %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_getkeys_command="gpg --recv-keys %r"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" 
set pgp_sign_as="0x152C688E"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_strict_enc
set pgp_timeout=300
set pgp_replyencrypt
set pgp_replysign
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_verify_sig=yes

Right now if I go to the command line and do `gpg --recv-keys keyID`,
then start mutt it verifies that the key is valid, but if I don't I just
get an error saying in the 'gpg: Can't check signature: No public key'
and in the status bar 'PGP signature could NOT be verified.' I haven't
sent any mail since the whole thing isn't working right yet, so I can't
say anything about that.

Anyone know what I did wrong?

-- 
Jake Todd
// If it isn't broke, tweak it!



             reply	other threads:[~2009-06-18 20:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-18 20:41 Jacob Todd [this message]
2009-06-18 22:13 ` [gentoo-user] Mutt + GPG Uwe
2009-06-19  2:09   ` [SOLVED] " Jacob Todd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090618204111.GA26181@zoidberg.hsd1.mi.comcast.net \
    --to=jaketodd422@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox