Skip to content

Commit 44d1ab8

Browse files
committed
fix: unit test
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 95caa3b commit 44d1ab8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/Service/Install/SignSetupService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ private function validateIfIssignedByLibresignAppCertificate(array $expectedHash
388388
$x509 = $this->getLibresignAppCertificate();
389389

390390
// Check if the signature of the files is valid
391-
$rsa = $x509->getPublicKey();
391+
$rsa = $x509->getPublicKey()
392+
->withPadding(RSA::SIGNATURE_PSS);
392393

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

0 commit comments

Comments
 (0)