]> git.sur5r.net Git - bacula/bacula/commitdiff
Change release digest from SHA1 to SHA256
authorKern Sibbald <kern@sibbald.com>
Thu, 9 Mar 2017 09:56:40 +0000 (10:56 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 9 Mar 2017 14:04:53 +0000 (15:04 +0100)
bacula/release/sign

index 2bdfc4527adbb11dc1c6705458654be66e2514e8..035a35c32c16b66f47fed3dc9b0d0baca1bdc3d7 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 #
-# Copyright (C) 2000-2015 Kern Sibbald
+# Copyright (C) 2000-2017 Kern Sibbald
 # License: BSD 2-Clause; see file LICENSE-FOSS
 #
 gpgkey=${gpgkey:-bacula}
-gpg --detach-sign --armor --default-key $gpgkey -o $1.sig $1
+gpg --digest-algo=SHA256 --detach-sign --armor --default-key $gpgkey -o $1.sig $1
 gpg --verify $1.sig