arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.06463cs.CR
收藏

Speranza:可用且保护隐私的软件签名

Speranza: Usable, privacy-friendly software signing

Kelsey Merrill, Zachary Newman, Santiago Torres-Arias, Karen Sollins

AI总结:

Speranza 利用证书和零知识身份共同承诺,在验证软件签名真实性的同时保护签名者匿名性,并以极低的签名、验证和带宽成本实现大规模软件仓库的实用部署。

摘要:

用于大规模开放软件分发的软件仓库是安全攻击的重要载体。软件签名提供真实性,能够缓解许多此类攻击。开发者管理的签名密钥带来了可用性挑战,而基于证书的系统则引入了隐私问题。本工作 Speranza 使用证书来验证软件真实性,同时利用零知识身份共同承诺(zero-knowledge identity co-commitments)为签名者提供匿名性。在 Speranza 中,签名者使用自动化证书颁发机构(CA)创建私有的身份绑定签名和授权证明。验证者检查签名者是否被授权发布某个软件包,而无需获知签名者的身份。软件包仓库私下记录每个软件包的授权签名者,但只在公共映射中发布对身份的承诺。随后,在颁发证书时,CA 将证书颁发给对同一身份的不同承诺。签名者随后创建一个零知识证明,证明这些是身份共同承诺。我们为 Speranza 实现了一个概念验证。我们发现,即使对于拥有数百万个软件包的仓库,维护者(签名)和最终用户(验证)的成本也很小(< 1 ms)。受近期密钥透明系统启发的技术将提供授权策略所需的带宽降低到 2 KiB。该系统中的服务器成本可以忽略不计。我们的评估发现,Speranza 在最大软件仓库的规模上是实用的。我们还在该项目中强调实用性和可部署性。通过构建于现有技术之上,并采用相对简单且成熟的密码学技术,Speranza 只需几百行代码并对现有基础设施进行最小改动即可大规模部署使用。Speranza 是一种将隐私与真实性结合起来、实现更可信开源软件的实用方法。

英文摘要:

Software repositories, used for wide-scale open software distribution, are a significant vector for security attacks. Software signing provides authenticity, mitigating many such attacks. Developer-managed signing keys pose usability challenges, but certificate-based systems introduce privacy problems. This work, Speranza, uses certificates to verify software authenticity but still provides anonymity to signers using zero-knowledge identity co-commitments. In Speranza, a signer uses an automated certificate authority (CA) to create a private identity-bound signature and proof of authorization. Verifiers check that a signer was authorized to publish a package without learning the signer's identity. The package repository privately records each package's authorized signers, but publishes only commitments to identities in a public map. Then, when issuing certificates, the CA issues the certificate to a distinct commitment to the same identity. The signer then creates a zero-knowledge proof that these are identity co-commitments. We implemented a proof-of-concept for Speranza. We find that costs to maintainers (signing) and end users (verifying) are small (< 1 ms), even for a repository with millions of packages. Techniques inspired by recent key transparency systems reduce the bandwidth for serving authorization policies to 2 KiB. Server costs in this system are negligible. Our evaluation finds that Speranza is practical on the scale of the largest software repositories. We also emphasize practicality and deployability in this project. By building on existing technology and employing relatively simple and well-established cryptographic techniques, Speranza can be deployed for wide-scale use with only a few hundred lines of code and minimal changes to existing infrastructure. Speranza is a practical way to bring privacy and authenticity together for more trustworthy open-source software.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑