postprocess/signing/signing.pl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ae434ccb4878ed49f19be578e4935f50196b6b78
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Wed Aug 3 10:02:46 2022 +0200
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Wed Aug 3 11:05:40 2022 +0200

    windows signing: use sha256 (instead of the default sha1)
    
    will be enforced in e.g. microsoft store later this year...
    
    Change-Id: Ifa7f98d5c72bd7c7f602dc54ba8e16f7470dc3d4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137738
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/postprocess/signing/signing.pl b/postprocess/signing/signing.pl
index ed8065399f05..793900ca074c 100644
--- a/postprocess/signing/signing.pl
+++ b/postprocess/signing/signing.pl
@@ -147,9 +147,10 @@ sub sign_files      #09.07.2007 10:36
     }
     $signtool .= " -v" if ($opt_verbose);
     $commandline_base = $signtool;
+    $commandline_base .= " -fd sha256 -td sha256";
     $commandline_base .= " -f $opt_pfxfile" if ($opt_pfxfile ne "");
     $commandline_base .= " -p $opt_pass" if ($opt_pass ne "");
-    $commandline_base .= " -t $opt_timestamp_url" if ($opt_timestamp_url ne 
"");
+    $commandline_base .= " -tr $opt_timestamp_url" if ($opt_timestamp_url ne 
"");
     $commandline_base .= " -d \"$opt_desc\"" if ($opt_desc ne "");
 
     # Here switch between:

Reply via email to