Skip to content

Fix mismatched verification key in public key tests#320

Open
saiashok0981 wants to merge 1 commit into
ccc-certifier-framework:mainfrom
saiashok0981:fix-ecc-verify-mismatched-key
Open

Fix mismatched verification key in public key tests#320
saiashok0981 wants to merge 1 commit into
ccc-certifier-framework:mainfrom
saiashok0981:fix-ecc-verify-mismatched-key

Conversation

@saiashok0981

Copy link
Copy Markdown

GitHub PR Description

### Summary
This PR fixes a bug in `test_public_keys` where `ecc_verify` was called with the wrong EC key (`ecc_key` instead of `ecc_key2`), causing verification failure and potential segmentation faults.

### Proposed Changes
- Modified `acl_lib/test_acl.cc` and `src/support_tests.cc` to use `ecc_key2` inside `ecc_verify` for the P-256 signature verification.

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.

1 participant