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

wip: replace pem with pem-rfc7468 crate #51

Closed
wants to merge 1 commit into from

Conversation

flihp
Copy link
Collaborator

@flihp flihp commented May 5, 2023

this will resolve #50 but I've left it as a draft because the CSRs it produces are padded with a stream of 'A's. I don't have time to figure out whether I've done something wrong, this is expected behavior (check rfc 7468), or it's something else / bug. It handles certs fine and is a drop-in replacement for the existing implementation (decodes certs created by opensl fine).

@flihp
Copy link
Collaborator Author

flihp commented May 5, 2023

like this:

-----BEGIN CERTIFICATE REQUEST-----
MIHZMIGMAgEAMFkxCzAJBgNVBAYTAlVTMR8wHQYDVQQKDBZPeGlkZSBDb21wdXRl
ciBDb21wYW55MSkwJwYDVQQDDCAwWFYyOlBQUC1QUFBQUFBQOlJSUjpMTExXV1lZ
U1NTNjAqMAUGAytlcAMhAFhzsGg1Hh1KHIh/RZLENut5X4VLU6wFLqMaqW7wiED5
oAAwBQYDK2VwA0EAhfRVmnN50lqtNntw/8tQ2wOJdBW+pua0EjPJHLb/XYmPyjo1
ghQg5+Y9ZQqKlmOeufpkJ3dGF6VTSdvXWg5CAQAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
-----END CERTIFICATE REQUEST-----

@flihp
Copy link
Collaborator Author

flihp commented May 5, 2023

should have based this PR on origin branch

@flihp flihp closed this May 5, 2023
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.

switch from pem crate to pem-rfc7468
1 participant