Repository navigation
Releases
1.4.3: se7enxweb/expcomponents-authentication, Exponential's fork of Zeta Components Authentication
se7enxweb/expcomponents-authentication 1.4.3 is Exponential's fork of Zeta Components Authentication. Install: composer require se7enxweb/expcomponents-authentication:~1.4.3
Changes
-
Fixed: The LDAP filter escapes the username in the search filter, so a
username can no longer change the LDAP query (pull request #1). -
Fixed: The session ID is regenerated when a user is authenticated or the
authenticated user changes, against session fixation; regenerateId()
returns whether it could regenerate (no active session or headers already
sent: it does nothing) (pull request #2). -
Fixed: The htpasswd filter compares the password in constant time
(pull request #4). -
Fixed: Authentication fails when no filter was added or a group of filters
is empty (pull request #3).BEHAVIOUR CHANGE: ezcAuthentication::run() without any filter, and an
ezcAuthenticationGroupFilter without filters, used to succeed (fail open).
They now fail (fail closed). Code that relied on an empty filter list to
let every request through must add the filter it means. The Exponential
kernel's REST authentication always adds its filter and is not affected.
Verified
Test suite on PHP 7.4, 8.0 and 8.5 on the node (252 tests, 228 on 1.4.2; the only failures are four unwritable-file tests that fail as root, as on 1.4.2); GitHub Actions (CI and Tests) green on the release commit. The Exponential kernel's REST authentication always adds a filter, so the fail-closed change does not affect it.
1.4.2: se7enxweb/expcomponents-authentication, Exponential's fork of Zeta Components Authentication
se7enxweb/expcomponents-authentication 1.4.2 is Exponential's fork of Zeta Components Authentication (zetacomponents/authentication), maintained by 7x and the Exponential Foundation under the Apache License 2.0. It replaces zetacomponents/authentication; the class names (ezc*) and the API are unchanged.
Install: composer require se7enxweb/expcomponents-authentication:~1.4.2
Changes
- Renamed: The package is se7enxweb/expcomponents-authentication, Exponential's
maintained fork of Zeta Components Authentication. It replaces zetacomponents/authentication,
so packages that require zetacomponents/authentication keep working. Class names
(ezc*) are unchanged. - Updated: Requirements on other Zeta Components point to their Exponential
forks (se7enxweb/expcomponents-base), which replace the upstream packages. - Updated: composer.json states the license (Apache-2.0) and the PHP
versions; the component is tested on PHP 7.4 to 8.5. - Added: NOTICE keeps the upstream copyright notices and names the fork;
README.md describes the fork. - Added: A GitHub Actions workflow running the test suite on PHP 7.4 to 8.5.