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

Add key size checks 2.x #971

Merged
merged 2 commits into from
May 21, 2020
Merged

Add key size checks 2.x #971

merged 2 commits into from
May 21, 2020

Commits on May 21, 2020

  1. core: check for key length in CheckWitness, fix #968

    Only one type of keys is allowed here.
    roman-khimov committed May 21, 2020
    Configuration menu
    Copy the full SHA
    0ce3a12 View commit details
    Browse the repository at this point in the history
  2. crypto: add input data length check in (*PublicKey).DecodeBytes

    DecodeBinary works with streams, so it can't do that, but DecodeBytes can and
    should. Also fix unmarshalled binary buffer that this check exposed.
    roman-khimov committed May 21, 2020
    Configuration menu
    Copy the full SHA
    60bca03 View commit details
    Browse the repository at this point in the history