From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MHOQi-0003uU-Lt for garchives@archives.gentoo.org; Thu, 18 Jun 2009 20:41:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB351E0230; Thu, 18 Jun 2009 20:41:50 +0000 (UTC) Received: from mail-px0-f187.google.com (mail-px0-f187.google.com [209.85.216.187]) by pigeon.gentoo.org (Postfix) with ESMTP id 8E970E0230 for ; Thu, 18 Jun 2009 20:41:50 +0000 (UTC) Received: by pxi17 with SMTP id 17so229647pxi.32 for ; Thu, 18 Jun 2009 13:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=mtJ/UpGmwjjanCZ2L1SRFmrag5xwAt+KYTcp5HwSpag=; b=YYJizbnS3lChDTUB7szHmutU1Lwq5C76hnL6hhjkn5aidsKV3nPGXCl7/oRmPbCFtb 62bQA0Nsdi0iezJd6hRI1TaNZSG1c74ib+j+cpcmC8bd9C3ZnXA8qDE1tv3yPPxp975T XVYXENLoaj3XCXvY14Kjhjkriy7rHdECNyNwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=m7RNHBibFWfMAz3BhSEm9EEt2THFn6gPcbhrI8Q04rOHCEsfTVLmAX5J6gDpuFKcMJ bEqeEMdSvFYF5kYrThnNqoZ6s5+F0iYdWGewj0i1sgwXUSv9oStpXO0vevADvqnhWbqf NxuZhenQkhF+oWNzhRDgzrE0Kj9FbnNCP7vHo= Received: by 10.142.51.4 with SMTP id y4mr1148014wfy.150.1245357709989; Thu, 18 Jun 2009 13:41:49 -0700 (PDT) Received: from zoidberg.hsd1.mi.comcast.net (c-68-42-226-192.hsd1.mi.comcast.net [68.42.226.192]) by mx.google.com with ESMTPS id 30sm1226377wfd.1.2009.06.18.13.41.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Jun 2009 13:41:49 -0700 (PDT) Date: Thu, 18 Jun 2009 16:41:12 -0400 From: Jacob Todd To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Mutt + GPG Message-ID: <20090618204111.GA26181@zoidberg.hsd1.mi.comcast.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Archives-Salt: e40c6170-5dfb-48fb-a461-2eff9988a1de X-Archives-Hash: bb6745168ad5ddff42c6477d52fe1c7f 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!