From: ueno Date: Fri, 24 Nov 2006 07:53:27 +0000 (+0000) Subject: * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF. X-Git-Tag: epg-0_0_8~9 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84e8212d71739035e7752d61fc3f09e6e98ff5e3;p=elisp%2Fepg.git * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF. Reported by Hiroya Murata . cf. --- diff --git a/ChangeLog b/ChangeLog index e2341d0..fc15ce5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-11-24 Daiki Ueno + + * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF. + Reported by Hiroya Murata . + cf. + 2006-11-23 Daiki Ueno * epa.el (epa-sign-region): Query signature type at a time. diff --git a/epg.el b/epg.el index 1ae12b5..3e9bab0 100644 --- a/epg.el +++ b/epg.el @@ -1224,7 +1224,8 @@ This function is for internal use only." (setq encoded-passphrase-with-new-line (encode-coding-string passphrase-with-new-line - epg-passphrase-coding-system)) + (coding-system-change-eol-conversion + epg-passphrase-coding-system 'unix))) (epg--clear-string passphrase-with-new-line) (setq passphrase-with-new-line nil)) (setq encoded-passphrase-with-new-line