Req #76043 [Fbk->Csd]: Support creating password protected archives

From: Date: Tue, 06 Mar 2018 13:35:07 +0000
Subject: Req #76043 [Fbk->Csd]: Support creating password protected archives
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214224@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76043&edit=1 ID: 76043 Updated by: cweiske@php.net Reported by: cweiske@php.net Summary: Support creating password protected archives -Status: Feedback +Status: Closed Type: Feature/Change Request Package: Zip Related PHP Version: 7.2.3 Assigned To: cmb Block user comment: N Private report: N New Comment: Yes, it's already there. Sorry for the noise and thanks. Previous Comments: ------------------------------------------------------------------------ [2018-03-02 19:10:01] 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-02 08:57:12] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76043&edit=1

« previous php.bugs (#214224) next »