+2013-05-22 Daiki Ueno <ueno@gnu.org>
+
+ * mml2015.el (mml2015-epg-sign): Make sure to insert newline after the
+ signed data to conform the standard. (Bug#14232)
+
2013-05-20 Adam Sjøgren <asjo@koldfront.dk>
* gnus-spec.el (gnus-parse-complex-format): Use unicode escape for left
(epg-context-set-passphrase-callback
context
#'mml2015-epg-passphrase-callback))
+ ;; Signed data must end with a newline (RFC 3156, 5).
+ (goto-char (point-max))
+ (unless (bolp)
+ (insert "\n"))
(condition-case error
(setq signature (epg-sign-string context (buffer-string) t)
mml2015-epg-secret-key-id-list nil)