• LOGIN
    Login with username and password
Repository logo

BORIS Portal

Bern Open Repository and Information System

  • Publications
  • Theses
  • Research Data
  • Projects
  • Organizations
  • Researchers
  • More
  • Collections
  • Statistics
  • LOGIN
    Login with username and password
Repository logo
Unibern.ch
  1. Home
  2. Publications
  3. Java Cryptography Uses in the Wild

Java Cryptography Uses in the Wild

Details
Files
DOI
10.48350/154503
Official URL
http://scg.unibe.ch/archive/papers/Hazh20c.pdf
Publisher DOI
10.1145/3382494.3422166
Abstract
Background Previous research has shown that developers commonly misuse cryptography APIs. Aim We have conducted an exploratory study to find out how crypto APIs are used in open-source Java projects, what types of misuses exist, and why developers make such mistakes. Method We used a static analysis tool to analyze hundreds of open-source Java projects that rely on Java Cryptography Architecture, and manually inspected half of the analysis results to assess the tool results. We also contacted the maintainers of these projects by creating an issue on the GitHub repository of each project, and discussed the misuses with developers. Results We learned that 85\% of Cryptography APIs are misused, however, not every misuse has severe consequences. Developer feedback showed that security caveats in the documentation of crypto APIs are rare, developers may overlook misuses that originate in third-party code, and the context where a Crypto API is used should be taken into account. Conclusion We conclude that using Crypto APIs is still problematic for developers but blindly blaming them for such misuses may lead to erroneous conclusions.
Date Issued
2020-10
Publication Type
Conference Item
Subject(s)
000 Computer science, knowledge & systems
500 Science > 510 Mathematics
Subjects
scg-pub security snf-asa3 scg20 jb20 snf-imad
Language(s)
en
Author(s)
Hazhirpasand Barkadehi, Mohammadreza  
Institut für Informatik (INF)  
Ghafari, Mohammad  
Institut für Informatik (INF)  
Nierstrasz, Oscar  
Institut für Informatik (INF)  
Additional Credits
Institut für Informatik (INF)  
Title of Event
14th ACM / IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM 2020)
Access(Rights)
restricted
Show full item
BORIS Portal
Bern Open Repository and Information System
Build: 0eaa7c [ 7.08. 11:06]
Explore
  • Projects
  • Funding
  • Publications
  • Research Data
  • Organizations
  • Researchers
  • Audiovisual Material
  • Software & other digital items
  • Events
More
  • About BORIS Portal
  • BORIS Portal & Open Science
  • Send Feedback
  • Cookie settings
  • Service Policy
Follow us on
  • Mastodon
  • YouTube
  • LinkedIn
UniBe logo
Repository logo COAR Notify