flashbots / flashbots/attested-tls
AttestedCertificateResolver should backoff when re-trying to create a new attested certificate
- Dominant language
- Rust
- Stars
- 5
- Forks
- 3
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 8
Description
`attested_tls::AttestedCertifcateResolver` periodically generates a new attested certificate - that is, a new attestation and a TLS certificate with the attestation embedded as an extension.
If the renewal fails for whatever reason, it will wait and then re-try periodically. This is currently configured to 30 seconds wait before retrying.
We could introduce an exponential backoff on the retry delay, truncated to some maximum duration.
For context, the most likely thing to fail during certificate renewal is the attestation generation. The other error paths are related to signing or processing the certificate and keypair, and unlikely to fail unless something is very wrong.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.