Closed hwupathum closed 6 months ago
The BC OID is actually an OQS OID but it's for the most recent version of Dilithium, as described in the draft of FIPS PUB 204 - the keys have changed so I'm not even sure if you'd be able to load the old one if the OID did match.
The current "official" OID table is here:
https://github.com/IETF-Hackathon/pqc-certificates/blob/master/docs/oid_mapping.md
I have no idea why:
https://github.com/open-quantum-safe/oqs-provider/blob/main/ALGORITHMS.md
is still referring to the old one. I thought the library had been updated (perhaps it has, just not the documentation).
I'd recommend converting the key to the new OID, it might still work, you may need to regenerate it otherwise.
OQS now supports ML-DSA keys officially (latest draft spec), which matches the OIDs we use. Therefore, closing.
Hi,
We have a problem when trying to use a Dilithium keypair created using liboqs with BC provider. Since OIDs for Dilithium in BC and OQS are different, the code gives InvalidKeyException.
Following are the OIDs for Dilithium 3