TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Add hash verification to “curl | sh”

2 点作者 russjones将近 7 年前

1 comment

LinuxBender将近 7 年前
How will people know that the hash is trusted any more than the script they are executing? Hash validation is mostly useful if you are comparing the hash from a trusted source to a mirror or CDN object that may have been tampered with.<p>Is the premise that I validate the script works as executed with a known hash, then I link that same script to others, so it is really extending their trust of me vs. the site with the bash script?