Posts on blog.jaseg.de https://blog.jaseg.de/posts/ Recent content in Posts on blog.jaseg.de Hugo -- gohugo.io en-us Tue, 23 Nov 2021 23:42:20 +0100 New Paper on Inertial Hardware Security Modules https://blog.jaseg.de/posts/ihsm-worlds-first-diy-hsm/ Tue, 23 Nov 2021 23:42:20 +0100 https://blog.jaseg.de/posts/ihsm-worlds-first-diy-hsm/ World's First DIY HSM Last week, Prof. Dr. Björn Scheuermann and I have published our first joint paper on Hardware Security Modules. In our paper, we introduce Inertial Hardware Security Modules (IHSMs), a new way of building high-security HSMs from basic components. I think the technology we demonstrate in our paper might allow some neat applications where some civil organization deploys a service that no one, not even they themselves, can snoop on. Kicad Mesh Plugin https://blog.jaseg.de/posts/kicad-mesh-plugin/ Tue, 18 Aug 2020 13:15:39 +0200 https://blog.jaseg.de/posts/kicad-mesh-plugin/ Tamper Detection Meshes Cryptography is at the foundation of our modern, networked world. From email to card payment infrastructure in brick and mortar stores, cryptographic keys secure almost every part of our digital lives againts cybercriminals or curious surveillance capitalists. Without cryptography, many of the things we routinely do in our lives such as paying for groceries with a credit card, messaging a friend on Signal or unlocking a car with its keyfob would not be possible. Private Contact Discovery https://blog.jaseg.de/posts/private-contact-discovery/ Sat, 22 Jun 2019 10:30:00 +0800 https://blog.jaseg.de/posts/private-contact-discovery/ Private Contact Discovery Private Contact Discovery (PCD) is the formal name for the problem modern smartphone messenger applications have on installation: Given a user's address book, find out which of their contacts also use the same messenger without the messenger's servers learning anything about the user's address book. The widespread non-private way to do this is to simply upload the user's address book to the app's operator's servers and do an SQL JOIN keyed on the phone number field against the database of registered users. Hardware Security Module Basics https://blog.jaseg.de/posts/hsm-basics/ Fri, 17 May 2019 15:29:20 +0800 https://blog.jaseg.de/posts/hsm-basics/ Hardware Security Modules and Security Research and Cryptography On May 17 2019 I gave a short presentation on the fundamentals of hardware security modules at the weekly seminar of Prof. Mori's security research working group at Waseda University. The motivation for this was that outside of low-level hardware security people and people working in the financial industry HSMs are not thought about that often. In particular most network or systems security people would not consider them an option. How to talk to your microcontroller over serial https://blog.jaseg.de/posts/serial-protocols/ Sat, 19 May 2018 08:09:46 +0200 https://blog.jaseg.de/posts/serial-protocols/ Scroll to the end for the TL;DR. In this article I will give an overview on the protocols spoken on serial ports, highlighting common pitfalls. I will summarize some points on how to design a serial protocol that is simple to implement and works reliably even under error conditions. If you have done low-level microcontroller firmware you will regularly have had to stuff some data up a serial port to another microcontroller or to a computer. Thor's Hammer https://blog.jaseg.de/posts/thors-hammer/ Thu, 03 May 2018 11:59:37 +0200 https://blog.jaseg.de/posts/thors-hammer/ In case you were having an inferiority complex because your friends' IBM Model M keyboards are so much louder than the shitty rubber dome freebie you got with your pc... Here's the solution: Thor's Hammer, a simple typing cadence enhancer for PS/2 keyboards. Your browser does not support the HTML5 video tag. A demonstration of the completed project. h264 download / webm download The connects to the keyboard's PS/2 clock line and briefly actuates a large solenoid on each key press. 32-Channel LED tape driver https://blog.jaseg.de/posts/multichannel-led-driver/ Wed, 02 May 2018 11:31:14 +0200 https://blog.jaseg.de/posts/multichannel-led-driver/ Theoretical basics Together, a friend and I outfitted the small staircase at Berlin's Chaos Computer Club with nice, shiny RGB-WW LED tape for ambient lighting. This tape is like regular RGB tape but with an additional warm white channel, which makes for much more natural pastels and whites. There are several variants of RGBW tape. Cheap ones have separate RGB and white LEDs, which is fine for indirect lighting but does not work for direct lighting. Wifi Led Driver https://blog.jaseg.de/posts/wifi-led-driver/ Wed, 02 May 2018 11:31:03 +0200 https://blog.jaseg.de/posts/wifi-led-driver/ Project motivation The completed driver board installed in the 3D-printed case. This device can now be connected to 12V and two segments of LED tape that can then be controlled trough Wifi. The ESP8266 module goes on the pin header on the left and was removed for this picture. After the multichannel LED driver was completed, I was just getting used to controlling LEDs at 14-bit resolution. I liked the board we designed in this project, but at 32 channels it was a bit large for most use cases. LED Characterization https://blog.jaseg.de/posts/led-characterization/ Wed, 02 May 2018 11:18:38 +0200 https://blog.jaseg.de/posts/led-characterization/ Preface Recently, I have been working on a small driver for ambient lighting using 12V LED strips like you can get inexpensively from China. I wanted to be able to just throw one of these somewhere, stick down some LED tape, hook it up to a small transformer and be able to control it through Wifi. When I was writing the firmware, I noticed that when fading between different colors, the colors look all wrong!