3 EasyPG is yet another GnuPG interface for Emacs. It consists of two
6 - "The EasyPG Assistant"
7 A GUI frontend of GnuPG
9 A library to interact with GnuPG
13 ** GNU Emacs 21.4 or XEmacs 21.4
24 Add the following line to your ~/.emacs
28 Then you can browse your keyring by `M-x epa-list-keys'. In addition,
29 you can do some cryptographic operations on dired.
33 : e (or M-x epa-dired-do-encrypt)
34 (select recipients and click [OK])
38 There are security pitfalls around Emacs.
40 ** Passphrase may leak to a temporary file.
42 The function call-process-region writes data in region to a temporary
43 file. If your PGP library used this function, your passphrases would
44 leak to the filesystem.
46 The EasyPG Library does not use call-process-region to communicate
47 with a gpg subprocess.
49 ** Passphrase may be stolen from a core file.
51 If Emacs crashes and dumps core, Lisp strings in memory are also
52 dumped within the core file. read-passwd function clears passphrase
53 strings by (fillarray string 0) to avoid this risk. However, Emacs
54 performs compaction in gc_sweep phase. If GC happens before fillarray,
55 passphrase strings may be moved elsewhere in memory. Therefore,
56 passphrase caching in elisp is generally a bad idea.
58 The EasyPG Library dares to disable passphrase caching. Fortunately,
59 there is more secure way to cache passphrases - use gpg-agent.
63 The EasyPG Library can be used in combination with MUA (Mail User
68 SEMI is the MIME library used by Wanderlust, cmail, T-gnus, etc.
70 There is an EasyPG capable SEMI library called EMIKO-EasyPG. It can
71 be downloaded from the same site of the EasyPG distribution point.
75 PGG is somewhat outdated PGP library used by Gnus, MH-E, etc.
77 There is a PGG backend using EasyPG called pgg-epg.el. However,
78 through the pgg-epg.el you can't benefit of the power of the EasyPG
79 Library, because the PGG API is restricted so that it supports old PGP