Page MenuHome GnuPG

Output format option for Textmode conversion
Closed, InvalidPublic

Description

I got a report of a problem with line ending conversion, we had some users who
were surprised to see line endings change when they decrypted files which must
have been originally encrypted (by someone else and sent to them) with the text
mode flag on.

What surprised me was the lack of any way to effect this on the decryption end.
Obviously this is a storage issue as line endings are (potentially) being
converted at storage time.... so how about adding an option to explicitly
specify the output style? (just because my local system doing the decryption is
unix based, doesn't always mean I want unix style line endings)

Event Timeline

If you use --textmode during encryption the native line endings on the
decryption system are used. Adding an extra option to for arbitrary conversions
is IMHO not a good idea beause it violates the Unix principle of having
dedicated tools which work together. tr(1) does what you want.

Based on Werner's comment, I'm changing this to nobug and marking the issue as
resolved.

neal raised the priority of this task from Wishlist to Normal.
neal removed a project: Feature Request.