From mboxrd@z Thu Jan 1 00:00:00 1970 From: xma at gnu.org (Xavier Maillard) Date: Tue, 8 Apr 2008 02:00:15 +0200 Subject: [Howm-eng 48] Re: GPG with EasyPG (Re: Newbie...) In-Reply-To: (khi@users.sourceforge.jp) References: <200804050000.m3500PHr004373@localhost.localdomain> <200804060000.m3600Obl007694@localhost.localdomain> Message-ID: <200804080000.m3800FwE005422@localhost.localdomain> At Sun, 6 Apr 2008 02:00:26 +0200, Xavier Maillard wrote: > Well in principle, it is pretty simple to achieve encryption. I > am used to EPG (part of GNU Emacs). I used local-vars to force > automatic encryption of a set of org-mode files. Oh! EasyPG runs well with howm! (1) Run gpg-agent. (2) Put *.gpg into ~/howm/. (3) M-x epa-file-enable Then howm can search *.gpg seamlessly. Glad to read that ! In fact, this is a requirement for me to store passwords and things like that. Below is a quick hack to use external grep and EPG at the same time. * All files in ~/howm/ are searched by the external grep command. * All files in ~/gpg/ are searched by elisp so that EPG is applied. This is necessary because searching all files with elisp is too slow for me. Test version (howm-test071107) is required for this code. http://howm.sourceforge.jp/a/howm-test.tar.gz Thank you, I will try your hack tomorrow. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org