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 failing test: Change from Base64 to Hex encoding #22

Merged
merged 5 commits into from
Jun 5, 2024

Conversation

eemhu
Copy link
Contributor

@eemhu eemhu commented Jun 4, 2024

Fixes the failing test by changing Base64 to Hex encoding, as the KeyStore implementation does not guarantee case sensitivity for aliases.

Also includes:

  • Added tests
  • Close all Input/OutputStreams
  • DecodedHex object
  • Invalidates cache on credential delete

eemhu added 4 commits May 30, 2024 13:09
… invalidate verify cache on credential delete; switch Salt from Base64 encoding to Hex encoding as KeyStore aliases are always lowercase (no guarantees of case sensitivity)
Copy link
Contributor

@StrongestNumber9 StrongestNumber9 left a comment

Choose a reason for hiding this comment

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

Looks good to me assuming that the two comments are not action worthy

Copy link
Contributor

@StrongestNumber9 StrongestNumber9 left a comment

Choose a reason for hiding this comment

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

lgtm

@StrongestNumber9 StrongestNumber9 merged commit dd7cda2 into teragrep:main Jun 5, 2024
1 check passed
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.

2 participants