Skip to content

Show trust level for incoming encrypted messages

Malte L requested to merge maltel/gajim:trust into master

This adds a Trust type to gajim. Using this, plugins that handle decryption of messages can now in addition to the previously used fields name and fingerprint of properties.encrypted also add the trust level of the key that signed the incoming message to a trust field. The previously displayed symbol (red open lock for unencrypted messages, green closed lock for encrypted ones) has been changed to take into account trust information for incoming encrypted messages (if trust information is available, otherwise behavior should be as before). If trust is UNTRUSTED, the red error symbol is shown (for testing: note that the omemo plugin drops messages with this trust level, so this will not be observable directly). For UNDECIDED we get the empty shield symbol in orange, for BLIND the half-filled shield in green, and for VERIFIED the filled shield in green.

There will be another merge request for a change to the omemo plugin making use of this.

Merge request reports