(epg-context-set-armor context t)
(epg-context-set-textmode context pgg-text-mode)
(epg-context-set-passphrase-callback context #'pgg-epg-passphrase-callback)
+ (get-buffer-create pgg-output-buffer)
+ (get-buffer-create pgg-errors-buffer)
(condition-case error
(setq cipher
(epg-encrypt-string context
(epg-context-set-armor context t)
(epg-context-set-textmode context pgg-text-mode)
(epg-context-set-passphrase-callback context #'pgg-epg-passphrase-callback)
+ (get-buffer-create pgg-output-buffer)
+ (get-buffer-create pgg-errors-buffer)
(condition-case error
(setq plain (epg-decrypt-string context (buffer-substring start end))
pgg-epg-secret-key-id-list nil)
(epg-context-set-armor context t)
(epg-context-set-textmode context pgg-text-mode)
(epg-context-set-passphrase-callback context #'pgg-epg-passphrase-callback)
+ (get-buffer-create pgg-output-buffer)
+ (get-buffer-create pgg-errors-buffer)
(condition-case error
(setq signature
(epg-sign-string context
(let ((context (epg-make-context)))
(epg-context-set-armor context t)
(epg-context-set-textmode context pgg-text-mode)
+ (get-buffer-create pgg-output-buffer)
+ (get-buffer-create pgg-errors-buffer)
(if signature
(epg-verify-string context
(with-temp-buffer