Larvitz :fedora:Larvitz@burningboard.net
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.