File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ rules global@Global{..} args = do
221221 releaseDir </> binaryPkgSignatureFileName %> \ out -> do
222222 need [out -<.> " " ]
223223 _ <- liftIO $ tryJust (guard . isDoesNotExistError) (removeFile out)
224- cmd " gpg --detach-sig --armor"
224+ cmd " gpg --detach-sig --digest-algo=sha512 -- armor"
225225 [ " -u" , gGpgKey
226226 , dropExtension out ]
227227
@@ -250,13 +250,15 @@ rules global@Global{..} args = do
250250 need [pkgFile]
251251 () <- cmd " deb-s3 upload --preserve-versions --bucket download.fpcomplete.com"
252252 [ " --sign=" ++ gGpgKey
253+ , " --gpg-options=--digest-algo=sha512"
253254 , " --prefix=" ++ dvDistro
254255 , " --codename=" ++ dvCodeName
255256 , pkgFile ]
256257 -- Also upload to the old, incorrect location for people who still have their systems
257258 -- configured with it.
258259 () <- cmd " deb-s3 upload --preserve-versions --bucket download.fpcomplete.com"
259260 [ " --sign=" ++ gGpgKey
261+ , " --gpg-options=--digest-algo=sha512"
260262 , " --prefix=" ++ dvDistro ++ " /" ++ dvCodeName
261263 , pkgFile ]
262264 copyFileChanged pkgFile out
You can’t perform that action at this time.
0 commit comments