-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECC in CMS support #1544
Comments
Sure, sounds great! Re: OIDs for RFC5753, that should be pretty easy to add: https://github.com/RustCrypto/formats/tree/master/const-oid/oiddbgen Please open a separate issue and/or PR for that |
Great thanks, I'll prepare a PR for ECC support itself. Thanks! |
Hello, I have a branch almost ready (I need to rebase), |
You can add a git dependency, that's fine |
here it is, I put things into separate modules for the sake of clarity and limit conflicts as I think some other PR are working on the builder-side too. |
Hello,
I believe that the current code base does not support
EnvelopedData
with Elliptic Curve Cryptography (ECC) for CMS.Would you be interested in a code contribution that would bring partial CMS ECC support as per rfc5753?
I could contribute some code that would essentially implement
KeyAgreeRecipientInfoBuilder
forKeyAgreeRecipientInfo
(Kari).It would not implement all the KeyAgreement algorithms mentioned in the RFC as I think that RustCrypto does not currently have all the primitive to fully support other KeyAgreement schemes (namely
'Co-factor' ECDH
and1-Pass ECMQV
). As such it would mainly focus on EnvelopedData Using (ephemeral-static) ECDH with'Standard' ECDH
A few initial prerequisite would be:
Pending - I already opened a PR in KDFsDone in ANSI-X9.63-KDF KDFs#101)I can open another issue here if there is interest(PendingDone in Add RFC5753 to const-oid #1546).Thank you and let me know your thoughts,
Best,
The text was updated successfully, but these errors were encountered: