neopg
neopg copied to clipboard
Request for SM2, SM3 and SM4
Botan2 already has support for SM2/3/4 algorithms which are published by OSCCA(Office of State Commercial Cipher Administration) to meet regulations for use within China. And also, openpgp has that draft extension which can be found here: https://datatracker.ietf.org/doc/draft-ribose-openpgp-oscca/
So, please, if you can add the support for those algorithms? Thanks.
You can run 'botan-test sm2_enc sm2_sig hash' to verify the support.
Ok, cool! Thanks for bringing this to my attention.
Unforunately, we have not yet refactored the cipher parts in neopg, so we can not easily plug in the new ciphers yet. Once the framework is there, we can plug this in, probably starting in January/February.
Something else I noticed browsing through the document: The draft document does not have the IANA identifiers yet. Do we want to use the private id space initially?
Sure. But since it is required by the lcoal law, that's only a matter of time, I think.