Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • J jami-daemon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • savoirfairelinux
  • jami-daemon
  • Issues
  • #684
Closed
Open
Created Dec 30, 2021 by Sébastien Blin@sblinOwner

Swarm: handle expiration changed

When a certificate got expired, it can be renewed with a new expiration. Swarm must be updated for new messages.

This needs some preparative work:

First, the migration behaviour should be fully validated and testable/automatized, this is currently in progress (https://review.jami.net/c/jami-daemon/+/20112, https://github.com/savoirfairelinux/opendht/pull/573)

A few tests must be added (This part is now in review https://review.jami.net/c/jami-daemon/+/20120):

  • If a device is expired, check that the migration is updating the same device's expiration (in progress, seems not the case)
  • If an account is expired, check that the migration is updating the same certificates
  • If device is revoked, a new device should be generated

Then, once this is validated, we will need to add some tests for:

  • After a device migration, the account should be able to commit on a swarm
  • After an account migration, the account should be able to commit on a swarm

This part is in review https://review.jami.net/c/jami-daemon/+/20127

Edited Jan 06, 2022 by Sébastien Blin
Assignee
Assign to
Time tracking