veraison / go-cose

go library for CBOR Object Signing and Encryption (COSE)
Mozilla Public License 2.0
50 stars 26 forks source link

Correct return error code when key cannot be decoded #130

Closed yogeshbdeshpande closed 1 year ago

yogeshbdeshpande commented 1 year ago

Signed-off-by: Yogesh Deshpande yogesh.deshpande@arm.com

codecov[bot] commented 1 year ago

Codecov Report

Merging #130 (204bb9e) into main (07c7d28) will increase coverage by 0.30%. The diff coverage is 100.00%.

:exclamation: Current head 204bb9e differs from pull request most recent head eba8d14. Consider uploading reports for the commit eba8d14 to get more accurate results

@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
+ Coverage   91.82%   92.12%   +0.30%     
==========================================
  Files          10       10              
  Lines         978      978              
==========================================
+ Hits          898      901       +3     
+ Misses         54       51       -3     
  Partials       26       26              
Impacted Files Coverage Δ
signer.go 100.00% <100.00%> (ø)
verifier.go 100.00% <100.00%> (ø)
headers.go 93.05% <0.00%> (+0.90%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more