Page MenuHome GnuPG

GPA - clipboard encryption - use textmode
Closed, WontfixPublic

Description

When encrypting the text from the "Clipboard" (oh, what a name! Shouldn't it be
called ANYTHING else to prevent confusing it with the clipboard? Our followers
coming from PGP would be confused, because PGP actually has an option to encrypt
the real system clipboard!) the text is encrypted in such a manner that when
decrypted on other systems (say Windows), the line endings are messed up.

gpg has a "-t" option specifically for text encryption, to deal with this issue.
(At least when encrypted with this option, PGP for Windows does show line
endings correctly.) Since we know that "Clipboard" definitely contains nothing
other than text, it should be safe to use it when encrypting "Clipboard". Or at
least I believe we should be given an option to do so, which I have not seen
(correct me if I was not looking well enough). And I still believe it should be
enabled by default - for "Clipboard" only.

Details

Version
all

Event Timeline

werner renamed this task from GPA - clipboard encryption to GPA - clipboard encryption - use textmode.Apr 8 2016, 9:38 AM

The use of --textmode is in general not a good idea. The GPA on Windows will work just fine regardless of line endings. Notepad.exe also does not care about line endings as does other proper text handling software. If there is a problem c+p from the GPA "clipboard" do the system clipboard we can fix that.

werner claimed this task.

We stopped maintaining GPA in favor of Kleopatra.