[gnutls-devel] GnuTLS | GnuTLS does not correctly recognize policies in the extension certificate policies (#992)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun May 17 23:20:38 CEST 2020




Dmitry Baryshkov commented:


Provided file contains an extension which we believe is incorrect. Certificate Policies extension (2.5.29.32) uses IA5String with an embedded NUL character. This is reported by certtool:

> error: certificate policies import: The provided string has an embedded null.

dumpasn1 tool also reports this error. Closing as invalid.


```
604  82:               SEQUENCE {
606  12:                 OBJECT IDENTIFIER '1 3 6 1 4 1 311 76 509 1 1'
620  66:                 SEQUENCE {
622  64:                   SEQUENCE {
624   8:                     OBJECT IDENTIFIER cps (1 3 6 1 5 5 7 2 1)
634  52:                     IA5String
       :                   'http://www.microsoft.com/pkiops/Docs/Repository.'
       :                   'htm.'
       :                   Error: IA5String contains illegal character(s).
       :                     }
       :                   }
       :                 }
       :               }
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/992#note_344018650
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200517/bcc666a8/attachment.html>


More information about the Gnutls-devel mailing list