Dazed and Confused: What's Wrong with Crypto Libraries?
Mohammadreza Hazhirpasand, Oscar Nierstrasz, Mohammad Ghafari

TL;DR
This study analyzes 500 Stack Overflow posts to identify common issues developers face with crypto libraries, revealing themes like interoperability and setup problems, which can inform better guidance and future API-level research.
Contribution
It provides a detailed thematic analysis of real-world developer issues with crypto libraries, highlighting prevalent problems and areas for future investigation.
Findings
Most discussions focus on encryption/decryption and installation issues.
Interoperability problems are common when using multiple crypto libraries.
Few questions relate to cryptographic attacks.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
