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

Add "Parse CSR" #381

Closed
wants to merge 3 commits into from
Closed

Add "Parse CSR" #381

wants to merge 3 commits into from

Conversation

arnydo
Copy link
Contributor

@arnydo arnydo commented Oct 10, 2018

Operation to parse Certificate Signing Requests for basic information:

  • CommonName
  • Locality
  • State
  • Country
  • EmailAddress
  • Subject Alternative Names

@CLAassistant
Copy link

CLAassistant commented Oct 10, 2018

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


arnydo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Member

@d98762625 d98762625 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR, @arnydo . Could you add some test cases to cover this operation?

Country: ${csr.subject.getField("C").value}
EmailAddress: ${csr.subject.getField("E").value}
Subject Alternative Names: ${subjectAltNames.map(function (name) {
return name;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this map return benefit from some formatting? Rather than having all subjectAltNames being listed with no separator.

@n1474335
Copy link
Member

n1474335 commented Nov 7, 2018

Hi @arnydo, this looks great but I'm having trouble getting any example CSRs to parse correctly. Could you take a look and include some tests please?

@arnydo
Copy link
Contributor Author

arnydo commented Nov 12, 2018

Ah! It looks like it is expecting specific extensions to be present (subjectAltNames, etc). Ill work on adding some conditions...

@n1474335
Copy link
Member

n1474335 commented Sep 4, 2019

Hi @arnydo, are you still intending on working on this?

@arnydo
Copy link
Contributor Author

arnydo commented Oct 3, 2019

Hi @n1474335 I haven't had a chance to dig into this and if others don't seem to have a need for it then we can drop it.

@n1474335
Copy link
Member

Closed as stale

@n1474335 n1474335 closed this Mar 24, 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.

4 participants