├── .gitignore ├── LICENSE ├── PharUtil ├── RemotePharVerifier.php └── SignatureVerificationException.php ├── README.md ├── example ├── .gitignore ├── README ├── build │ └── keep_me ├── cert │ └── README ├── local.php ├── remote.php ├── src │ ├── index.php │ ├── subdir │ │ ├── index.php │ │ ├── src │ │ │ └── this_should_be_here │ │ └── subsub │ │ │ └── index.php │ └── test.php ├── tmp │ └── keep_me └── verified │ └── keep_me ├── package.xml ├── phar-build.bat ├── phar-build.php ├── phar-extract.bat ├── phar-extract.php ├── phar-file-checksums.bat ├── phar-file-checksums.php ├── phar-generate-cert.bat ├── phar-generate-cert.php ├── phar-verify.bat ├── phar-verify.php └── test └── PharUtil ├── RemotePharVerifierTest.php └── data ├── cert ├── priv.pem ├── pub.pem └── trash.pem └── phar ├── modified.phar ├── nosig.phar ├── nosigmodified.phar ├── test.phar ├── test.phar.gz └── wrongsig.phar /.gitignore: -------------------------------------------------------------------------------- 1 | PharUtil*.tgz 2 | .* -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/LICENSE -------------------------------------------------------------------------------- /PharUtil/RemotePharVerifier.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/PharUtil/RemotePharVerifier.php -------------------------------------------------------------------------------- /PharUtil/SignatureVerificationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/PharUtil/SignatureVerificationException.php -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/README.md -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | *.pem 2 | *.phar* 3 | *.json -------------------------------------------------------------------------------- /example/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/README -------------------------------------------------------------------------------- /example/build/keep_me: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/cert/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/cert/README -------------------------------------------------------------------------------- /example/local.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/local.php -------------------------------------------------------------------------------- /example/remote.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/remote.php -------------------------------------------------------------------------------- /example/src/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/src/index.php -------------------------------------------------------------------------------- /example/src/subdir/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/src/subdir/index.php -------------------------------------------------------------------------------- /example/src/subdir/src/this_should_be_here: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/src/subdir/subsub/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/src/subdir/subsub/index.php -------------------------------------------------------------------------------- /example/src/test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/example/src/test.php -------------------------------------------------------------------------------- /example/tmp/keep_me: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/verified/keep_me: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /package.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/package.xml -------------------------------------------------------------------------------- /phar-build.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-build.bat -------------------------------------------------------------------------------- /phar-build.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-build.php -------------------------------------------------------------------------------- /phar-extract.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-extract.bat -------------------------------------------------------------------------------- /phar-extract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-extract.php -------------------------------------------------------------------------------- /phar-file-checksums.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-file-checksums.bat -------------------------------------------------------------------------------- /phar-file-checksums.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-file-checksums.php -------------------------------------------------------------------------------- /phar-generate-cert.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-generate-cert.bat -------------------------------------------------------------------------------- /phar-generate-cert.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-generate-cert.php -------------------------------------------------------------------------------- /phar-verify.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-verify.bat -------------------------------------------------------------------------------- /phar-verify.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/phar-verify.php -------------------------------------------------------------------------------- /test/PharUtil/RemotePharVerifierTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/RemotePharVerifierTest.php -------------------------------------------------------------------------------- /test/PharUtil/data/cert/priv.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/cert/priv.pem -------------------------------------------------------------------------------- /test/PharUtil/data/cert/pub.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/cert/pub.pem -------------------------------------------------------------------------------- /test/PharUtil/data/cert/trash.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/cert/trash.pem -------------------------------------------------------------------------------- /test/PharUtil/data/phar/modified.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/phar/modified.phar -------------------------------------------------------------------------------- /test/PharUtil/data/phar/nosig.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/phar/nosig.phar -------------------------------------------------------------------------------- /test/PharUtil/data/phar/nosigmodified.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/phar/nosigmodified.phar -------------------------------------------------------------------------------- /test/PharUtil/data/phar/test.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/phar/test.phar -------------------------------------------------------------------------------- /test/PharUtil/data/phar/test.phar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/phar/test.phar.gz -------------------------------------------------------------------------------- /test/PharUtil/data/phar/wrongsig.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koto/phar-util/HEAD/test/PharUtil/data/phar/wrongsig.phar --------------------------------------------------------------------------------