Lune

USENIX Security2024顶会

"You have to read 50 different RFCs that contradict each other": An Interview Study on the Experiences of Implementing Cryptographic Standards

Nicolas Huaman, Jacques Suray, Jan H. Klemmer, Marcel Fourné, Sabrina Amft, Ivana Trummová, Yasemin Acar, Sascha Fahl

摘要

Implementing cryptographic standards is a critical process for the cryptographic ecosystem. Cryptographic standards aim to support developers and engineers in implementing cryptographic primitives and protocols. However, past security incidents suggest that implementing cryptographic standards can be challenging and might jeopardize software and hardware security. We need to understand and mitigate the pain points of those implementing cryptographic standards to support them better. To shed light on the challenges and obstacles of implementing cryptographic standards, we conducted 20 semistructured interviews with experienced cryptographers and cryptographic software engineers. We identify common practices when implementing standards, including the criticality of reference and third-party implementations, test vectors to verify implementations, and the open standard community as central support for questions and reviews of implementations. Based on our findings, we recommend transparent standardization processes, strong (ideally formal) verification, improved support for comparing implementations, and covering updates and error handling in the standardization process. Previous research on cryptographic standards focused on vulnerabilities in standards or faulty implementations [74, 12, 15, 61, 24] , but did not consider the implementation process itself. We present and discuss in-depth insights from 20 semi-structured interviews with experienced implementers of cryptographic standards. We illustrate the challenges they encounter from the perspective of new and veteran developers in the cryptographic community and from an industry, academic, and hobbyist view. We hope our findings can contribute to easier-to-implement future cryptographic standards. Research Questions. In this work, we address the following research questions: RQ1: Which are developers' practices when implementing cryptographic standards? Implementing cryptographic standards is essential to deploy cryptography from research into products. We are interested in better understanding developers' implementation practices and requirements for cryptographic standards. RQ2: What are the challenges of implementing cryptographic standards? Cryptographic standards are complex and require a high level of expertise to understand and follow. We aim to understand the challenges of writing cryptographic software following standards. RQ3: How can future cryptographic standards be improved to better support implementations? The correct and secure implementation of cryptographic standards is crucial for overall software security. We aim to understand better how future cryptographic standards can be improved to support cryptographic software developers and implementations.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • "They're not that hard to mitigate": What Cryptographic Library Developers Think About Timing Attacks 引用了 The Last Mile: High-Assurance and High-Speed Cryptographic Implementations
  • "They're not that hard to mitigate": What Cryptographic Library Developers Think About Timing Attacks 引用了 Comparing the Usability of Cryptographic APIs
  • Competing for Attention: An Interview Study with Participants of Cryptography Competitions 引用了 "They're not that hard to mitigate": What Cryptographic Library Developers Think About Timing Attacks
  • "If HTTPS Were Secure, I Wouldn't Need 2FA" - End User and Administrator Mental Models of HTTPS 引用了 Comparing the Usability of Cryptographic APIs
  • The Ivory Tower Syndrome: Operators' Reflections on Academic BGP Security Solutions 引用了 Comparing the Usability of Cryptographic APIs
  • The Ivory Tower Syndrome: Operators' Reflections on Academic BGP Security Solutions 引用了 "If HTTPS Were Secure, I Wouldn't Need 2FA" - End User and Administrator Mental Models of HTTPS
  • "That's my perspective from 30 years of doing this": An Interview Study on Practices, Experiences, and Challenges of Updating Cryptographic Code 引用了 Comparing the Usability of Cryptographic APIs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Competing for Attention: An Interview Study with Participants of Cryptography CompetitionsIvana Trummová, Juliane Schmüser, Nicolas Huaman, Sascha FahlCCS 2025
  2. Behind the Curtain: How Shared Hosting Providers Respond to Vulnerability NotificationsGiada Stivala, Rafael Mrowczynski, Maria Hellenthal, Giancarlo PellegrinoS&P 2026
  3. The Ivory Tower Syndrome: Operators' Reflections on Academic BGP Security SolutionsAleeza Suhel Inamdar, Tobias Fiebig, Mannat KaurUSENIX Security 2026
  4. "That's my perspective from 30 years of doing this": An Interview Study on Practices, Experiences, and Challenges of Updating Cryptographic CodeAlexander Krause, Harjot Kaur, Jan H. Klemmer, Oliver Wiese 等USENIX Security 2025

它引用的 Paper10

  1. The SPHINCS+ Signature FrameworkDaniel J. Bernstein, Andreas Hülsing, Stefan Kölbl, Ruben Niederhagen 等CCS 2019 · 385 次引用
  2. Comparing the Usability of Cryptographic APIsYasemin Acar, Michael Backes, Sascha Fahl, Simson L. Garfinkel 等S&P 2017 · 261 次引用
  3. "If HTTPS Were Secure, I Wouldn't Need 2FA" - End User and Administrator Mental Models of HTTPSKatharina Krombholz, Karoline Busse, Katharina Pfeffer, Matthew Smith 等S&P 2019 · 105 次引用
  4. The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
  5. "They're not that hard to mitigate": What Cryptographic Library Developers Think About Timing AttacksJan Jancar, Marcel Fourné, Daniel De Almeida Braga, Mohamed Sabt 等S&P 2022 · 61 次引用

相关 Paper

  1. "I'm Pretty Expert and I Still Screw It Up": Qualitative Insights into Experiences and Challenges of Designing and Implementing Cryptographic Library APIsJuliane Schmüser, Philip Klostermeyer, Kay Friedrich, Sascha FahlS&P 2025
  2. The Challenges of Bringing Cryptography from Research Papers to Products: Results from an Interview Study with ExpertsKonstantin Fischer, Ivana Trummová, Phillip Gajland, Yasemin Acar 等USENIX Security 2024 · 9 次引用
  3. When Contracts Meets Crypto: Exploring Developers' Struggles with Ethereum Cryptographic APIsJiashuo Zhang, Jiachi Chen, Zhiyuan Wan, Ting Chen 等ICSE 2024 · 9 次引用
  4. Transparency in Usable Privacy and Security Research: Scholars' Perspectives, Practices, and RecommendationsJan H. Klemmer, Juliane Schmüser, Byron M. Lowens, Fabian Fischer 等S&P 2025
  5. "These results must be false": A usability evaluation of constant-time analysis toolsMarcel Fourné, Daniel De Almeida Braga, Jan Jancar, Mohamed Sabt 等USENIX Security 2024 · 15 次引用
黄昏的海面,两侧是细线勾勒的悬崖