Skip to content

Enhance genkey.sh to support multiple key types - #350

Merged
theseal merged 2 commits into
IdentityPython:masterfrom
restena-sw:patch-1
Nov 18, 2026
Merged

theseal merged 2 commits into
IdentityPython:masterfrom
restena-sw:patch-1

Conversation

@restena-sw

Copy link
Copy Markdown
Contributor

Added support for generating RSA, ECDSA, SLH-DSA, and ML-DSA keys and certificates. Works with openSSL 3.5+.

Allows easy testing for crypto-agility as per #349

All Submissions:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you added an explanation of what problem you are trying to solve with this PR?
  • Have you added information on what your changes do and why you chose this as your solution?
  • [-] Have you written new tests for your changes?
  • [N/A] Does your submission pass tests?
  • [N/A] This project follows PEP8 style guide. Have you run your code against the 'flake8' linter?

Added support for generating RSA, ECDSA, SLH-DSA, and ML-DSA keys and certificates.
@theseal

theseal commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Can you update this to handle the PKCS8 format requirement?

Added PKCS#8 format key generation for ECDSA.
@restena-sw

Copy link
Copy Markdown
Contributor Author

Sure. Updated to generate the private key both in PKCS#1 and PKCS#8 formats. Just in case you need a sample for eventual inclusion of compatibility with PKCS#1.

@theseal
theseal merged commit 4798946 into IdentityPython:master Nov 18, 2026
2 checks passed
@theseal

theseal commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Thanks!

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.

2 participants