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

Changes to properly identify IDPrime MD 840 #3146

Merged
merged 3 commits into from
May 23, 2024
Merged

Conversation

msetina
Copy link
Contributor

@msetina msetina commented May 13, 2024

Previously MD 840 was identified as 940.
Also changed the part where mechanism are assigned to the card, so that EC is also added as by spec.

Fixes #3106

Previously MD 840 was identified as 940.
Also changed the part where mechanism are assigned to the card, so that EC is also added as by spec.
@Jakuje
Copy link
Member

Jakuje commented May 13, 2024

Thank you for the PR. I will run some tests on the cards I have tomorrow.

@msetina
Copy link
Contributor Author

msetina commented May 13, 2024

Did you change code style lately? I followed the file.... It wants different indents.

@Jakuje
Copy link
Member

Jakuje commented May 13, 2024

No, the clang-format does not capture all the corner cases. Feel free to ignore the proposa of changes to the array of structs.

The long condition should be wrapped but the line needs to end with the logical operator, not start with it and the continuation should be 2 tabs.

@xhanulik xhanulik added this to In progress in OpenSC 0.26.0 May 23, 2024
Copy link
Member

@Jakuje Jakuje left a comment

Choose a reason for hiding this comment

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

tested with the bunch of cards I have and did not notice any obvious issue. Thank you. Merging

@Jakuje Jakuje merged commit 48e5007 into OpenSC:master May 23, 2024
43 of 45 checks passed
OpenSC 0.26.0 automation moved this from In progress to Done May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Card misidentification
2 participants