浏览代码

Add todo for signed phars

Kirill chEbba Chebunin 13 年之前
父节点
当前提交
6c4440d0e9
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      src/Composer/Downloader/PharDownloader.php

+ 5 - 0
src/Composer/Downloader/PharDownloader.php

@@ -29,5 +29,10 @@ class PharDownloader extends FileDownloader
         // Can throw an UnexpectedValueException
         $archive = new \Phar($file);
         $archive->extractTo($path);
+        /* TODO: handle openssl signed phars
+         * https://github.com/composer/composer/pull/33#issuecomment-2250768
+         * https://github.com/koto/phar-util
+         * http://blog.kotowicz.net/2010/08/hardening-php-how-to-securely-include.html
+         */
     }
 }