public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Mutt + GPG
@ 2009-06-18 20:41 Jacob Todd
  2009-06-18 22:13 ` Uwe
  0 siblings, 1 reply; 3+ messages in thread
From: Jacob Todd @ 2009-06-18 20:41 UTC (permalink / raw
  To: gentoo-user

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!



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Mutt + GPG
  2009-06-18 20:41 [gentoo-user] Mutt + GPG Jacob Todd
@ 2009-06-18 22:13 ` Uwe
  2009-06-19  2:09   ` [SOLVED] " Jacob Todd
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe @ 2009-06-18 22:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

On Thu, 18 Jun 2009, Jacob Todd wrote:

> 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
[snip] 
> Anyone know what I did wrong?
> 
> -- 
> Jake Todd
> // If it isn't broke, tweak it!
> 

Hi

Have you set the following in your ~/.gnupg/gpg.conf file:
keyserver <keyserver address>
keyserver-options auto-key-retrieve


From http://wiki.mutt.org/?MuttGuide/UseGPG


HTH
-- 
/"\  ASCII Ribbon Campaign | Uwe
\ /   against HTML e-mail  | keksvernichter@@gmail.com
 x  against MS attachments | Key: 93BF09A2 @ pool.sks-keyservers.net
/ \ www.asciiribbon.org    | Key: 93BF09A2 @ keys.gnupg.net

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [SOLVED] Re: [gentoo-user] Mutt + GPG
  2009-06-18 22:13 ` Uwe
@ 2009-06-19  2:09   ` Jacob Todd
  0 siblings, 0 replies; 3+ messages in thread
From: Jacob Todd @ 2009-06-19  2:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

No, :p. I do now, and everything works fine.

Thanks, Uwe.
On Fri, Jun 19, 2009 at 12:13:34AM +0200, Uwe wrote:
> On Thu, 18 Jun 2009, Jacob Todd wrote:
> 
> > 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
> [snip] 
> > Anyone know what I did wrong?
> > 
> > -- 
> > Jake Todd
> > // If it isn't broke, tweak it!
> > 
> 
> Hi
> 
> Have you set the following in your ~/.gnupg/gpg.conf file:
> keyserver <keyserver address>
> keyserver-options auto-key-retrieve
> 
> 
> From http://wiki.mutt.org/?MuttGuide/UseGPG
> 
> 
> HTH
> -- 
> /"\  ASCII Ribbon Campaign | Uwe
> \ /   against HTML e-mail  | keksvernichter@@gmail.com
>  x  against MS attachments | Key: 93BF09A2 @ pool.sks-keyservers.net
> / \ www.asciiribbon.org    | Key: 93BF09A2 @ keys.gnupg.net



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

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-19  2:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 20:41 [gentoo-user] Mutt + GPG Jacob Todd
2009-06-18 22:13 ` Uwe
2009-06-19  2:09   ` [SOLVED] " Jacob Todd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox