Jumping through hoops
Sarah Nadi, Stefan Krüger, Mira Mezini et al. · Proceedings/Proceedings - International Conference on Software Engineering · 2016
To protect sensitive data processed by current applications, developers, whether security experts or not, have to rely on cryptography. While cryptography algorithms have become increasingly advanced, many data breaches occur because developers do not correctly use the corresponding APIs. To guide future research into practical solutions to this problem, we perform an empirical investigation into the obstacles developers face while using the Java cryptography APIs, the tasks they use the APIs for, and the kind of (tool) support they desire. We triangulate data from four separate studies that include the analysis of 100 StackOverflow posts, 100 GitHub repositories, and survey input from 48 developers. We find that while developers find it difficult to use certain cryptographic algorithms correctly, they feel surprisingly confident in selecting the right cryptography concepts (e.g., encryption vs. signatures). We also find that the APIs are generally perceived to be too low-level and that developers prefer more task-based solutions.
Cited by 218 works. doi:10.1145/2884781.2884790
Authors
References
- Qualitative Inquiry and Research Design: Choosing Among Five Approaches
- Qualitative Inquiry and Research Design : Choosing Among Five Approaches
- Understanding interobserver agreement: the kappa statistic.
- Why eve and mallory love android
- The most dangerous code in the world
- An empirical study of cryptographic misuse in android applications
- What Makes APIs Hard to Learn? Answers from Developers
- A field study of API learning obstacles
- Mining StackOverflow to turn the IDE into a self-confident programming prompter
- Live API documentation