Luigi Amedeo Bianchi wrote the following on 3/29/11 5:35 AM: > 1.4.11 Hi Luigi,
in your previous post where you copy/pasted from Console, I found: Quote: Process: pinentry-mac [63714] Path: /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac Identifier: pinentry-mac Version: ??? (???) Code Type: X86-64 (Native) Parent Process: gpg-agent [1240] Date/Time: 2011-03-28 22:35:13.511 +0200 OS Version: Mac OS X 10.6.7 (10J869) Report Version: 6 Unquote. That indicates that you have MacGPG2 installed and running. You may have also, and probably have GPG 1.4.11 installed as well. Both gpg1 and MacGPG2 can be installed and run alongside in the same computer, without interfering with each other. But since you are running: X-Mailer: Apple Mail (2.1084) GPGMail will use MacGPG2 by default. MacGPG2 needs gpg-agent to be running and available. You further indicated in your recent post: >> > and ~/.gnupg/gpg-agent.conf? > I don't have it. I believe that the cause of the problem you are experiencing is due to two items: 1. Your gpg.conf does not contain the option use-agent 2. Your gnupg home directory does not contain gpg-agent.conf, where from gpg-agent will read its options. If you wish to keep on using MacGPG2 with your GPGMail, I suggest: 1. Please add the option use-agent to your gpg.conf file. 2. Please add to ~/.gnupg/ a subfolder (sub-directory, semantics are not really important) named gpg-agent.conf 3. Please write into that gpg-conf.conf some basic options that gpg-agent will use for its functioning such as: default-cache-ttl [a value in seconds, e.g. 3600 = one hour] [empty line] max-cache-ttl [same value in seconds as above] This means that during one hour, your passphrase will be cached by gpg-agent, you won't have to type it to sign emails using your default secret key, and you won't have to type it to decrypt emails that have been encrypted to your public key whose decryption requires the use of your secret key. Please note that your passphrase will be cached for one hour (if you set the cache's value at 3600) counting from the time you perform either operation that requires the use of your secret key: sign, decrypt. Provided that you don't restart your computer within that hour. For illustration only, I have set the cache in my system to 86400 [seconds] = 24 hours. There are other options that can be set in gpg-agent.conf, such as: enable-ssh-support default-cache-ttl-ssh [cache value in seconds] max-cache-ttl-ssh [same value as above] and there are probably other syntax options that can be used to set those options, but that's the way I have learned to do it, and that's the way they work for me. Hope this helps, Charly _______________________________________________ gpgtools-users mailing list [email protected] FAQ: http://www.gpgtools.org/faq.html Changes: http://lists.gpgtools.org/mailman/listinfo/gpgtools-users Unsubscribe: http://lists.gpgtools.org/mailman/options/gpgtools-users/[email protected]?unsub=Unsubscribe&unsubconfirm=1 This email sent to: [email protected]
