[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: S/MIME with Wanderlust



> Only the ʽsmime.p7mʼ attachment (application/pkcs7-mime (base64) 
> when applying the mime-view ʽplay modeʼ method 
>     mime-view-application/pkcs7-mime
> returns
>      epg--check-error-for-decrypt: GPG error: "Decryption failed", ""
>     
> What I donʼt quite understand is what function sequence is called, if the above method is triggered?
> You mentioned SEMI-EPG would use gpgsm, but I couldnʼt find where your code specifies this binary program. 
> Where do I have to look further to trace down that error?

mime-view-application/pkcs7-mime function calls epg-decrypt-string,
which is EasyPG's function.  gpgsm is called from it.  If you want to
cutomize where is gpgsm, modify epg-gpgsm-program variable.

Because the above error occures in EasyPG, setting epg-debug variable
to t may help you.

-- 
Kazuhiro Ito