Skip to content

Commit

Permalink
Déchiffrement du fichier original pour la première fois
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Sep 17, 2024
1 parent a23e39d commit 5b7bd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDFSignature.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function compile() {
}
$currentSignedFile = $signedFile;
}
copy($currentSignedFile, $this->pathHash.'/final.pdf');
copy($this->getDecryptFile($currentSignedFile), $this->pathHash.'/final.pdf');

if($this->isEncrypted()) {
$this->gpg->encrypt();
Expand Down

0 comments on commit 5b7bd51

Please sign in to comment.