Skip to content

Commit 7138107

Browse files
committed
fix: unit test
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 4daa2f2 commit 7138107

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/Service/Install/SignSetupService.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,6 @@ private function validateIfIssignedByLibresignAppCertificate(array $expectedHash
389389

390390
// Check if the signature of the files is valid
391391
$rsa = $x509->getPublicKey();
392-
$rsa->withPadding(RSA::SIGNATURE_PSS);
393-
$rsa->withMGFHash('sha512');
394-
// See https://tools.ietf.org/html/rfc3447#page-38
395-
$rsa->withSaltLength(0);
396392

397393
$signatureData = $this->getSignatureData();
398394
$signature = base64_decode((string)$signatureData['signature']);

0 commit comments

Comments
 (0)