GNU bug report logs - #72542
31.0.50; EasyPG adds ^M in encrypting files with DOS-eol on Windows

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Fri, 9 Aug 2024 12:40:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Subject: bug#72542: closed (Re: bug#72542: 31.0.50; EasyPG adds ^M in
 encrypting files with DOS-eol on Windows)
Date: Sat, 10 Aug 2024 07:56:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72542: 31.0.50; EasyPG adds ^M in encrypting files with DOS-eol on Windows

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72542 <at> debbugs.gnu.org.

-- 
72542: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72542
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 72542-done <at> debbugs.gnu.org
Subject: Re: bug#72542: 31.0.50;
 EasyPG adds ^M in encrypting files with DOS-eol on Windows
Date: Sat, 10 Aug 2024 10:55:12 +0300
> Date: Fri, 09 Aug 2024 21:38:59 +0900
> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
> 
> 1. Create or open an encrypted text file, which has .gpg suffix.
> 2. Save the file with DOS-eol. (C-x RET f utf-8-dos and C-x C-s)
> 3. Kill buffer and re-open it.
> 
> I can see ^M garbage in each eol.  I noticed it because Wanderlust (a
> mailer) failed to verify signature on Windows.  Attached patch can
> resolve the issue.

Thanks, installed on the emacs-30 release branch, and closing the bug.

[Message part 3 (message/rfc822, inline)]
From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 31.0.50; EasyPG adds ^M in encrypting files with DOS-eol on Windows
Date: Fri, 09 Aug 2024 21:38:59 +0900
[Message part 4 (text/plain, inline)]
1. Create or open an encrypted text file, which has .gpg suffix.
2. Save the file with DOS-eol. (C-x RET f utf-8-dos and C-x C-s)
3. Kill buffer and re-open it.

I can see ^M garbage in each eol.  I noticed it because Wanderlust (a
mailer) failed to verify signature on Windows.  Attached patch can
resolve the issue.

-- 
Kazuhiro Ito
[0001-lisp-epg.el-epg-start-Don-t-convert-EOL-in-encoding.patch (text/plain, attachment)]

This bug report was last modified 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.