SHA256 of signed result

This commit is contained in:
Sven Seeberg 2020-10-29 17:51:49 +01:00
parent 9e2e8dadce
commit 1f0bdb13e2
Signed by: sven.seeberg
GPG key ID: 29559DD5A83806B5

View file

@ -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 }'"));
}
?>