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

Check ENCRYPT_CAP / MAC_CAP / KEY_EX_CAP #2944

Closed
steven-bellock opened this issue Jan 6, 2025 · 0 comments · Fixed by #2945
Closed

Check ENCRYPT_CAP / MAC_CAP / KEY_EX_CAP #2944

steven-bellock opened this issue Jan 6, 2025 · 0 comments · Fixed by #2945
Assignees
Labels
bug Something isn't working

Comments

@steven-bellock
Copy link
Contributor

From DMTF/SPDM-Responder-Validator#140.

Through #2921 the checking of MAC_CAP was deferred to when KEY_EXCHANGE was called. However the CAPABILITIES check still needs to enforce

KEY_EX_CAP - If set, Requester shall support KEY_EXCHANGE request message. If set, ENCRYPT_CAP or MAC_CAP shall be set.

@steven-bellock steven-bellock added the bug Something isn't working label Jan 6, 2025
@steven-bellock steven-bellock self-assigned this Jan 6, 2025
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Jan 6, 2025
Fix DMTF#2944.

This also adds back relevant unit tests that were removed in DMTF#2933.

Signed-off-by: Steven Bellock <[email protected]>
steven-bellock added a commit to steven-bellock/libspdm that referenced this issue Jan 6, 2025
Fix DMTF#2944.

This also adds back relevant unit tests that were removed in DMTF#2933.

Signed-off-by: Steven Bellock <[email protected]>
jyao1 pushed a commit that referenced this issue Jan 9, 2025
Fix #2944.

This also adds back relevant unit tests that were removed in #2933.

Signed-off-by: Steven Bellock <[email protected]>
ShitalJumbad pushed a commit to ShitalJumbad/libspdm that referenced this issue Jan 22, 2025
Fix DMTF#2944.

This also adds back relevant unit tests that were removed in DMTF#2933.

Signed-off-by: Steven Bellock <[email protected]>
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.

1 participant