From: ueno Date: Fri, 21 Apr 2006 02:29:59 +0000 (+0000) Subject: Fixed. X-Git-Tag: epgsm-branchpoint~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=359180decf50389e8a5313a3fb04c88a6a93f69e;p=elisp%2Fepg.git Fixed. --- diff --git a/README b/README index e8f6d8b..b438bd3 100644 --- a/README +++ b/README @@ -46,9 +46,12 @@ If Emacs crashes and dumps core, Lisp strings in memory are also dumped within the core file. `read-passwd' function clears passphrase strings by `(fillarray string 0)'. However, Emacs performs compaction in gc_sweep phase. If GC happens before `fillarray', passphrase -strings may be moved elsewhere in memory. +strings may be moved elsewhere in memory. Therefore, passphrase +caching in Elisp is generally a bad idea. The EasyPG Library dares to +disable passphrase caching. -Fortunately, there is gpg-agent to cache passphrases in more secure -way, so the EasyPG Library dares to disable passphrase caching. Elisp -programs can set `epg-context-passphrase-callback' to cache user's -passphrases. +Fortunately, there is more secure way to cache passphrases - use +gpg-agent. + +Elisp programs can set `epg-context-passphrase-callback' to cache +user's passphrases, it is not recommended though.