test: pin wimsey v0.5.0 / v3 WIMSE conformance vectors #23
Annotations
2 errors
|
lint
issues found
|
|
lint:
wimse_conformance_test.go#L141
SA1019: (crypto/ecdsa.PrivateKey).D has been deprecated since Go 1.26 and an alternative has been available since Go 1.25: modifying the raw value can produce invalid keys, and may invalidate internal optimizations; moreover, [big.Int] methods are not suitable for operating on cryptographic values. To encode and decode PrivateKey values, use [PrivateKey.Bytes] and [ParseRawPrivateKey] or [crypto/x509.MarshalPKCS8PrivateKey] and [crypto/x509.ParsePKCS8PrivateKey]. For ECDH, use [crypto/ecdh]. (staticcheck)
|