arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.01406cs.CRcs.SE
收藏

迷茫和困惑:加密库有什么问题?

Dazed and Confused: What's Wrong with Crypto Libraries?

Mohammadreza Hazhirpasand, Oscar Nierstrasz, Mohammad Ghafari

摘要:

最近的研究表明,开发人员在使用加密API时遇到了困难,这通常会导致安全漏洞。我们有兴趣通过研究各种加密库中存在的问题来解决这个问题。我们手动研究了Stack Overflow上与20个流行加密库相关的500篇帖子。我们意识到讨论中有10个主题。有趣的是,只有两个问题与对密码学的攻击有关。有63次讨论中,开发人员在使用多个加密库时遇到了互操作性问题。大多数帖子(即112个)是关于加密/解密问题,111个是关于加密库的安装/编译问题。总的来说,我们意识到加密库经常涉及五个以上的讨论主题。我们相信目前的初步发现可以帮助团队领导者和经验丰富的开发人员在密码学领域正确指导团队成员。此外,未来的研究应该调查流行的加密库之间在API级别的问题的相似性。

英文摘要:

Recent studies have shown that developers have difficulties in using cryptographic APIs, which often led to security flaws. We are interested to tackle this matter by looking into what types of problems exist in various crypto libraries. We manually studied 500 posts on Stack Overflow associated with 20 popular crypto libraries. We realized there are 10 themes in the discussions. Interestingly, there were only two questions related to attacks against cryptography. There were 63 discussions in which developers had interoperability issues when working with more than a crypto library. The majority of posts (i.e. 112) were about encryption/decryption problems and 111 were about installation/compilation issues of crypto libraries. Overall, we realize that the crypto libraries are frequently involved in more than five themes of discussions. We believe the current initial findings can help team leaders and experienced developers to correctly guide the team members in the domain of cryptography. Moreover, future research should investigate the similarity of problems at the API level among popular crypto libraries.

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

↑