Skip to content

Commit

Permalink
Merge pull request #26 from paulish/engine_gost
Browse files Browse the repository at this point in the history
Engine gost
  • Loading branch information
fr05t1k committed May 25, 2020
2 parents eedf29d + c2a3e20 commit 024077a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Esia/Signer/CliSignerPKCS7.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function sign(string $message): string

$this->run(
'openssl ' .
'smime -sign -binary -outform DER -noattr ' .
'smime -engine gost -sign -binary -outform DER -noattr ' .
'-signer ' . escapeshellarg($this->certPath) . ' ' .
'-inkey ' . escapeshellarg($this->privateKeyPath) . ' ' .
'-passin ' . escapeshellarg('pass:' . $this->privateKeyPassword) . ' ' .
Expand Down

0 comments on commit 024077a

Please sign in to comment.