|
From: | Daiki Ueno |
Subject: | Re: EasyPG API and usage questions (was: Suggestion: epa-file-select-keys should show currently selected keys) |
Date: | Sat, 1 Mar 2008 09:38:45 +0900 |
2008/3/1, Daiki Ueno <address@hidden>: > > - how do I specify plaintext instead of binary output? > > s/plaintext/ASCII armor/? It can be done with: > > (let ((epg-make-context 'OpenPGP)) > (epg-context-set-armor t) > (epg-encrypt-string context "test test test" nil)) This is apparently wrong. It should be: (let ((context (epg-make-context 'OpenPGP))) (epg-context-set-armor context t) (epg-encrypt-string context "test test test" nil)) Sorry for the noise. -- Daiki Ueno
[Prev in Thread] | Current Thread | [Next in Thread] |