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

Re: PGP and SMIME support



Hi,

On Wed, 22 Jun 2011 09:11:56 +0900
Kazuhiro Ito <kzhr@d1.dion.ne.jp> wrote:

> Hi,
> 
> > I got gpg encryption and signing working, however I can't figure out
> > how to automatically decrypt and verify received messages, and how
> > to setup automatic encryption if a key is available.
> 
> I use modified SEMI (*1) which use EasyPG and I use the below code for
> automatic verification.  It may run with original SEMI If you can use
> EasyPG.  I have never tried automatic decryption, encryption and
> signing.
> 
> (*1) https://github.com/ikazuhiro/semi-epg

At present I also use this semi version.

I had to patch wanderlust:

--- source/wanderlust/wl/wl-mime.el	2010-10-18 22:57:20.840003215 +0200
+++ .emacs.d/wanderlust/wl/wl-mime.el	2011-07-12 23:07:02.000000000 +0200
@@ -489,7 +489,7 @@
 
 (eval-when-compile
   ;; split eval-when-compile form for avoid error on `make compile-strict'
-  (require 'mime-pgp)
+  (require 'mime-epg)
   (condition-case nil
       (require 'epa)
     (error

Any other modifications required?

With gpg1 signing and encrypting is working, but I have to enter the
passphrase twice.

With gpg2 (setq epg-gpg-program "/usr/bin/gpg2") signing and
encrypting doesn't work. The passphrase is also requested twice but
then I get an error.

PBKAC?

In Emacs 24 pgg has become obsolete. Should we switch to semi-epg
sooner or later?

Thanks.
Herbert