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

New commits:
commit 7178c09c23d962da7b3368555fac628caddff36c
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Wed Aug 3 10:02:46 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Aug 8 11:22:17 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>
    (cherry picked from commit cedfcb7e7f7da394c8a2a6d802dd2f4db42c2dfc)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137720
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    (cherry picked from commit dbabf7184e976d696a475a313fe57cd83e3d2e41)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137815
    Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Xisco Fauli <xiscofa...@libreoffice.org>

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