diff options
| author | Jakub Zelenka <bukka@php.net> | 2020-06-07 21:11:09 +0100 |
|---|---|---|
| committer | Jakub Zelenka <bukka@php.net> | 2020-06-07 21:11:09 +0100 |
| commit | 367c55ff1d3d14893bc319bff723d74f75486756 (patch) | |
| tree | c764825db926afcdd4f00a2e34c1bad526b7be26 | |
| parent | 8583b8a9bf658a9058e7796513f8cf576d66e48b (diff) | |
| download | php-git-367c55ff1d3d14893bc319bff723d74f75486756.tar.gz | |
Update NEWS and UPGRADING for the OpenSSL ext CMS addition
| -rw-r--r-- | NEWS | 3 | ||||
| -rw-r--r-- | UPGRADING | 19 |
2 files changed, 22 insertions, 0 deletions
@@ -102,6 +102,9 @@ PHP NEWS . Fixed bug #79665 (ini_get() and opcache_get_configuration() inconsistency). (cmb) +- OpenSSL: + . Added Cryptographic Message Syntax (CMS) support. (Eliot Lear) + - PCRE: . Don't ignore invalid escape sequences. (sjon) @@ -546,6 +546,13 @@ PHP 8.0 UPGRADE NOTES compile-time warnings and replay them on the next include, even if it is served from cache. +- OpenSSL: + . Added Cryptographic Message Syntax (CMS) (RFC 5652) support composed of + functions for encryption, decryption, signing, verifying and reading. The + API is similar to the API for PKCS #7 functions with an addition of new + encoding constants: OPENSSL_ENCODING_DER, OPENSSL_ENCODING_SMIME and + OPENSSL_ENCODING_PEM. + - Standard: . printf() and friends how support the %h and %H format specifiers. These are the same as %g and %G, but always use "." as the decimal separator, @@ -650,6 +657,18 @@ PHP 8.0 UPGRADE NOTES . Added get_resource_id($resource) function, which returns the same value as (int) $resource. It provides the same functionality under a clearer API. +- OpenSSL: + . Added openssl_cms_encrypt() encrypts the message in the file with the + certificates and outputs the result to the supplied file. + . Added openssl_cms_decrypt() that decrypts the S/MIME message in the file + and outputs the results to the supplied file. + . Added openssl_cms_read() that exports the CMS file to an array of PEM + certificates. + . Added openssl_cms_sign() that signs the MIME message in the file with + a cert and key and output the result to the supplied file. + . Added openssl_cms_verify() that verifies that the data block is intact, + the signer is who they say they are, and returns the certs of the signers. + - PCRE: . Added preg_last_error_msg(), which returns a human-readable message for the last PCRE error. It complements preg_last_error(), which returns an |
