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

Fix KeyUsage/KeyUsages #30

Merged
merged 23 commits into from
Apr 14, 2024
Merged

Fix KeyUsage/KeyUsages #30

merged 23 commits into from
Apr 14, 2024

Conversation

bitfl0wer
Copy link
Member

@bitfl0wer bitfl0wer commented Apr 14, 2024

I misread and/or misinterpreted information from RFC5280, describing the KeyUsage extension. This PR properly implements the KeyUsage extension as intended in RFC5280 (closes #28), closes #29, re-exports der and spki and makes errors a little nicer.

The PR also adds a new example called ed25519_from_der, which shows how to create a certificate by importing DER encoded bytes.

@bitfl0wer bitfl0wer merged commit 7f84697 into main Apr 14, 2024
2 checks passed
@bitfl0wer bitfl0wer deleted the fix-key_usage branch April 14, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant