uralplan / psi-dev

Automatically exported from code.google.com/p/psi-dev
0 stars 0 forks source link

PGP message icon indicates plain text messages as encrypted #589

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
[11:38:21] <Hugin> i'm about to open a bug report about pgp message icons, and 
the bug tracker advises me to discuss it here first…
[11:38:59] <Hugin> the little crypto lock in psi+ does NOT reflect whether the 
message received was encrypted or not; it reflects the internal state of the 
chat view only
[11:39:39] <Hugin> pgp message icon := the arrow with the lock symbol on the 
left of a message
[11:40:38] <Hugin> this bug leads to non-encrypted messages being claimed to be 
encrypted

What steps will reproduce the problem?
1. Enable options.pgp.auto-start (Not sure if this is needed in every case)
2. Start a new instance of Psi+
2. Receive a plain text message from a contact with an assigned OpenPGP-Key and 
a signed presence
3. This message will be claimed to be encrypted
4. Actually send something encrypted, followed by two plain text messages
5. The second plain text message will be claimed to be encrypted as well

What is the expected output?
Plain text messages without lock symbol on the arrow

What do you see instead?
Plain text message have a lock symbol on the arrow

What version of the Psi+/OS are you using?
Psi+ 0.16.366 (2014-06-02) / Debian GNU/Linux unstable (sid)

Additional information:
I've attached a screenshot and the corresponding XML log.

Original issue reported on code.google.com by flor...@florianfieber.de on 13 Jun 2014 at 10:12

Attachments:

GoogleCodeExporter commented 8 years ago
I've included a patch in Psi, which should fix the issue: 

Psi branch: https://github.com/FlorianFieber/psi/tree/pgp_icons
Psi+ fix: https://github.com/FlorianFieber/main/tree/upstream-fix

Someone willing to test and review it?

Original comment by flor...@florianfieber.de on 19 Jun 2014 at 7:48