AttestedCertificateResolver should backoff when re-trying to create a new attested certificate
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with attested_tls::AttestedCertifcateResolver and trace the certificate-renewal retry path. Implement an exponential retry delay with a defined maximum, then verify that repeated renewal failures increase the wait and that the delay stops growing at the cap. The payload names no specific files or tests, so locate the relevant retry logic and existing renewal tests first.
Written by the indexing model from the issue text.
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.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 3
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 7
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flashbots/attested-tls
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
flashbots/attested-tls#97 ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
flashbots/attested-tls#92 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
flashbots/attested-tls#87 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
flashbots/attested-tls#84 · 7 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
flashbots/attested-tls#82 · 1 comment ·
All issues in flashbots/attested-tls
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
stratum-mining/stratum#2404 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug team:backend track:services-maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cowprotocol/services#4950 ·