Skip to content

Milestone: session rekey (~120s rotation) + PQ-hybrid handshake path #9

Description

@vxfemboy

The daemon does a single Noise-IK handshake at startup and never rekeys. The design calls for ~120 s session rotation (forward secrecy) and a drop-in path for a Rosenpass-style hybrid PQ handshake.

Scope

  • Rekey scheduling in the daemon: run a fresh handshake mid-session (~every 120 s) and swap the Session in DataPlane, with an overlap window so in-flight packets under the old epoch still decrypt (route by epoch). yip-crypto already provides the mechanism (a new handshake = a new Session); the daemon must drive the schedule + epoch handling.
  • conn_tag rotation ties in here (currently static = a linkability signature; M6 carry-forward): rotate per epoch.
  • PQ-hybrid handshake: the psk modifier on NOISE_PARAMS is reserved but unexercised — wire Classic McEliece + ML-KEM feeding a PSK (Rosenpass model). Likely its own sub-task once classical rekey works.

Notes

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