]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.release.sign: switch SignTool to sha256
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Jan 2023 02:38:47 +0000 (18:38 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Jan 2023 02:38:47 +0000 (18:38 -0800)
extra/mason/release/sign/sign.factor

index 3c82ca944a240abdb89a9db64b7d643c1ec25497..4956417858543348520fe2707400afd9a00b743a 100644 (file)
@@ -28,7 +28,7 @@ HOOK: sign-factor-app os ( -- )
 
 M: object sign-factor-app ;
 
-M:: macosx sign-factor-app ( -- )
+M: macosx sign-factor-app
     ${
         "codesign" "--force" "--sign"
         "Developer ID Application"
@@ -42,7 +42,7 @@ M:: windows sign-factor-app ( -- )
         [
             ${
                 "signtool" "sign"
-                "/fd" "sha1" ! maybe upgrade to sha256?
+                "/fd" "sha256"
                 "/v"
                 "/f" cert-path
             }
@@ -56,7 +56,7 @@ M: object sign-archive drop ;
 ! Sign the .dmg on macOS as well to avoid Gatekeeper marking
 ! the xattrs as quarantined.
 ! https://github.com/factor/factor/issues/1896
-M: macosx sign-archive ( path -- )
+M: macosx sign-archive
     ${
         "codesign" "--force" "--sign"
         "Developer ID Application"