Commit 4a8843ca by sikang

获取秘钥散列

parent 97b6328b
...@@ -20,6 +20,7 @@ echo "17、给GP图片添加水印" ...@@ -20,6 +20,7 @@ echo "17、给GP图片添加水印"
echo "18、加固" echo "18、加固"
echo "19、混淆api" echo "19、混淆api"
echo "20、更新GP状态" echo "20、更新GP状态"
echo "21、获取签名秘钥散列"
echo -n "请输入指令编号:" echo -n "请输入指令编号:"
read commod read commod
...@@ -158,6 +159,13 @@ then ...@@ -158,6 +159,13 @@ then
./refresh_gponline.sh ./refresh_gponline.sh
fi fi
elif (($commod == '21'))
then
cd ../../
. gradle.properties
keytool -exportcert -alias ${signing_keyAlias} -keystore "app/${signing_certificate}" -keypass "${signing_keyAlias}" -storepass "${signing_keyAlias}" | openssl sha1 -binary | openssl base64
elif (($commod == '10000')) elif (($commod == '10000'))
then then
cd .. cd ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment