Page MenuHome GnuPG

Wrong line endings when decrypting to console
Closed, ResolvedPublic

Description

When decrypting to console gnupg 2.1.3 creates "\r\r\n" line endings, while
decrypting to file creates "\r\n" line endings. Is this an expected behavior? Is
there any way to get the "\r\n" line endings when decrypting?

gpg --decrypt encrypted.gpg > DecryptConsole.txt
--> creates "\r\r\n" line endings

gpg --decrypt --output DecryptOutputfile.txt encrypted.gpg
--> creates "\r\n" line endings

Details

Version
2.1.3

Event Timeline

gp_ast added projects: gnupg, Bug Report.
gp_ast added a subscriber: gp_ast.

Missed to explain that this does not happen when using gnupg 2.0.* and this occured
on Windows. I did not try this on *nix.

The problem is likely due to a bug in libgpg-error. You may want to test the
latest master.

gp_ast: have you gotten a chance to try this?

Hi Neal, I am not able to reproduce the issue with GnuPG 2.1.10 anymore.

Okay, Feel free to re-open if you see it again.

werner claimed this task.
werner removed a project: Info Needed.