(context (epg-make-context)))
(epg-context-set-armor context epa-armor)
(epg-context-set-textmode context epa-textmode)
- (message "Signing %s..." (file-name-nondirectory file))
(epg-context-set-signers context signers)
+ (message "Signing %s..." (file-name-nondirectory file))
(epg-sign-file context file signature mode)
(message "Signing %s...done" (file-name-nondirectory file))))
(let ((context (epg-make-context))
charset plain coding-system)
(message "Decrypting...")
- (setq plain (epg-decrypt-string context
- (buffer-substring start end)))
+ (setq plain (epg-decrypt-string context (buffer-substring start end)))
(message "Decrypting...done")
(delete-region start end)
(goto-char start)
signature)
(epg-context-set-armor context epa-armor)
(epg-context-set-textmode context epa-textmode)
- (message "Signing...")
(epg-context-set-signers context signers)
+ (message "Signing...")
(setq signature (epg-sign-string context
(encode-coding-string
(buffer-substring start end)
(let ((context (epg-make-context)))
(message "Deleting...")
(epg-delete-keys context keys allow-secret)
- (apply #'epa-list-keys epa-list-keys-arguments)
- (message "Deleting...done")))
+ (message "Deleting...done")
+ (apply #'epa-list-keys epa-list-keys-arguments)))
;;;###autoload
(defun epa-import-keys (file)
(let ((context (epg-make-context)))
(message "Importing %s..." (file-name-nondirectory file))
(epg-import-keys-from-file context (expand-file-name file))
- (apply #'epa-list-keys epa-list-keys-arguments)
- (message "Importing %s...done" (file-name-nondirectory file))))
+ (message "Importing %s...done" (file-name-nondirectory file))
+ (apply #'epa-list-keys epa-list-keys-arguments)))
;;;###autoload
(defun epa-export-keys (keys file)