Skip to content
Snippets Groups Projects

[pgp] use full key fingerprints for identity bindings

Merged Vladislav Yarmak requested to merge yarmak/gajim-plugins:fix_518 into master

Fixes #518

Highlights of changes introduced by this MR:

  • Introduces versioning in KeyStore database
  • Adds migration which resolves all short key IDs to the records corresponding fingerprints
  • Drops use of delay_execution because it causes interference between KeyStore instances belonging to different accounts, cancelling writes after migrations. Instead, we dispose need in such ratelimiting with *_nosync private methods used by bulk writes.
  • Modifies PGPLegacy.has_valid_key_assigned to make it match learned short fingerprint against key from KeyStore. Key learning is expected to be removed by fix for #519 (closed), so this is just to make everything work in current state.
Edited by Philipp Hörist

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading