spiffe/spire

JWT signing key validity period not considered in calculation of bundle "spiffe_refresh_hint"

Offen

#2.256 geöffnet am 06.05.2021

 (4 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Go (631 Forks)auto 404
help wantedpriority/backlog

Repository-Metriken

Stars
 (2.443 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

  • Version: 73f660bee008e1e4f8d310158c1258b65b53f959
  • Platform: All
  • Subsystem: Server

The spiffe_refresh_hint parameter of a bundle represents a suggestion for when a consumer should consider requesting a new version of the bundle, see SPIFFE Trust Domain and Bundle Section 4.1.2.

SPIRE currently only considers the lifetime of X.509 root CAs in the trust bundle for its calculation of this refresh hint. Today, SPIRE Server X.509 root CA and JWT signing keys have the same validity period, but ideally the refresh hint calculation should not depend on this assumption.

Contributor Guide