History log of /PHP-8.2/ext/openssl/openssl.stub.php (Results 1 – 25 of 34)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# dce0d976 25-Sep-2024 Jakub Zelenka

Fix stub for openssl_csr_new


# c8d8bf7c 25-Nov-2022 Jakub Zelenka

Merge branch 'PHP-8.1' into PHP-8.2


# 3e2184f7 22-Oct-2022 Jakub Zelenka

Fix OpenSSL conflicting merge for compilation issue with old digests

# 35e2a25d 18-Aug-2022 Jakub Zelenka

Add openssl_cipher_key_length function

This function works in exactly the same way as openssl_cipher_iv_length
but for a key length. This is especially useful to make sure that the
r

Add openssl_cipher_key_length function

This function works in exactly the same way as openssl_cipher_iv_length
but for a key length. This is especially useful to make sure that the
right key length is provided to openssl_encrypt and openssl_decrypt.

In addtion the change also updates implementation of
openssl_cipher_iv_length and adds a test for it.

show more ...

# b358834c 20-Jul-2022 Máté Kocsis

Declare ext/openssl constants in stubs (#9046)

# 342e18f1 12-Jul-2022 Tim Düsterhus

Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)

# c311ab7e 12-Apr-2022 Tim Düsterhus

Mark parameter in ext/openssl as sensitive

# 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.

# 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)

# 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

# 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 ...

# af56982a 14-Feb-2021 Máté Kocsis

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

Closes GH-6691

# 9d9bcc2b 17-Sep-2020 Máté Kocsis

Improve parameter names in ext/hash and ext/openssl

Closes GH-6156

# fa5a25b8 12-Sep-2020 Máté Kocsis

Adjust ext/openssl parameter names

Closes GH-6121

# 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 ...

# 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.

# 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>

# 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 ...

12