Skip to content

Display current trust status for encrypted messages

Marcin Mielniczuk requested to merge marmistrz/gajim:trust into master

The purpose of this PR is to enable dynamic trust display of encrypted messages (i.e. be able to indicate the current trust level, not necessarily the one that was set while receiving the message. The sketch of the WIP change:

  1. ChatControl uses the new API to get all known keys for a JID (contact JID or MUC JID) and passes it to the ConversationTextView
  2. ConversationTextView uses the fpr trust information (from 1) and the AdditionalData (which it uses currently) to calculate trust for known fingerprints
  3. If a fingerprint has been added, current trust is used as a fallback until the window is reloaded.
  4. If fingerprint trust has been changed, the changes not visible until the window is reloaded

See the related gajim-plugins PR at gajim-plugins!130 (closed)

Edited by Daniel Brötzmann

Merge request reports