Skip to content

Commit bbd97ec

Browse files
committed
chore: add back the comment
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 0386342 commit bbd97ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Service/Install/SignSetupService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ private function createSignatureData(array $hashes): array {
534534
$privateKey = $this->getPrivateKey();
535535
$privateKey->withPadding(RSA::SIGNATURE_PSS);
536536
$privateKey->withMGFHash('sha512');
537+
// See https://tools.ietf.org/html/rfc3447#page-38
537538
$privateKey->withSaltLength(0);
538539
$signature = $privateKey->sign(json_encode($hashes));
539540

0 commit comments

Comments
 (0)