[php-src] PR #12499: Fix #50713: openssl_pkcs7_verify() may ignore untrusted CAs
| From: | bukka | Date: | Mon, 23 Oct 2023 13:09:38 +0000 |
| Subject: | [php-src] PR #12499: Fix #50713: openssl_pkcs7_verify() may ignore untrusted CAs | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23976@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12499
Author: bukka
The signers were not correctly retrieved if additional (untrusted) certs were used as they were not
used for retrieving the signers. The main part of this work was to create a properly verified certs
tests. The sign operation does not include the cert in envelope so it is passed explicitly (main use
case for untrusted certs). Before the function would return -1 and empty signers file. This is now
fixed.