Specify digest algorithm SHA256
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 May 2017 11:56:49 +0000 (11:56 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 8 May 2017 11:56:49 +0000 (11:56 +0000)
update-archive/update-archive.sh

index 6df2794..96bdb6a 100755 (executable)
@@ -199,7 +199,7 @@ for vdist in $DISTRIBUTIONS ; do
                        mv tmp_Release $r
                fi
                rm -f ${r}.gpg
-               gpg --sign -u "Index Data" -ba -o ${r}.gpg $r
+               gpg -v --sign --cert-digest-algo SHA256 --digest-algo SHA256 -u "Index Data" -ba -o ${r}.gpg $r
        fi
 done
 # Local Variables: