Hi,

I'm trying to get the crypto stuff to work on OSX
I've only tried verifying signatures. This is where I am so far:

I chose to try the handy gpg tools suite for OSX provided 
by https://gpgtools.org/.

The gpg-agent provided by this tool does not set the environment variable 
GPG_AGENT_INFO.
Even if I set it manually, I was not able to M-x getenv it in to emacs, but 
that's just me being a noob, probably. (shell-copy-environment-variable was 
no help either).

By adding this to my init.el:
(setq epg-gpg-program "gpg2")
(setenv "GPG_AGENT_INFO" "~/.gnupg/S.gpg-agent")

I am able to verify, but only if the public key of the sender already 
exists in ~/.gnupg/pubrin.gpg

If the key does not yet exist the signature in the message view says 
"unverified" the details say eg:
verdict: verification failed
1: error; created:?, expires:01/16/14, signer:?, key:F688xxxx88A91FA3 
(RSA,SHA-512), trust:none

When I manually verify using 
$ mu verify -r msg
I get
verdict: signature(s) verified
1: good; created:01/16/14, expires:?, signer: xxx <[email protected]>, 
key:F688xxxx88A91FA3 (RSA,SHA-512), trust:undefined

After which the signature shows up as verified in the message view.

Is there a way to let mu4e get these public keys in to gpg on demand?

This is on mu version 0.9.9.5 mind you.
I should probably upgrade, but then I would have to start looking in to 
ruby and homebrew/versions, I can easily install the git Head though, but 
I'd hate to break my new favorite mailclient :).

PS: is there a way to get mu find to output the filename of a message? It 
was a bit tedious to find a signed message in the filesystem.

Hope this helps.
Will report back if I can do more.

-- 
You received this message because you are subscribed to the Google Groups 
"mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to