Jumping through hoops
Authors:
Open Access
- 14 May 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 935-946
Abstract
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.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (CRC 1119)
This publication has 23 references indexed in Scilit:
- Towards secure integration of cryptographic software2015
- How Can I Use This Method?2015
- Why does cryptographic software fail?2014
- Multi-dimensional exploration of API usage2013
- Patterns of Knowledge in API Reference DocumentationIEEE Transactions on Software Engineering, 2013
- An empirical study of cryptographic misuse in android applications2013
- Why eve and mallory love android2012
- The most dangerous code in the world2012
- Obstacles in Using Frameworks and APIs: An Exploratory Study of Programmers' Newsgroup Discussions2011
- Snowball SamplingThe Annals of Mathematical Statistics, 1961