Skip to content

Commit c2b4a8b

Browse files
committed
do not force a SHA512 signature in make-phar.php
1 parent 741f13a commit c2b4a8b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

utils/make-phar.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ function set_file_contents( $phar, $path, $content ) {
5353

5454
$phar = new Phar( DEST_PATH, 0, 'wp-cli.phar' );
5555

56-
$phar->setSignatureAlgorithm( Phar::SHA512 );
57-
5856
$phar->startBuffering();
5957

6058
// PHP files
@@ -114,6 +112,3 @@ function set_file_contents( $phar, $path, $content ) {
114112
$phar->stopBuffering();
115113

116114
echo "Generated " . DEST_PATH . "\n";
117-
118-
$signature = $phar->getSignature();
119-
echo "{$signature['hash_type']} signature: {$signature['hash']}\n";

0 commit comments

Comments
 (0)