Skip to content

[Fix] - Made public key from signature recover method safer #819

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

Merged
merged 1 commit into from
Nov 27, 2020

Conversation

pslaski
Copy link
Contributor

@pslaski pslaski commented Nov 27, 2020

Description

ECDSASignature.recoverPubBytes is using an external library code which is throwing exceptions.

Proposed Solution

Use Try in ECDSASignature.recoverPubBytes method.

@pslaski pslaski force-pushed the fix-safer-public-key-restore branch from 1f5993c to 252dd0c Compare November 27, 2020 14:25
@pslaski pslaski merged commit 6a4bb70 into develop Nov 27, 2020
@pslaski pslaski deleted the fix-safer-public-key-restore branch November 27, 2020 14:41
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