iso7816: disable SM for GET RESPONSE #972
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The result of GET RESPONSE contains a potentially fragmented response
that is protected with SM. We disable SM here to let the upper layers
assemble and verify the complete SM response.
ISO 7816 is not very clear about usage of GET RESPONSE in SM, but we
have good evidence that it's indended to be read the way we implemented
it, see #970.