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

使用中间人方法的安全高效源代码仓库托管区块链与IPFS集成解决方案

An Integrated Blockchain and IPFS Solution for Secure and Efficient Source Code Repository Hosting using Middleman Approach

Md. Rafid Haque, Sakibul Islam Munna, Sabbir Ahmed, Md. Tahmid Islam, Md Mehedi Hassan Onik, A. B. M. Ashikur Rahman

AI总结:

提出结合Ethereum区块链与IPFS的混合架构,利用Shamir密钥分享和中间件检索协议,在保障源代码托管安全的同时显著降低延迟,提交延迟最高降低49%。

摘要:

集中式版本控制系统(VCS)对软件开发至关重要,但存在数据丢失和所有权纠纷的风险。虽然区块链提供了去中心化的替代方案,但现有解决方案常因高延迟而受阻,从而影响了现代工作流所必需的实时协作。本研究提出了一种新型混合架构,结合了Ethereum区块链和星际文件系统(IPFS)的安全性,并包含两项关键贡献:1)使用Shamir's Secret Sharing(SSS)创建用于密钥分发的信任最小化模型;2)一种权威优先、乐观回退的检索协议,利用临时中间件将用户体验与区块链确认延迟解耦。我们实现了完整原型,并在公共Sepolia测试网上进行了全面的性能评估。结果表明,该架构不仅为源代码托管提供了一个安全、可审计且有弹性的平台,还实现了极具竞争力的用户感知性能。对于常见的仓库大小,我们的用户感知推送时间与标准git push相比,将提交延迟降低了高达49%,证明设计良好的去中心化VCS能在安全与去中心化的核心原则与对速度和效率的实际需求之间取得平衡。

英文摘要:

Centralized version control systems (VCS) are vital for software development but pose risks of data loss and ownership disputes. While blockchain offers a decentralized alternative, existing solutions are often hindered by high latency, compromising the real-time collaboration essential for modern workflows. This study introduces a novel hybrid architecture combining the security of the Ethereum blockchain and the InterPlanetary File System (IPFS) with two key contributions: 1) Shamir's Secret Sharing (SSS) to create a trust-minimized model for key distribution, and 2) an authoritative-first, optimistic-fallback retrieval protocol utilizing a temporary middleware to decouple the user experience from blockchain confirmation delays. We implemented a full prototype and conducted a comprehensive performance evaluation on the public Sepolia testnet. Our results demonstrate that this architecture not only provides a secure, auditable, and resilient platform for source code hosting but also achieves highly competitive user-perceived performance. Our user-perceived push time reduces submission latency by up to 49% compared to a standard git push for common repository sizes, proving that a well-designed decentralized VCS can balance the core tenets of security and decentralization with the practical need for speed and efficiency.

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

↑