This commit is contained in:
the-djmaze 2022-10-21 12:48:33 +02:00
parent cbafa55450
commit bcf63b6700
11 changed files with 40 additions and 36 deletions

View file

@ -37,4 +37,7 @@ $nc_tar->compress(Phar::GZ);
unlink($nc_destination);
$nc_destination .= '.gz';
$signature = shell_exec("openssl dgst -sha512 -sign ~/.nextcloud/certificates/snappymail.key {$nc_destination} | openssl base64");
file_put_contents($nc_destination.'.sig', $signature);
echo "{$nc_destination} created\n";