Expand description
Shared helper for service JWT issuance with load-or-renew semantics.
Both the wizard and bootstrap manager use this function to avoid duplicating the “load existing JWT, renew if within 7 days of expiry” logic.
Functions§
- issue_
or_ load_ service_ jwt - Load an existing service JWT from disk, or sign a new one if absent,
within
RENEW_THRESHOLDseconds of expiry, not binding the local issuer URL in BOTHissandaud, or carrying a classical (non-PQ-covering) header alg — the last two are backfills that re-mint tokens older bootstraps (or older renewal paths, which stampedissbut notaud) produced in shapes the composite dispatch verification now rejects.