Skip to content

SFrameTransform needs more key management than "set" #259

@bifurcation

Description

@bifurcation

Right now, the way SFrameTransform is provided with keys via the setEncryptionKey method, which replaces the key used for encryption. In applications where keys are rotated (e.g., on join/leave), this one method is insufficient.

The typical lifecycle is as follows:

  • A next key is distributed for a given sender.
  • Receivers add the next key for receiving (in addition to the current key).
  • Once a sufficient fraction of receivers have added the key, the sender begins using the next key to send.
  • Once the sender starts using the next key, the receivers can delete the current key.

So we probably need an idea that SFrameTransform has multiple keys active at once (when receiving) and more of an "add / remove" semantic than a "set" semantic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions