| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Make sure the server has started up before we try to connect to it.
|
|\ |
|
| |\ |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix bug #79983: Add support for OCB mode
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OCB mode ciphers were already exposed to openssl_encrypt/decrypt,
but misbehaved, because they were not treated as AEAD ciphers.
From that perspective, OCB should be treated the same way as GCM.
In OpenSSL 1.1 the necessary controls were unified under
EVP_CTRL_AEAD_* (and OCB is only supported since OpenSSL 1.1).
Closes GH-6337.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Allow passing $tag for non-authenticated encryption
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
openssl_encrypt() currently throws a warning if the $tag out
parameter is passed for a non-authenticated cipher. This violates
the principle that a function should behave the same if a parameter
is not passed, and if the default value is passed for the parameter.
I believe this warning should simply be dropped and the $tag be
populated with null, as is already the case. Otherwise, it is not
possible to use openssl_encrypt() in generic wrapper APIs, that are
compatible with both authenticated and non-authenticated encryption.
Closes GH-6333.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Revert "Add missing X509 purpose constants"
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 1e53e14bc31aec98a408e517c7c8493ef4bf80cd.
This fails on Travis.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Add missing X509 purpose constants
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
X509_PURPOSE_OCSP_HELPER, X509_PURPOSE_TIMESTAMP_SIGN are available
from OpenSSL for many years:
- X509_PURPOSE_OCSP_HELPER, since 2001
- X509_PURPOSE_TIMESTAMP_SIGN, since 2006
Also drop the ifdef check for X509_PURPOSE_ANY, as it is always
available in supported OpenSSL versions.
Closes GH-6312.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
Update UPGRADING
Update UPGRADING
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* PHP-7.3:
Update UPGRADING
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
|
| | |\ \
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6121
|
| | | |
| | | |
| | | |
| | | | |
Since e8e4ddce
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6025
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5999
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5111
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5958
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Closes GH-5860
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fixed bug #79881
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-5779
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The putenv trick doesn't work on ZTS Windows, so generate a new
openssl config every time.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We want to test the client side error here, so make sure the
server side can start up successfully.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
And switch tests using SAN certificates to the generator.
This is ugly, but there doesn't seem to be a more direct way
to privide SAN in PHP.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
A few additional tests have been added on master that require
lower security level.
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The certificate really doesn't matter here, but it still needs to
comply with security level...
|
| | | |
| | | |
| | | |
| | | | |
Make this test pass under security level 2.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit b281493503401a2b5c45c11fcd0498d8448998c2.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix tests regarding OpenSSL security_level
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `security_level` stream option is only available as of OpenSSL
1.1.0, so we only set it for these versions. Older OpenSSL versions
do not have security levels at all.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This migrates all the tests using ext/openssl/tests/streams_crypto_method.pem
to the certificate generator, so we can easily adjust needed parameters.
In particular, this makes the cert security level 2 compatible.
However, we still need to downgrade security_level to 1 in a number
of tests, because they are testing TLS < 1.2 connections.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes the generated certificates compatible with security
level 2, which is apparently the default on Ubuntu 20.04.
Unfortunately this does not fix all tests, because some are using
pre-generated certificates.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix #62890: default_socket_timeout=-1 causes connection to timeout
|