-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
questionFurther information is requestedFurther information is requested
Milestone
Description
What is the areas you experience the issue in?
Go-COSE Library
What is not working as expected?
Hi! I am packaging go-cose for Debian. I got build failures in the self tests when built inside Debian. See build log here:
https://salsa.debian.org/jas/golang-github-veraison-go-cose/-/jobs/5160101
Output below. Do you have any ideas? The self test seems extensive, great work! We are disabling it until we can figure out how to fix this.
=== RUN TestSignature_Sign_Internal/valid_message
sign_test.go:769: Signature.Sign() error = cbor: 3 bytes of extraneous data starting at index 1
=== RUN TestSignature_Sign_Internal/valid_message_with_empty_parent_protected_header
=== RUN TestSignature_Sign_Internal/valid_message_with_external
=== RUN TestSignature_Sign_Internal/nil_external
=== RUN TestSignature_Sign_Internal/nil_protected_header
--- FAIL: TestSignature_Sign_Internal (0.00s)
--- FAIL: TestSignature_Sign_Internal/valid_message (0.00s)
...
=== RUN TestSignature_toBeSigned/valid_signature
sign_test.go:2289: Signature.toBeSigned() error = cbor: 3 bytes of extraneous data starting at index 1, wantErr false
=== RUN TestSignature_toBeSigned/invalid_body_protected_header
=== RUN TestSignature_toBeSigned/invalid_sign_protected_header
=== RUN TestSignature_toBeSigned/invalid_raw_sign_protected_header
--- FAIL: TestSignature_toBeSigned (0.00s)
--- FAIL: TestSignature_toBeSigned/valid_signature (0.00s)
--- PASS: TestSignature_toBeSigned/invalid_body_protected_header (0.00s)
What did you expect to happen?
Build work
How can we reproduce it?
Checkout and build your package via Debian:
https://salsa.debian.org/go-team/packages/golang-github-veraison-go-cose/
Describe your environment
Debian
What is the version of your Go-COSE Library?
1.2.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested