Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-compute certificate chain on dev-preview leads to an epoch gap #2173

Open
2 tasks done
jpraynaud opened this issue Dec 12, 2024 · 0 comments
Open
2 tasks done

Re-compute certificate chain on dev-preview leads to an epoch gap #2173

jpraynaud opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
bug ⚠️ Something isn't working

Comments

@jpraynaud
Copy link
Member

Why

The re-computation of the certificate chain on the dev-preview networks fails and lead to an epoch gap from epoch 757 to epoch 778 (as detected by the certificate chain verifier). The problem occurs with the previous and the new version of the re-computation tool and multiple re-computations don't fix it.

Analysis

The problem was due to the fact that two versions of the certificates existed for the CardanoImmutableFilesFull signed entity type: some with a certificate with a hash computed before the breaking change and some with a certificate has computed after the breaking change in the certificate structure (this can happen if the re-computation of the certificate chain is not done immediately after introducing a breaking change in the certificate structure). This broke the expected order of the certificate chain and lead the verifier of the certificate chain to consider the chain corrupted.

An acceptable fix for the dev-preview network was to delete all the certificates produced for the CardanoImmutableFilesFull signed entity type before the introduction of the breaking change of the certificate structure.

Next steps

  • Enhance the robustness and the devX of the re-computation tool

What

Investigate and fix the certificate chain re-computation.

How

  • Investigate the problem
  • Fix the problem
@jpraynaud jpraynaud added the bug ⚠️ Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants