Skip to content

Port DSA to Decrepit - #16128

Open
LoyalArgos wants to merge 8 commits into
pyca:mainfrom
LoyalArgos:dsa-decrepit
Open

LoyalArgos wants to merge 8 commits into
pyca:mainfrom
LoyalArgos:dsa-decrepit

Conversation

@LoyalArgos

@LoyalArgos LoyalArgos commented Dec 4, 2026 •

Copy link
Copy Markdown

DSA was deprecated in v51.0.0 via #15597, and the notice says "support will be removed in a future release"

I am concerned that DSA support will be outright dropped, rather than ported to decrepit; this would break necessary support for processing the public key components of a certificate with DSA keys and verifying existing DSA signatures.

This PR moves DSA support to cryptography.hazmat.decrepit.asymmetric.dsa, following other ports to decrepit (see #10286 and #13613)

While I understand the backing motivation behind discouraging users from leveraging DSA - for better or worse, it's still in real use. decrepit was created for exactly this case:

"...old, deprecated, and/or insecure cryptographic algorithms that may be needed in exceptional cases for backwards compatibility or interoperability reasons"

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown

This pull request has conflicts with main, found after 89718e6 landed on main. Please rebase, or merge main, to resolve them.

Posted by .github/workflows/conflicts.yml, once per push to a conflicting pull request.

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.

1 participant