Zum Hauptinhalt springen
Artikelansicht
⚡ iShareStuff Live

39C3 - How To Minimize Bugs in Cryptography Code

Author: media.ccc.de - Bewertung: 0x - Views:9 https://media.ccc.de/v/39c3-how-to-minimize-bugs-in-cryptography-code "Don't roll your own crypto" is an…

Beitrag
0
Seite
0
↗ Quelle (youtube.com)
Quelle & Fakten · 3 Min. Lesezeit
Quelle: youtube.com
Rubrik: IT Sicherheit

Author: media.ccc.de - Bewertung: 0x - Views:9

https://media.ccc.de/v/39c3-how-to-minimize-bugs-in-cryptography-code



"Don't roll your own crypto" is an often-repeated aphorism. It's good advice -- but then how does any cryptography get made? Writers of cryptography code like myself write code with bugs just like anyone else, so how do we take precautions against our own mistakes? In this talk, I will give a peek into the cryptographer's toolbox of advanced techniques to avoid bugs: targeted testing, model checking, mathematical proof assistants, information-flow analysis, and more. None of these techniques is a magic silver bullet, but they can help find flaws in reasoning about tricky corner cases in low-level code or prove that higher-level designs are sound, given a defined set of assumptions. We'll go over some examples and try to give a high-level feel for different workflows that create "high-assurance" code. Whether you know it or not, you use this type of cryptography code every day: in your browser, your messaging apps, and your favorite programming language standard libraries.



Over the last 10 years or so, using mathematical proof assistants and other formal-logic tools for cryptography code has gone from a relatively new idea to standard practice. I've been lucky enough to have a front-row seat to that transformation, having started doing formal-methods research in 2015 and then switched to a focus on cryptography implementation since 2021. Code from my master's thesis project, ["fiat-crypto"](https://github.com/mit-plv/fiat-crypto), is [included](https://andres.systems/fiat-crypto-adoption.html) in every major browser as well as AWS, Cloudflare, Linux, OpenBSD, and standard crypto libraries for Go, Zig, and Rust (RustCrypto, dalek). In addition to verifying code correctness, designers of high-level protocols like Signal's recently announced post-quantum ratchet increasingly use mathematical tools (ProVerif in Signal's case) to check their work.



Despite the growing popularity of these formal techniques and their relevance to personal information security, few people are aware of them, and they maintain a reputation for being hard to learn and esoteric. I'd like to demystify the topic and show examples of how anyone can use proof assistants in small, standalone ways as part of the coding or design process. My hope is that next time a colleague asks for review of a complex high-speed bit-twiddling algorithm, instead of staring at the code line-by-line, attendees of my talk will know they can write a computer-checked proof to confirm or deny that the algorithm achieves its intended result.



Jade



https://events.ccc.de/congress/2025/hub/event/detail/how-to-minimize-bugs-in-cryptography-code



#39c3 #Security



Licensed to the public under http://creativecommons.org/licenses/by/4.0

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Community-Diskussion & Kommentare

🌐 Zum Social-Chat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „✏️ Information ergänzen“ einen Fachbeitrag ein.

Tages-Briefing Kostenlos · 1-Klick-Abmeldung

Nachrichten-Briefing — kostenlos

Täglich die wichtigsten Meldungen aus Politik & Gesellschaft · jederzeit abbestellbar

Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität

Verwandte Story-Cluster & Quellen (Vektor-KI)

4 Cluster
3 Quellen
Bei Langenfeld: Mehrere Verletzte nach Unfall auf der A3 - RP Online
Top-Meldungen - Google News vor 13 Std.
2 weitere Quellen
2 Quellen
Goldpreis-Prognose: Gold und Goldminenaktien im Panik-Modus. Jetzt schon kaufen? - wallstreetONLINE
Top-Meldungen - Google News vor 1 Tag
1 weitere Quelle
2 Quellen
Thalia Theater Hamburg: Borcherts Antikriegsklassiker als aufgedrehte Revue - Spiegel
Top-Meldungen - Google News vor 11 Std.
1 weitere Quelle
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten 39C3 - How To Minimize Bugs in Cryptography Code

Thematisch verwandte Begriffe: 39C3, Minimize, Bugs, Cryptography · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag