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

Trouble while trying to create a Ecc CSR #52

Closed
ranbeuer opened this issue Oct 17, 2020 · 3 comments
Closed

Trouble while trying to create a Ecc CSR #52

ranbeuer opened this issue Oct 17, 2020 · 3 comments

Comments

@ranbeuer
Copy link

I'm trying to create a Ecc CSR while using the UID parameter, but I get the message that it's not supported yet. Will this be supported in a later release?

@TMSantos
Copy link
Contributor

same problem, any update?

@TMSantos
Copy link
Contributor

TMSantos commented Oct 26, 2021

@ranbeuer adding:

{ 'identifierString': '0.9.2342.19200300.100.1.1', 'readableName': 'UID', 'identifier': [0, 9, 2342, 19200300, 100, 1, 1] }

to https://github.com/bcgit/pc-dart/blob/master/lib/asn1/object_identifiers.dart , fixes the issue.

What you can do untill the lib is updated is adding:
pointycastle: git: url: https://github.com/TMSantos/pc-dart.git

to your dependencies (I forked and fixed) and override pointycastle versions:

dependency_overrides: pointycastle: git: url: https://github.com/TMSantos/pc-dart.git

@TMSantos
Copy link
Contributor

Example pem generated: (UID is present)
Screenshot 2021-10-26 at 10 45 27

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

No branches or pull requests

3 participants