Skip to content

Secp256k1.makeKeypair fails for on rare occasion for valid keys  #2

@luca992

Description

@luca992

For example:

privkey = "08ff5e5dceb88bc8524b7847e38f7154dd3085b0f193f7b33b05cb589c0f758b"

generates invalid coordinates:
x = 109935662982867345154845449166334107350085434437960438416550184547445776325311
y = 13136750348453758507803446166369873852648892471934079213392535603942009025432

the correct values from https://paulmillr.com/noble/,

x = 7259562561801451712887706765692375167613221626735023396887916112799916854137
y = 52090097669220275073136389976439250177759040844521012840758279342302556360176

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