Skip to content

ecies: shared key is too big #227

@Gustav-Simonsson

Description

@Gustav-Simonsson

Happened once when running go test in src/github.com/ethereum/go-ethereum/crypto in branch branched from 9d42918

Running test again did not trigger it.

Test case is https://github.com/ethereum/go-ethereum/blob/9d429180f995f61e3448f9e0ffce713434590055/crypto/encrypt_decrypt_test.go

Could be edge-case with the randomly generated ephemereal key in each ECIES encryption. Looping the test case a few thousand times may trigger it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions