Add gpg sign flag
This commit is contained in:
parent
dda155ee81
commit
d04a9bece6
|
@ -113,7 +113,7 @@ function create_text_file($cfg, $body) {
|
|||
file_put_contents($file_path, $line, FILE_APPEND);
|
||||
}
|
||||
file_put_contents($file_path, "\n\n\n", FILE_APPEND);
|
||||
shell_exec("gpg " . $file_path);
|
||||
shell_exec("gpg --sign " . $file_path);
|
||||
sync_command($cfg, $file_path);
|
||||
return trim(shell_exec("/usr/bin/sha256sum " . $file_path. " | awk '{ print $1 }'"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue