Context
net-did has tests (EcPointValidatorTests) that reach into the internal DefaultCryptoProvider.DecompressEcPoint / DecompressSecp256k1Point. In NetCrypto these are internal (visible to NetCrypto.Tests only), so post-migration NetDid.Core.Tests cannot call them with a simple using swap.
Ask
Please confirm the intended public EC-validation surface is EcPointValidator.EnsureOnCurve (and friends), and that point decompression is intentionally an internal implementation detail.
net-did will rewrite those test cases against the public EcPointValidator API (which exercises the same on-curve validation), or delete them — the coverage is duplicated in NetCrypto.Tests.
No upstream change is preferred. Expose a public DecompressEcPoint only if you consider it generally useful (not recommended given the frozen-surface posture).
Severity
Minor.
Context
net-didhas tests (EcPointValidatorTests) that reach into the internalDefaultCryptoProvider.DecompressEcPoint/DecompressSecp256k1Point. In NetCrypto these areinternal(visible toNetCrypto.Testsonly), so post-migrationNetDid.Core.Testscannot call them with a simpleusingswap.Ask
Please confirm the intended public EC-validation surface is
EcPointValidator.EnsureOnCurve(and friends), and that point decompression is intentionally an internal implementation detail.net-didwill rewrite those test cases against the publicEcPointValidatorAPI (which exercises the same on-curve validation), or delete them — the coverage is duplicated inNetCrypto.Tests.No upstream change is preferred. Expose a public
DecompressEcPointonly if you consider it generally useful (not recommended given the frozen-surface posture).Severity
Minor.