Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
gajim-plugins
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajim-plugins
  • Merge Requests
  • !201

Merged
Opened Sep 08, 2020 by Vladislav Yarmak@yarmakContributor

[pgp] use full key fingerprints for identity bindings

  • Overview 20
  • Commits 9
  • Changes 3

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 Sep 08, 2020 by Philipp Hörist
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: gajim/gajim-plugins!201
Source branch: fix_518