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

Zcrypto cannot represent the extension Subject Information Access in JSON output #247

Open
GOODPWDCETCSZ opened this issue Jan 25, 2021 · 0 comments

Comments

@GOODPWDCETCSZ
Copy link

Env: Ubuntu x64

Go version: 1.13, 1.15

Reproduce: ./zcertificate seed-7s35-9s14-37s37-55s29-750s39.pem

Expected result: the extension Subject Information Access is displayed correctly instead of "unkown extension"

Actual result:

"unknown_extensions": [
...
{
"id": "1.3.6.1.5.5.7.1.11",
"critical": true,
"value": "MHkwHwYIKwYBBQUHMAGGE2xkYXA6Ly9odHRwOi91bi5vcmcwLwYIKwYBBQUHMAKGI2h0dHBzOi8vd3d3LmNhLWlzc3Vlci5jb20vY2EtaXNzdWVyMCUGCCsGAQUFBzABhhlodHRwczovL29jc3AuY29tL29jc3AuZXh0"
},
...
],

openssl asn1parse -genstr OID:1.3.6.1.5.5.7.1.11 0:d=0 hl=2 l= 8 prim: OBJECT :Subject Information Access

Attachment

seed-7s35-9s14-37s37-55s29-750s39.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants