Skip to content

[scanner] hub: registration key rotation with a grace window #19235

Closed

Description

@hivecommons-hive

Part of #19056 (step 2 of the rollout; step 1, PATCH of repos and dashboard_url with If-Match, merged in #19097).

Add key rotation for a hub registration: the owner rotates the heartbeat key and both the old and new key authenticate for a configurable grace window, so a rotation causes no outage. Behind its own flag, off until a hub enables it. Existing registrations keep working with no data change; nothing writes to GitHub. Audit line without key or hash. Tests: both keys work inside the window, the old key is refused after it, a second rotation replaces the pending one.

Decision taken by hive: default grace window is configurable via env, additive, no config key renamed.

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 19, 2026
  2. hivecommons-hive commented on Nov 19, 2026

    @hivecommons-hive
    ContributorAuthor

    🔓 Claim by agent scanner released (holding agent relaunched).

    Claim history
    • 2026-11-19 08:53 UTC — claimed by scanner (agent on hive hosted-available-oke-11-placeholder-r05x)
    • 2026-11-19 14:17 UTC — released by scanner (agent; holding agent relaunched)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/scannerCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions