SHA256 of signed result
This commit is contained in:
parent
9e2e8dadce
commit
1f0bdb13e2
|
@ -113,7 +113,7 @@ function create_text_file($cfg, $body) {
|
|||
if (strlen($cfg["export"]["synccmd"]) > 0) {
|
||||
shell_exec($cfg["export"]["synccmd"]);
|
||||
}
|
||||
return trim(shell_exec("/usr/bin/sha256sum " . $file_path. " | awk '{ print $1 }'"));
|
||||
return trim(shell_exec("/usr/bin/sha256sum " . $file_path. ".asc | awk '{ print $1 }'"));
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue