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

Change certificate models and profile releases use ~> for version numbers of extensions #289

Closed
james-ball-qualcomm opened this issue Nov 19, 2024 · 2 comments · Fixed by #308
Assignees
Labels
bug Something isn't working

Comments

@james-ball-qualcomm
Copy link
Collaborator

Was discussing this with @dlweaver today. I noticed that RVA20, RVA22, etc. profile releases specify some extension versions using = and some using ~>. For example, see screenshot. Seems like there are 2 use cases and in one case ~> is fine and in the other = is required:

  1. I want to see if an implementation is compliant with some profile release and so as long as it has extensions that are backwards compatible with the versions listed in the profile release, I'm good. In this case we want to use ~> to allow newer versions that are backwards compatible.
  2. I want to see which the version of each extension in a profile release when that release was made. In this case, I want = so I can see exactly the snapshot of the extension versions.

If for case #2 above if the ~> version number matches the version number of each extension when the profile release was ratified, then we'd be able to cover both cases if we use ~>. So, that begs the question why aren't all the version numbers in a profile release using ~>? Why are some = and some ~>?

image

@james-ball-qualcomm james-ball-qualcomm added the bug Something isn't working label Nov 19, 2024
@dhower-qc
Copy link
Collaborator

This inconsistency exists because I'm not sure what a profile actually means. It should be all ~> or all =, I'm just not sure which one.

If it's ~>, then we mean that a profile is specifying a range of (presumably compatible) extension versions. If it's =, then we mean that a profile specifies exactly one extension version.

The ratified profile specs don't mention versions, which is why this is ambiguous.

@james-ball-qualcomm
Copy link
Collaborator Author

A profile or certificate should all be ~> since it documents what an implementation must provide to be compliant. So, any updated backwards compatible extension is compliant. So, we should change all of these in existing certificates and profiles. I can do that.

@james-ball-qualcomm james-ball-qualcomm changed the title Should profile releases use ~> or = for version numbers of extensions? Change certificate models and profile releases use ~> for version numbers of extensions Nov 21, 2024
@james-ball-qualcomm james-ball-qualcomm linked a pull request Nov 22, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants