zcrypto icon indicating copy to clipboard operation
zcrypto copied to clipboard

Zcrypto cannot parse dnQualifier in JSON output

Open GOODPWDCETCSZ opened this issue 3 years ago • 0 comments

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

GOODPWDCETCSZ avatar Jan 26 '21 07:01 GOODPWDCETCSZ