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

secp256k1: Remove BER signature parsing. #2105

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Feb 20, 2020

This is rebased on #2095.

This removes the ability to parse signatures encoded with the more lax Basic Encoding Rules (BER) since they have never been valid on the Decred blockchain and the existing parsing code for them really didn't follow the spec anyway given it enforced additional length restrictions that the BER spec technically allows.

@davecgh davecgh added this to the 1.6.0 milestone Feb 20, 2020
This removes the ability to parse signatures encoded with the more lax
Basic Encoding Rules (BER) since they have never been valid on the
Decred blockchain and the existing parsing code for them really didn't
follow the spec anyway given it enforced additional length restrictions
that the BER spec technically allows.
@davecgh davecgh force-pushed the secp256k1_remove_ber_sig_support branch from 94bea06 to ce39748 Compare February 21, 2020 03:14
@davecgh davecgh merged commit ce39748 into decred:master Feb 21, 2020
@davecgh davecgh deleted the secp256k1_remove_ber_sig_support branch February 21, 2020 03:30
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.

None yet

3 participants