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

Added a unit test for cypher text padding check in client's symmetric_decrypt_verify() #381

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

BogdanYarotsky
Copy link

No description provided.

Copy link
Contributor

@AiyionPrime AiyionPrime left a comment

Choose a reason for hiding this comment

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

@BogdanYarotsky Thanks for cleaning up :)

Any chance you could create a unittest from this commented out test code instead of dropping it and reference it in line 1213?

@BogdanYarotsky BogdanYarotsky marked this pull request as draft September 22, 2024 11:17
@BogdanYarotsky BogdanYarotsky marked this pull request as ready for review September 22, 2024 15:38
@BogdanYarotsky
Copy link
Author

BogdanYarotsky commented Sep 22, 2024

@AiyionPrime Thanks for checking out the PR :)

I've brought back and uncommented the padding check. Also added a unit test to validate that it works.

@BogdanYarotsky BogdanYarotsky changed the title removed commented out code in symmetric_decrypt_verify Added a unit test for cypher text padding check in symmetric_decrypt_verify Sep 22, 2024
@BogdanYarotsky BogdanYarotsky changed the title Added a unit test for cypher text padding check in symmetric_decrypt_verify Added a unit test for cypher text padding check in client's symmetric_decrypt_verify() Sep 22, 2024
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