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

Determinism goals #82

Open
chrysn opened this issue Jan 19, 2024 · 2 comments
Open

Determinism goals #82

chrysn opened this issue Jan 19, 2024 · 2 comments

Comments

@chrysn
Copy link
Member

chrysn commented Jan 19, 2024

It's a goal of CRIs to be deterministic (I don't know off my head if we have any caveats to that).

For CRI references, we don't aspire to do that (as there are usually at least options of discarding more and re-populating it, and evaluation depends on the base anyway).

@chrysn
Copy link
Member Author

chrysn commented Apr 5, 2024

One part we need to do here is narrow down the use of "equivalence" in the conversion rules. Maybe "equal under syntax based normalization" (RFC3986) can be helpful, or the conversion result already needs to be syntax normalized and thus needs to be byte-wise identical.

@chrysn
Copy link
Member Author

chrysn commented Apr 5, 2024

Can we prove that no two correct CRIs produce the same URI? With which tools?

(And personally I don't care too much, because the one important usecase is block-listing, and that's a mistake of its own; other use cases cabo mentioned are more useful diagnostics, but maybe it's not that important)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant