php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76043 Support creating password protected archives
Submitted: 2018-03-02 08:57 UTC Modified: 2018-03-06 13:35 UTC
From: cweiske@php.net Assigned: cmb (profile)
Status: Closed Package: Zip Related
PHP Version: 7.2.3 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cweiske@php.net
New email:
PHP Version: OS:

 

 [2018-03-02 08:57 UTC] cweiske@php.net
Description:
------------
The password set via ZipArchive::setPassword() is currently only used when reading from Zip archives, not when creating new archives.

It would be nice if I was able to create password protected zip archives.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-03-02 19:10 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-03-02 19:10 UTC] cmb@php.net
It seems to me that is possible as of PHP 7.2.0 via
<http://www.php.net/manual/en/ziparchive.setencryptionname.php>.
 [2018-03-06 13:35 UTC] cweiske@php.net
-Status: Feedback +Status: Closed
 [2018-03-06 13:35 UTC] cweiske@php.net
Yes, it's already there. Sorry for the noise and thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 08:01:28 2024 UTC