[gnutls-devel] GnuTLS | GnuTLS accpepts a certificate wihtout subject public key (#1160)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Jan 26 02:04:03 CET 2021



GOODPWDCETCSZ created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1160



## Description of problem:
GnuTLS accpepts a certificate wihtout subject public key. However, OpenSSL, mbedTLS, wolfSSL and NSS reject it.

## Version of gnutls used:
3.5.5, 3.6.13

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu x64

## How reproducible:

Steps to Reproduce:

 * `certtool --verify --load-ca-certificate ca.pem --infile seed-0u0.pem`

## Actual results:
```
Chain verification output: Verified. The certificate is trusted. 
```

## Expected results:
The certificate is rejected.

[ca.zip](/uploads/36a5ca8cb1ebb7f2a2d80064355c50bc/ca.zip)

[seed-0u0.zip](/uploads/a064167e52e13aa8b7c30c72ab5d2844/seed-0u0.zip)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1160
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/20210126/d1469c37/attachment-0001.html>


More information about the Gnutls-devel mailing list