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

ignore unknown versions in version response. #22

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

longlongyang
Copy link
Collaborator

Current design will reject version response if there is a version other than 0x10, 0x11 and 0x12. This patch make it accept such version response, instead, unknown versions will be ignored.

break;
}
} else {
// for unknown versions, just ignore it!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend we only ignore the higher version - 1.4, 2.0.
The unknown lower version - 0.0, 0.9, should be rejected.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend we only ignore the higher version - 1.4, 2.0. The unknown lower version - 0.0, 0.9, should be rejected.

updated.

Current design will reject version response if there is a
version other than 0x10, 0x11 and 0x12. In this patch,
will not reject such version response, instead, unknown
versions will be ignored.

Signed-off-by: Yang, Longlong <[email protected]>
@jyao1 jyao1 merged commit f42eaf4 into ccc-spdm-tools:main Jan 24, 2024
47 checks passed
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

Successfully merging this pull request may close these issues.

2 participants