Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check EC point is on curve at Verifier instantiation #116

Merged
merged 2 commits into from Dec 12, 2022

Conversation

thomas-fossati
Copy link
Contributor

Fix #115

Signed-off-by: Thomas Fossati thomas.fossati@arm.com

@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Merging #116 (dd75bac) into main (77e3f9f) will increase coverage by 0.33%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #116      +/-   ##
==========================================
+ Coverage   91.79%   92.12%   +0.33%     
==========================================
  Files          10       10              
  Lines         975      978       +3     
==========================================
+ Hits          895      901       +6     
+ Misses         54       51       -3     
  Partials       26       26              
Impacted Files Coverage Δ
cbor.go 84.21% <100.00%> (ø)
verifier.go 100.00% <100.00%> (ø)
headers.go 93.05% <0.00%> (+0.90%) ⬆️

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

Fix #115

Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>
@thomas-fossati
Copy link
Contributor Author

@shizhMSFT is it OK to merge this?

.github/workflows/ci.yml Outdated Show resolved Hide resolved
verifier_test.go Show resolved Hide resolved
verifier.go Show resolved Hide resolved
Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomas-fossati thomas-fossati merged commit c5ba0da into main Dec 12, 2022
@thomas-fossati thomas-fossati deleted the check-point-is-on-curve branch December 12, 2022 17:59
SteveLasker added a commit to SteveLasker/go-cose that referenced this pull request Feb 15, 2023
author Steve Lasker <stevenlasker@hotmail.com> 1674848151 -0800
committer Steve Lasker <stevenlasker@hotmail.com> 1676501778 -0800
gpgsig -----BEGIN PGP SIGNATURE-----

 iQJNBAABCgA3FiEEhq1fE1ajEbAM5+4Y+K0yn4Ipqz4FAmPtYxIZHHN0ZXZlbmxh
 c2tlckBob3RtYWlsLmNvbQAKCRD4rTKfgimrPiFGEACyEqM5Z1HTcwjDce9iHE8e
 l85yMpIebd2KlWpAYClMTw3pneZZ8KbLsd8E8IfAGd28tDhKRmdpzDlTjh0gwpdq
 Nv0omy8VfP/uhGlNKe3SnPdZQU4nz5zjRXXJsGSD7CRfsfPN7b/EmanD1G/k8wzB
 bNoomTehpkqZbILPa4yrmfc7pyBc/EwTkyzPwXhGEyyciqJvtPjRN/fxYsUZSrYr
 WqWLhSJkdn9S3IB84ryqbwBBsU0u2ZcFp1wt4ysukSi13WvXwIxZxMqIRmF21Wxj
 TnU5KJ5AvAU72k1PZr1O1B4O6Ahfo/UTTyoRaIvMRRuQ5EdcjAqNb4fk+zIES6FZ
 zUxZdMdUMCI1QK/0JzHggS1C7W5eSd5cnfq7nrJ4JwATiF2zyxM5n8cnInY4BYhC
 YrIVFDECtuz85AFgOc/zDaPVpbZO5Crw0oX6BMp8qFklg0zmaKr3dwzyPlrMvyMY
 REJb33lcjcG71+vNn7jnmF1Lf8IKzHiI4FhQkETVwjBNh3o8J9msbV9E/tAINoew
 D4GHLEIqff5JGWxaGaDU4uG7+HS+JDV0V21pW04fXfQYw7+5tbJBYtT0VZ58mnCd
 7vlrhDpISjyTRVpRbyHhOGbz6lzSvtLsEUEQu5gBrSRJ2bJaHfD/2VXeOOPfLRyF
 +AMCRKGexVDrghurbyD9oA==
 =cbrx
 -----END PGP SIGNATURE-----

parent 4dbb9a7
author Steve Lasker <stevenlasker@hotmail.com> 1674848151 -0800
committer Steve Lasker <stevenlasker@hotmail.com> 1676501439 -0800
gpgsig -----BEGIN PGP SIGNATURE-----

 iQJNBAABCgA3FiEEhq1fE1ajEbAM5+4Y+K0yn4Ipqz4FAmPtYb8ZHHN0ZXZlbmxh
 c2tlckBob3RtYWlsLmNvbQAKCRD4rTKfgimrPiT5D/9THqSLPbaKQPBxxGAF3WCk
 SJRKhU5c0c/bZiloCbRqSRE6Dg0BDO8tk2qqHjxoo8I4k916MVycGghdku+hW0XD
 QepeXJLe1++DXrWOXaqVgPquoiSm8RxisQ1k6AATsXzTtg5JtaXUQzbGN/kS6WY/
 srBjq9XeXwIE5aVU7VVfkkLjj/R6XcuKf34HNKEY98E4VUC8iWzX/x76jSxSkG1x
 PUpYKM9PEIqzdad3aA5+S17iGKEE5IfNJBOljXex7w6HXVpfJUumr3T4300dTpVV
 kuAYGoPMhNPHBjrX+YyHxpXJENZXmlov6A4j6dmTdNs1C/WGRpbz2SQS7/kKtJEp
 QeMsHlVgFmeOvY2Cfoowbw9sVOGtO/rbZvwgBh6jkcfeeqBOEy99ZvjuFomfa9xk
 L2wWFg2V8StvlzgJgAoly3Ya2ui0Be8GyCU2QKKpREn+++bqS7fAPZIin/xck8K+
 QpQBdrogX4T2Fn+PGMuqiWf0nUE3RXaC+v3eCQWrigC0k0SuE/P+Sg08myPAgCgZ
 uZBClB1hk5JUegEOTqvSRwfqUjMSEGCKVFNk4leNdDdpc8STRT5kN8lr50hFvDAr
 4a6y0NngUqJuBTvejmqc1mYBzpLBbFhXROJjCfrawGmPkehbxYbALDQtX6bV3x1P
 qFc9qc4SrSRG1nKRF1YPjQ==
 =49O0
 -----END PGP SIGNATURE-----

Add community and governance content

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

markdown format

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

PR Feedback

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

Remove zombied code of conduct

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

PR Feedback

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

Merge conflicts

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

Update references to v1.0.0 (veraison#129)

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

Update Code of Conduct (veraison#128)

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

Correct return error code when key cannot be decoded (veraison#130)

Check EC point is on curve at Verifier instantiation (veraison#116)

Signed-off-by: Thomas Fossati <thomas.fossati@arm.com>

Remove zombied code of conduct

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

PR Feedback

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

Merge conflicts

Signed-off-by: Steve Lasker <stevenlasker@hotmail.com>

Update references to v1.0.0 (veraison#129)

Signed-off-by: Lachlan Evenson <lachlan.evenson@microsoft.com>

Correct return error code when key cannot be decoded (veraison#130)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

missing EC public key validation when creating a new Verifier
5 participants