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

Fixed getCertKid to return 8 bytes instead of seven #6

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

slaurenz
Copy link
Contributor

I checked the docs of Arrays.copyOfRange. The second range parameter is exclusive, so the -1 needed to be removed, to get the 8 bytes.

@M3kH
Copy link
Contributor

M3kH commented Apr 26, 2021

Hi @slaurenz sorry to intrude in your changes but I'm trying to understand the setup of the following repository. Apologies if you find not appropriated.

I would expect that these meaningful changes would be combined with provided test, but I see is not the case.

Is there a direction to provide test in the codebase so that the intentions are somehow documented and guarded?

Copy link
Collaborator

@f11h f11h left a comment

Choose a reason for hiding this comment

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

"to" is exclusive ... what a time to be alive :D

@f11h f11h merged commit d8e921b into main Apr 26, 2021
@f11h f11h deleted the Fix--kid-calculation branch April 26, 2021 07:42
@f11h
Copy link
Collaborator

f11h commented Apr 26, 2021

@M3kH test for the lib are currently under development

f11h added a commit that referenced this pull request Nov 22, 2022
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