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 parse dnQualifier in JSON output #252

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

Zcrypto cannot parse dnQualifier in JSON output #252

GOODPWDCETCSZ opened this issue Jan 26, 2021 · 0 comments

Comments

@GOODPWDCETCSZ
Copy link

GOODPWDCETCSZ commented Jan 26, 2021

Env: Ubuntu x64

Go version: 1.13, 1.15

Reproduce: ./zcertificate seed-16s31-18s18-338s38-472s35-964s15 .pem

Expected result:

similar to the following

Issuer: C = UN, ST = NYS, O = UNGA, OU = UNSC, dnQualifier = dnQ1, DC = DC1, CN = Susan Housley1, serialNumber = serialNumber1

Actual result:

"issuer": {
    "common_name": [
      "Susan Housley1"
    ],
    "serial_number": [
      "serialNumber1"
    ],
    "country": [
      "UN"
    ],
    "province": [
      "NYS"
    ],
    "organization": [
      "UNGA"
    ],
    "organizational_unit": [
      "UNSC"
    ],
    "domain_component": [
      "DC1"
    ]
  },

Attachment

seed-16s31-18s18-338s38-472s35-964s15.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