You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error "checksum verification failed for CDN download (checksums.txt missing or entry not found). Refusing to install.\nSet FLOW_INSTALL_INSECURE=1 to bypass (not recommended)."
305
+
else
306
+
info "flow: warning: checksum not verified (checksums.txt missing or entry not found; legacy release?)"
307
+
expected=""
308
+
fi
309
+
fi
281
310
if [ -n"${expected:-}" ];then
282
311
debug "flow: verifying checksum..."
283
312
actual="$($shasum"$tarball"| awk '{print $1}')"
@@ -286,8 +315,12 @@ install_flow() {
286
315
error "checksum mismatch"
287
316
fi
288
317
info "flow: checksum verified"
318
+
fi
319
+
else
320
+
if is_truthy "${FLOW_INSTALL_INSECURE-}";then
321
+
info "flow: warning: sha256 tool not found, skipping checksum verification (FLOW_INSTALL_INSECURE=1)"
289
322
else
290
-
info "flow: warning: checksum not verified (checksums.txt missing or entry not found)"
323
+
error "sha256 tool not found (need shasum or sha256sum). Refusing to install.\nSet FLOW_INSTALL_INSECURE=1 to bypass (not recommended)."
0 commit comments