clue / reactphp-ssh-proxy

Async SSH proxy connector and forwarder, tunnel any TCP/IP-based protocol through an SSH server, built on top of ReactPHP.
https://clue.engineering/2018/introducing-reactphp-ssh-proxy
MIT License
21 stars 7 forks source link

Mark passwords and URIs as `#[\SensitiveParameter]` (PHP 8.2+) #38

Closed SimonFrings closed 1 year ago

SimonFrings commented 1 year ago

As @clue describes in https://github.com/friends-of-reactphp/mysql/pull/162:

This changeset marks all passwords and URIs containing passwords as #[\SensitiveParameter] to avoid these parameter from potentially showing up in exception traces in PHP 8.2+. Older PHP versions are not affected by this change and continue to work as is. See also RFC: https://wiki.php.net/rfc/redact_parameters_in_back_traces

Refs #37