Expand description
Shared HTTP fetch + Bearer-token primitive; verification stays per-task.
Functionsยง
- build_
client - 15s timeout.
- fetch_
signed_ pair - Non-2xx or network error ->
Err; caller retains previous state. - fetch_
url ๐ - read_
token - Re-read each poll so token rotation propagates;
Noneskips auth. - read_
trust_ config - Re-read each call so trust.json rotation propagates without restart.
- read_
trust_ roots - Re-read each call so trust.json rotation propagates without restart.
nowlets the verifier accept successor keys during the rotation overlap window (now < retire_at).