rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ding...@apache.org
Subject svn commit: r33319 - /dev/rocketmq/sign.sh
Date Fri, 29 Mar 2019 02:55:33 GMT
Author: dinglei
Date: Fri Mar 29 02:55:33 2019
New Revision: 33319

Log:
Change SHA512 sign method to using gpg tools

Modified:
    dev/rocketmq/sign.sh

Modified: dev/rocketmq/sign.sh
==============================================================================
--- dev/rocketmq/sign.sh (original)
+++ dev/rocketmq/sign.sh Fri Mar 29 02:55:33 2019
@@ -3,5 +3,6 @@ if [ $# -lt 1 ]; then
     exit -1
 fi
 file=$1
-shasum -a 512 $file|awk '{print $1}' > $file.sha512
+#shasum -a 512 $file|awk '{print $1}' > $file.sha512
+gpg --print-md SHA512 $file > $file.sha512
 gpg -ab $file



Mime
View raw message