So I guess it must be this one?
Sorry, using
GenerateSharedSecret
was confusing. I didn't mean the function in secpk256k1
. I meant the function in my NIP-44 library and that I am currently skipping tests because I assumed that secp256k1
keys are always valid of strong. However, if they are generated usingsecp256k1.PrivKeyFromBytes
they might not be valid or contain weaknesses.See this reply from me, hopefully it unconfuses you :)
ParsePubKey
, here?: