DDB-1753 #5

Merged
dcherednik merged 21 commits from DDB-1753 into master 2025-03-21 13:37:34 +03:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 09ab8eb13c - Show all commits

View File

@ -33,7 +33,7 @@ class DigitalSignatureService
exec(sprintf('cp %s %s.pdf', $document->tempFileName, $document->tempFileName));
exec(sprintf('cryptcp -sign -detached -der %s', $document->tempFileName . '.pdf'));
$response = base64_encode(file_get_contents($document->tempFileName . '.sgn'));
$response = base64_encode(file_get_contents($document->tempFileName . '.pdf.sgn'));
$this->removeExistingDocumentService->removeExistingDocument($document);