Skip to content

FAIL: TestNewVerifier/bogus_ecdsa_public_key_(point_not_on_curve): verifier_test.go:148: NewVerifier() error = ES256: invalid public key: P256 point not on curve, wantErr ES256: invalid public key #226

@jas4711

Description

@jas4711

What is the areas you would like to add the new feature to?

Go-COSE Library

Is your feature request related to a problem?

Hi! I help maintain this package in Debian. We got a build failure, most likely triggered by us using slightly different versions compared to what your go.mod dictates.

=== RUN   TestNewVerifier/bogus_ecdsa_public_key_(point_not_on_curve)
    verifier_test.go:148: NewVerifier() error = ES256: invalid public key: P256 point not on curve, wantErr ES256: invalid public key
=== RUN   TestNewVerifier/ecdsa_public_key_with_unsupported_curve
--- FAIL: TestNewVerifier (0.05s)
...
 --- FAIL: TestNewVerifier/bogus_ecdsa_public_key_(point_not_on_curve) (0.00s)

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129123

Could it be triggered by a more modern crypto libraries than what you test with?

/Simon

What solution do you propose?

No FAIL

What alternatives have you considered?

N/A

Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions