-
Notifications
You must be signed in to change notification settings - Fork 129
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
Missing support for emailAddress as subject for CSR #460
Comments
RFC 4514 unfortunately does not define I know it's not as clear as |
Just to confirm, because I stumbled across the same exact issue today. And an hour's worth of Goolging 4514 never came up with a clear answer. Does the current version of ykman support specifying the OID for email? If so, what is the syntax for specifying OIDs; I've looked at Yubikey's docs for PIV and I can't seem to find any info on this. |
Yes, the current version (5.0.0) supports this, using the syntax I provided in the last comment. The RFC itself can be found here: https://www.ietf.org/rfc/rfc4514.txt Here's a full example of the syntax, showing the result using openssl:
|
Steps to reproduce
Create new CSR with ykam for S/MINE
This will error with
Unsupported attribute: 'emailAddress'
Expected result
A CSR with an emailAddress attribute in the subject
Actual results and logs
Error:
Unsupported attribute: 'emailAddress'
Other info
I like to use the Yubikey Manager to let users create an CSR for X.509 based certificates to use with S/MINE.
Of cource this needs the
emailAddress
as attribute in the subject. This is currently not supported by ykman.The text was updated successfully, but these errors were encountered: