Skip to content

Commit 7e7b14b

Browse files
committed
do not check strictly (valid CA is enough)
1 parent a5791ed commit 7e7b14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zscanner-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ while NEXT_SLEEP=$(( $NEXT_SLEEP > $MAX_SLEEP ? $MAX_SLEEP : $NEXT_SLEEP ));
4444
echo "New version downloaded, verifying..." >&2
4545
ls -l "$ZSCANNER_JAR_DIR/zscanner-new.jar"
4646
echo "Checksum: $NEW_VERSION_CHECKSUM"
47-
if jarsigner -verify -keystore signing-ca.keystore -storetype pkcs12 -storepass password "$ZSCANNER_JAR_DIR/zscanner-new.jar" -strict; then
47+
if jarsigner -verify -keystore signing-ca.keystore -storetype pkcs12 -storepass password "$ZSCANNER_JAR_DIR/zscanner-new.jar"; then
4848
echo "New version downloaded, installing..." >&2
4949
mv -f "$ZSCANNER_JAR_DIR/zscanner-new.jar" "$ZSCANNER_JAR_DIR/zscanner.jar"
5050
echo "New version installed." >&2

0 commit comments

Comments
 (0)