Skip to content

Commit fb7a07d

Browse files
committed
fix: set PSS as default
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 44d1ab8 commit fb7a07d

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
@@ -528,7 +528,8 @@ private function isExcluded(string $filename): bool {
528528
private function createSignatureData(array $hashes): array {
529529
ksort($hashes);
530530

531-
$privateKey = $this->getPrivateKey();
531+
$privateKey = $this->getPrivateKey()
532+
->withPadding(RSA::SIGNATURE_PSS);
532533
$signature = $privateKey->sign(json_encode($hashes));
533534

534535
return [

0 commit comments

Comments
 (0)