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

Fix Non-ExtLen build and negative serial numbers #25

Closed
wants to merge 1 commit into from

Conversation

ProfFan
Copy link

@ProfFan ProfFan commented Aug 30, 2019

This PR avoids negative serials displayed by Yubikey-PIV-Tool :)

@darconeous
Copy link

darconeous commented Oct 17, 2019

Have a look at #28 and #15: it appears that setting the most significant bit was intentional.

@arekinath
Copy link
Owner

As @darconeous mentioned, the negative numbers in serials are deliberate. If it's causing software to crash or misbehave rather than just looking weird I'd be open to setting the second-highest bit instead, but so far I think it's mostly ok?

At some point I'll do #31 to allow setting a specific serial number for the applet to use. For now I'm going to close this PR out.

@arekinath arekinath closed this May 13, 2020
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.

3 participants