You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why. ToolHive's validators accept EdDSA tokens, because ToolHive's embedded authorization server signs with
Ed25519. The incoming validator also follows same-host redirects for clients using a token file. The authorization
server's validator adds a CA bundle to the system roots, refreshes keys every 5 minutes, and tries every key when no kid matches. Moving them onto authn without these would change their behaviour.
What.
In progress:
Listing "EdDSA" in a trust's Algs accepts Ed25519. Ed448 and X25519 keys are refused.
DefaultAlgs() returns the default list, so a caller writes append(authn.DefaultAlgs(), "EdDSA").
Redirects is none (the default) or same-host, for discovery and key fetches. The token file is never sent to
another host.
Open question: should setting Redirects together with a custom HTTPClient be an error?
Still to do:
CA mode: replace the system roots (today) or add to them. If the system pool fails to load, return an error.
A key refresh interval (authn uses 15 minutes today).
Whether to try every key when no kid matches (an option, or a documented change).
Done when. Table tests cover each option, and the defaults are unchanged.
Activity