History log of /PHP-8.1/ext/openssl/openssl.stub.php (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1
# c8218867 13-Apr-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix openssl_csr_export() stub


# 16bf8331 13-Apr-2022 Mikko Pesari

Fix openssl_csr_export() stub

Closes GH-8362.

Revision tags: php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32
# 7f0d3f54 08-Oct-2021 Nikita Popov

Fixed bug #81502

Allow $tag to be null. This is the value that openssl_encrypt()
sets it to for non-AEAD ciphers, so we should also accept this
as an input to openssl_decrypt().

Fixed bug #81502

Allow $tag to be null. This is the value that openssl_encrypt()
sets it to for non-AEAD ciphers, so we should also accept this
as an input to openssl_decrypt().

Prior to PHP 8.1, null was accepted in weak mode due to the special
treatment of null arguments to internal functions.

show more ...

# d9e5e630 07-Oct-2021 Máté Kocsis

Add more specific array return type hints for various extensions - part 6 (#7474)

Revision tags: php-7.3.31, php-7.3.30
# 7b34db06 10-Aug-2021 Nikita Popov

Switch default PKCS7/CMS cipher to AES-128-CBC

Switch default cipher for openssl_pkcs7_encrypt() and
openssl_cms_encrypt() from RC2-40 to AES-128-CBC.

The RC2-40 cipher is consi

Switch default PKCS7/CMS cipher to AES-128-CBC

Switch default cipher for openssl_pkcs7_encrypt() and
openssl_cms_encrypt() from RC2-40 to AES-128-CBC.

The RC2-40 cipher is considered insecure and is not loaded by
default in OpenSSL 3, which means that these functions will
always fail with default arguments.

As the used algorithm is embedded in the result (which makes this
different from the openssl_encrypt() case) changing the default
algorithm should be safe.

Closes GH-7357.

show more ...

# 570d9b63 20-Jul-2021 Joe Watkins

Not serializable flag permeation

# fc0d8983 19-Jul-2021 Máté Kocsis

Fix some smaller formatting inconsistencies in stubs

Revision tags: php-7.3.29
# c15dc63a 05-May-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
openssl_pkcs7_read: input is data not filename


# bb0107b6 04-May-2021 Vincent JARDIN

openssl_pkcs7_read: input is data not filename

The argument should be an input string and not a filename.

Fix: https://github.com/php/doc-en/pull/559
Suggested-by: George Peter

openssl_pkcs7_read: input is data not filename

The argument should be an input string and not a filename.

Fix: https://github.com/php/doc-en/pull/559
Suggested-by: George Peter Banyard <girgias@php.net>

Closes GH-6942.

show more ...

Revision tags: php-7.3.28
# af56982a 14-Feb-2021 Máté Kocsis

Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql

Closes GH-6691

Revision tags: php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23
# 9d9bcc2b 17-Sep-2020 Máté Kocsis

Improve parameter names in ext/hash and ext/openssl

Closes GH-6156

Revision tags: php-7.3.23RC1
# fa5a25b8 12-Sep-2020 Máté Kocsis

Adjust ext/openssl parameter names

Closes GH-6121

Revision tags: php-7.3.22
# e8e4ddce 20-Aug-2020 Máté Kocsis

Improve parameter handling in ext/openssl

Closes GH-6025

# 3e149427 08-Sep-2020 Nikita Popov

Require $method parameter in openssl_seal/openssl_open

RC4 is considered insecure, and it's not possible to change the
default of these functions. As such, require the method to be
p

Require $method parameter in openssl_seal/openssl_open

RC4 is considered insecure, and it's not possible to change the
default of these functions. As such, require the method to be
passed explicitly.

Closes GH-6093.

show more ...

Revision tags: php-7.3.22RC1
# ca20f36b 14-Aug-2020 Nikita Popov

Fix types in openssl stub

These two $recipcert parameters don't use proper union types
right now. They are a bit tricky due to the $recipkey -> $recipcert
fallback.

Revision tags: php-7.3.21
# bdacd2ae 01-Aug-2020 Máté Kocsis

Add a few missing types to stubs

# 9f44eca6 01-Aug-2020 Máté Kocsis

Convert resources to objects in ext/openssl

Closes GH-5860

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

Revision tags: php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1, php-7.2.30, php-7.3.17, php-7.3.17RC1, php-7.3.18, php-7.3.16
# 8583b8a9 09-Mar-2020 Eliot Lear

Add support for Cryptographic Message Syntax (CMS)

It add CMS (RFC 5652) support, which is an update to PKCS7. The functions
are analogous BUT NOT IDENTICAL to openssl_pkcs7*. In parti

Add support for Cryptographic Message Syntax (CMS)

It add CMS (RFC 5652) support, which is an update to PKCS7. The functions
are analogous BUT NOT IDENTICAL to openssl_pkcs7*. In particular, support for
different encodings (PEM, DER, SMIME) is now available.

show more ...

# 21cfa03f 05-Apr-2020 Máté Kocsis

Generate function entries for another batch of extensions

Closes GH-5352

# a43bc33f 04-Apr-2020 Máté Kocsis

Annotate function aliases in stubs

Revision tags: php-7.3.16RC1
# 736b22dc 18-Feb-2020 Máté Kocsis

Add stubs for aliases

Closes GH-5187

# 7d0102df 17-Feb-2020 Christoph M. Becker

Revert "Replace @param annotations with type declarations"

This reverts commit c31029f335ca1b453af799805c43c37e959ad555.

# c31029f3 16-Feb-2020 Christoph M. Becker

Replace @param annotations with type declarations

Revision tags: php-7.3.15RC1, php-7.3.15, php-7.3.14, php-7.3.14RC1, php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs

Revision tags: php-7.3.12RC1, php-7.2.25RC1
# 5dd5f1bc 01-Nov-2019 Christoph M. Becker

Finish OpenSSL arginfo stubs

12