Login
You're viewing the ruby.social public feed.

Replies

  • Nov 28, 2026, 3:03 PM

    @Larvitz Do you have good entropy on your HSM smart card? I thought latest security best practices are to generate the keys outside and load them in because of the lack of entropy available in the "SIM card"?

    Did that change?

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 3:06 PM

    @agowa338 Fair question, and it has history: ROCA (2017) and the Taiwanese ID cards (2013) were both weak on-card RSA keys. ROCA was a flawed prime generation algorithm, the Taiwan case a broken hardware RNG.

    But importing means the key has lived in a normal computer's RAM, which gives up the main property of an HSM. For CAs, on-device generation is still the standard, and the CA/B Forum rules require it for public CAs.

    The usual reason to generate outside is backup. The SmartCard-HSM solves that with DKEK key wrapping instead. I also checked my modulus for the ROCA fingerprint: clean.

    💬 0🔄 1⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 28, 2026, 4:02 PM

    @Larvitz
    Hmm, that reads and sounds interesting but unfortunately I cannot fully comprehend what is it good for. Could you please somewhat explain in simpler terms, for non-techies? 🤔

    Thank you. 😃

    💬 1🔄 0⭐ 0
  • Nov 28, 2026, 4:05 PM

    @kranzkrone Sure! When you open a website, the little padlock means someone vouched for that site's identity. For the devices in my home (heating, smart home, file storage) I am that someone. I run my own tiny "passport office".

    The stamp of that office is a secret key. Anyone who copies it can forge passports for my network. So the stamp lives inside a small USB stick that will happily stamp things for me, but can never be made to hand the stamp itself over.

    The article is about setting that up, and about the awkward follow-up question: how do you make a backup of something that is designed to be impossible to copy?

    💬 2🔄 0⭐ 0
  • Nov 28, 2026, 5:28 PM

    @Larvitz when I first learnt that HSM is an acronym for hardware security module, I don't know how long ago … I made a conscious decision to not attempt to understand the bigger pictures. I'd be way out of my depth!

    I'm gonna boost the post without understanding what I'm boosting :-)

    Cc @kranzkrone

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • fleetingbytesfleetingbytes@bsd.cafe
    Nov 29, 2026, 3:50 PM

    @Larvitz Thank you for this excellent post. I hope I'll get a chance to recreate this in my home lab one day.

    💬 0🔄 0⭐ 0