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

Lost subject attributes #92

Closed

Conversation

syncsynchalt
Copy link
Contributor

Ugly workaround for #91

This allows non-standard subject elements such as "emailAddress" (sometimes aka "E") to be returned by the golang function pkix.Name.ToRDNSequence() by copying them from Names (which is not exhaustively checked by that function) to ExtraNames (which is).

Michael Driscoll added 14 commits August 27, 2018 16:40
Format for logger.Log() params is pairs of name and attribute.
Without this change, the program dies with no output.

Verify by starting the server with an invalid argument to -csrverifierexec
For example, without this change an emailAddress (oid 1.2.840.113549.1.9)
that is present in the CSR's subject will not be present in the subject
of the signed and returned certificate.
@syncsynchalt
Copy link
Contributor Author

Branched the fix from the wrong point, ignore/delete this PR, see PR#93 instead

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.

1 participant