Skip to content

Conversation

@IanDBird
Copy link
Collaborator

@IanDBird IanDBird commented May 3, 2024

This fixes an issue if the caller accidentally passes in an invalid public key parameter. We will now handle malformed input.

I would have also liked this to be under a UT, but since it's part of the KeyUtils, this internally is using a lot of Java/Android crypto stuff which is not mockable (hence why this class exists, to control their usage).

@IanDBird IanDBird merged commit 898095f into main May 3, 2024
@IanDBird IanDBird deleted the ian/public-key-validation branch May 3, 2024 12:39
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