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

Error parsing EF.TokenInfo on SC-HSM #862

Closed
llogar opened this issue Aug 29, 2016 · 2 comments · Fixed by #865
Closed

Error parsing EF.TokenInfo on SC-HSM #862

llogar opened this issue Aug 29, 2016 · 2 comments · Fixed by #865

Comments

@llogar
Copy link
Contributor

llogar commented Aug 29, 2016

Commit c5a95d4 broke parsing EF.TokenInfo as the sc_pkcs15_parse_tokeninfo() function (called from sc_pkcs15emu_sc_hsm_read_tokeninfo()) is called with invalid blen parameter (it should be len instead of r)

frankmorgner added a commit to frankmorgner/OpenSC that referenced this issue Sep 1, 2016
@frankmorgner
Copy link
Member

I thinkt the information in EF.TokenInfo is only informational. My token is fully functional...

Could you please verify #865?

@llogar
Copy link
Contributor Author

llogar commented Sep 1, 2016

It may be informational, however since our application is using two cards at the same time, it cannot select the right one based on the card/token label as both cards are labeled (due to this bug) "Smartcard HSM" instead of their true labels (which are stored in EF.TokenInfo) as set at initialization time.

Anyway thanks for the fix.

frankmorgner added a commit that referenced this issue Sep 1, 2016
Jakuje pushed a commit to Jakuje/OpenSC that referenced this issue Nov 11, 2016
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 a pull request may close this issue.

2 participants