3 ms·
I'm currently using both Nitrokeys and YubiHSMs on a client project. Both work pretty nicely, but some notes: 1. Nitrokeys can't do Ed25519. If you want to do
by woodruffw 6y ago
I'm currently using both Nitrokeys and YubiHSMs on a client project. Both work pretty nicely, but some notes:
1. Nitrokeys can't do Ed25519. If you want to do ECC, you're stuck with NSA Suite B (which may be fine, depending on your purposes). This was a bummer for me, though, in the context of a greenfield project. YubiHSMs can do Ed25519...but they can't generate attestation certificates for Ed25519 keypairs. This isn't well documented anywhere; I had to lean on a friend who knew a Yubico engineer.
2. Nitrokeys can do attestation against a baked in certificate. However, they can't export those attestations via PKCS#11 -- you have to use some custom shell provided by the underlying hardware vendor (CardContact). The baked in cert (and its public roots) are also RSA2048, which is a bit of a bummer. Oh, and everything's in a weird container format[1] that isn't x509. It's still ASN.1 + DER, at least.
[1]: https://www.bsi.bund.de/EN/Publications/TechnicalGuidelines/TR03110/BSITR03110.html https://www.bsi.bund.de/EN/Publications/TechnicalGuidelines/...
- nhooyr 6y agoAppreciate the details!