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

can we generate a X509 certificate #145

Open
Aswin2203 opened this issue Oct 23, 2024 · 1 comment
Open

can we generate a X509 certificate #145

Aswin2203 opened this issue Oct 23, 2024 · 1 comment

Comments

@Aswin2203
Copy link

My Query is about is there any library in python that can generate a X509 certificate using the Post Quantum Cryptography [Open Quantum Safe] Algorithms Key pair [like dilithium] Or is there any other way to generate a X509 certificate using PQC key pairs. It would be so much helpful if you can provide me a solution.

As if I generate a certificate with dilithium key pair using cryptography library, I get this error
ValueError: Unknown key type: 1.3.6.1.4.1.2.267.12.6.5

@johngray-dev
Copy link
Collaborator

You can take a look at this open source Python library for the new algorithms. It is written by Markku who is a contributer to this project: https://github.com/mjosaarinen/py-acvp-pqc

So I believe using the above library in conjunction with the X509 Certificate abilities already available in python should allow you to create X509 PQ certificates.

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

No branches or pull requests

2 participants