|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70439 Deprecate default method for openssl_seal and openssl_open
Submitted: 2015-09-06 17:27 UTC Modified: 2015-09-06 17:28 UTC
Avg. Score:4.0 ± 0.8
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: Assigned: bukka (profile)
Status: Assigned Package: OpenSSL related
PHP Version: Next Minor Version OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2015-09-06 17:27 UTC]
The default method for openssl_seal and openssl_open is RC4 which is a weak cipher. For that reason, user should always choose a cipher algorithm (method parameter) explicitly.

The request is to deprecate calling openssl_seal and openssl_open without and method argument (deprecate error message will be printed if the user doesn't supply a method parameter). The method parameter will be then made required in the next major version.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-06 17:28 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: bukka
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 22 17:01:23 2020 UTC