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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Do you sign your code at work?

5 点作者 agrinman大约 8 年前
Does everyone on your engineering team sign their code?<p>How do you go about verifying signatures and making sure the code signing verifies every time you push&#x2F;pull code?<p>Does your team rely on GitHub&#x27;s server-side verification?

3 条评论

brandur大约 8 年前
We don&#x27;t for the most part, but ended up moving to a VPNed GitHub Enterprise installation over the possibility (albeit unlikely one) that GitHub&#x27;s main cloud could be compromised and used to inject malicious code into a repository that we own.<p>It doesn&#x27;t hurt to shore up on security, but given the expense of operating a GHE installation, the fact that there are some GH niceties that don&#x27;t work quite right there, and that even in just a few months of use GHE already has a poorer availability record than the public GH cloud, broad code signing might have been a better approach.<p>We do sign in a few places like for our internal deployment tool that gets widely distributed to all engineers, and which checks its code signature before allowing a deploy. It works pretty well, but the fact that GitHub&#x27;s &quot;merge pull request&quot; button exists (which will create a merge commit on `HEAD` without a valid signature) tends to cause a fair bit of inconvenience.<p>I&#x27;d definitely be curious if others have been making this work.
jetti大约 8 年前
I&#x27;m curious as to why one would want to do that. Maybe it&#x27;s because we host internally (internal Bitbucket server) that I don&#x27;t think we would need this or maybe because we are small and know who is pushing what.
adamb_大约 8 年前
IntelliJ automatically adds your name to the top of Java classes &#x2F; etc, so.. kinda?
评论 #14345374 未加载
评论 #14326317 未加载