Skip to content

Comments

Refactor EC public key construction to share more code#14285

Merged
reaperhulk merged 1 commit intopyca:mainfrom
alex:auto/refactor-ec-public-key-constructor
Feb 10, 2026
Merged

Refactor EC public key construction to share more code#14285
reaperhulk merged 1 commit intopyca:mainfrom
alex:auto/refactor-ec-public-key-constructor

Conversation

@alex
Copy link
Member

@alex alex commented Feb 10, 2026

No description provided.

@reaperhulk reaperhulk merged commit 122e791 into pyca:main Feb 10, 2026
67 checks passed
@alex alex deleted the auto/refactor-ec-public-key-constructor branch February 10, 2026 14:00
reaperhulk pushed a commit to reaperhulk/cryptography that referenced this pull request Feb 10, 2026
alex added a commit that referenced this pull request Feb 10, 2026
* Refactor EC public key construction to share more code (#14285)

* Run an EC check key if cofactor > 1

This only applies to the binary curves (ed25519 is cofactor 8 and
ed448 is cofactor 4 but we use a different code path for eddsa)

* deprecate SECT curves

* add a test

* more tests

* code review

* simplify

* update with CVE and credit

---------

Co-authored-by: Alex Gaynor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants