The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Email Subscription

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 719 other subscribers

Archive for the ‘Encryption’ Category

Stupid Certificate Tricks | rya.nc

Posted by jpluimers on 2026/11/26

A few weeks ago, this 10+ year post suddenly became very relevant: [Wayback/Archive] Stupid Certificate Tricks | rya.nc

The post explains how to create a certificate where the public key contains some ASCII text.

In short, the trick is that there is quite a bit of data in the first half of the public key can be influenced by carefully modifying the prime factors that the private key are built from.

These and similar became hot again because of the eMudhra certificate disaster, which in the end was attributed to a Python script (that should have never been approved as it did not meet standards) exporting the private keys from the HSM, then truncating them during re-import¹.

I found it via:

Read the rest of this entry »

Posted in Certificates, eMudhra disaster, Encryption, HTTPS/TLS security, PKI, Power User, Public Key Cryptography, Security | Leave a Comment »

The Real Risks of eMudhra | IFIN

Posted by jpluimers on 2026/11/19

An important article to read in the aftermath of the eMudhra certificate disaster is [Wayback/Archive] The Real Risks of eMudhra | IFIN.

Starting from the browsers – most of these should not be affected any more – it continues with the non-browsers, especially the kind of equipment that will never be updated, explaining how they can be part of an attack (and a blessing – hello pesky TV manufacturers showing ads on the equipment we bought), the terminals you type commands in, software development stacks implementing their own certificate stores and many many other entry points. Then mitigations are covered, basically the good old CMDB is new and shiny again, and the most important bit: have a plan for next time. As there will be a next time. 

The blog post goes hand in hand with observations like for instance [Wayback/Archive] Jan Schaumann: “I just ran a check across / on my mac and found 43 #emudhra vulnerable vendored bundles. …” – Mastodon 🐘

Read the rest of this entry »

Posted in Certificates, Encryption, HTTPS/TLS security, Infosec (Information Security), PKI, Power User, Public Key Cryptography, Security | Leave a Comment »

Volledig Post-Quantum Cryptografie website

Posted by jpluimers on 2026/11/04

Voor mijn link archief als ik er aan toe kom om ook een PQC web-site in te richten: [Wayback/Archive] Volledig Post-Quantum Cryptografie website, een mooi artikel van [Wayback/Archive] Harld (@harld@masto.ai) – Mastodon die sommigen kennen van een of meer van deze sites:

Via

Read the rest of this entry »

Posted in *nix, *nix-tools, Apache2, Certificates, Development, Encryption, HTTPS/TLS security, PKI, Power User, PQC, Public Key Cryptography, Security, Software Development, Web Development | Leave a Comment »

eMudhra popularised the number four in old jokes and caused many other jokes as well

Posted by jpluimers on 2026/10/29

A week ago, it seems like an eternity in vulnerability land, eMudhra popularised quoting the number four:

It felt like the Diginotar debacle, but 15 years later and voluntarily. And like I wrote yesterday, another (partially – hello “O=eMudhra BV, C=NL” next to “O=eMudhra Inc, C=US”) Dutch company involved. Hopefully that’s not a prediction for the future.

Given their laughably weak keys and their laughably excuse, lots of jokes appeared.

Apart from “there is always an XKCD” (I wish [Wayback/Archive] Relevant XKCD Search still functioned, but luckily [Wayback/Archive] Relevant XKCD does, hello [Wayback/Archive] Relevant XKCD=random), Randall Munroe also created a  new one, plus one of the XCKD memes was re-used, so here are three, plus a whole lot of other jokes that quickly appeared:

Read the rest of this entry »

Posted in Certificates, eMudhra disaster, Encryption, HTTPS/TLS security, PKI, Power User, Public Key Cryptography, Security | Leave a Comment »

“Add `–emudhra` option (#8500)” and “Add –emudhra-old option (#8503)” · mitmproxy/mitmproxy@1692344 and mitmproxy/mitmproxy@62243e7

Posted by jpluimers on 2026/10/28

These didn’t take long for [Wayback/Archive] Mitmproxy 12.3: eMudhra Edition to appear with these commits:

  1. [Wayback/Archive] Add `–emudhra` option by mhils · Pull Request #8500 · mitmproxy/mitmproxy
  2. [Wayback/Archive] Add `–emudhra-old` option by mhils · Pull Request #8503 · mitmproxy/mitmproxy · GitHub

It is by [Wayback/Archive] GitHub – mitmproxy/mitmproxy: An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers. · GitHub which I mentioned a few times before on my blog¹, so now is the time introduce the mitmproxy category.

Oh BTW: like Diginotar, eMudhra lists about half of the affected certificates as coming from the Netherlands. See the O=eMudhra BV, C=NL bits at the [Wayback/Archive] eMudhra Intermediate CA Compromise.

I won’t go into much detail as why it is so easy to generate these eMudhra certificates, as a much better job already has been done at [Wayback/Archive] Why Were eMudhra’s CA Keys Easy to Guess? · Metaheuristic

Read the rest of this entry »

Posted in Certificates, Development, eMudhra disaster, Encryption, HTTPS/TLS security, JavaScript/ECMAScript, mitmproxy, PKI, Power User, Public Key Cryptography, Python, Scripting, Security, Software Development, TypeScript | Leave a Comment »

Stop Using Encrypted Email | Latacora

Posted by jpluimers on 2026/10/09

A very interesting 2020 read that will remain valid eternally: [Wayback/Archive] Stop Using Encrypted Email | Latacora

It lists reasons that an encrypted email will one day leak either enough of the content or enough of the meta-data to become problematic:

Read the rest of this entry »

Posted in Encryption, Power User | Leave a Comment »

Hashtopolis: distributed hashcat password recovery

Posted by jpluimers on 2026/09/23

[Wayback/Archive] Hashtopolis

HashtopolisHashtopolis is a distributed password recovery tool working with hashcat

Via:

–jeroen

Posted in .NET, C#, Development, Encryption, Hashing, HTML, JavaScript/ECMAScript, Passwords/manages, Pen Testing, PHP, Power User, Python, Scripting, Security, Software Development, TypeScript, Web Development | Leave a Comment »

ssl – Why was 398 days chosen for TLS expiration? – Stack Overflow

Posted by jpluimers on 2026/01/01

Cool, since I switched to Let’s Encrypt a long while ago, I missed that various tools now require TLS expiration be no longer than 398 days away (and preferably even 397 days).

So I also missed the reason for that specific number of days. [Wayback/Archive] ssl – Why was 398 days chosen for TLS expiration? – Stack Overflow (thanks [Wayback/Archive] stevendesu and [Wayback/Archive] user10063)

answers it:

366+31+1 = 398 days

It equals one leap year + one month + “a little room to handle the messiness of dates.”

then posts a lot of quotes from references to the history on how that reason came to be. I have archived and listed the links below.

Most of the discussion was during a very hectic time in life: after a single sided bad accident my mentally retarded brother was in and assisting him during his recovery period, I developed cancer and had extensive treatments against it. All the more reason for missing all this:

Read the rest of this entry »

Posted in Communications Development, Development, Encryption, https, HTTPS/TLS security, Internet protocol suite, Let's Encrypt (letsencrypt/certbot), Power User, Security, TCP, TLS | Tagged: , | Leave a Comment »

i-am-shodan/USBArmyKnife: USB Army Knife – the ultimate close access tool for penetration testers and red teamers.

Posted by jpluimers on 2025/09/30

Now that I got pointed to this twice (see “Via” below), I need to get one so I can play with it: [Wayback/Archive] GitHub – i-am-shodan/USBArmyKnife: USB Army Knife – the ultimate close access tool for penetration testers and red teamers.

Via:

Read the rest of this entry »

Posted in *nix, *nix-tools, Blue team, Bluetooth, Development, Encryption, ESP32, Hardware, Hardware Development, Hardware Interfacing, Home Audio/Video, HTTPS/TLS security, Infosec (Information Security), Network-and-equipment, Power User, Red team, Software Development, WiFi, Wireshark | Tagged: | Leave a Comment »

DeCENC is yet another way to beat Amazon, Netflix video DRM • The Register

Posted by jpluimers on 2025/09/12

From a while ago. I wonder what the current state is.

[Wayback/Archive] DeCENC is yet another way to beat Amazon, Netflix video DRM • The Register

--jeroen

Posted in Development, Encryption, Media, Media Streaming, Power User, Security, Software Development | Leave a Comment »