[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kgpg] [Bug 346983] New: KGpg editor accepts rich text (but it should not!)
From:       Denis Pesotsky aka Obey-Kun <obey () obey ! su>
Date:       2015-04-30 21:32:35
Message-ID: bug-346983-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=346983

            Bug ID: 346983
           Summary: KGpg editor accepts rich text (but it should not!)
           Product: kgpg
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde@opensource.sf-tec.de
          Reporter: obey@obey.su

When copy-pasting encrypted message from some web page to KGpg editor, it saves
rich text insertions. Decryption fails with error message that contains
decrypted message.

Reproducible: Always

Steps to Reproduce:
1. copy-paste encrypted message with rich text insertions to editor
2. try to decrypt it

Actual Results:  
Editor shows encrypted message

Expected Results:  
Decryption fails with error message that contains decrypted message

Decryption fails because gpg process fails with code 2, however [i guess]
KGpgTextOrFileTransaction::decryptedText() still can output result.

Problem is fixed after adding "setAcceptRichText(false);" line to KgpgTextEdit
constructor in editor/kgpgeditor.cpp. Of course it should not accept rich
text!!!

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic