-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pointers to cipher implementations #1
Comments
That's a good point, thanks for your comment. We've actually implemented the cipher traits in an unreleased project for the I'm currently still occupied with developing a python implementation of ACE-OAuth, but once that's done in a week or two, I'll work on a new version of |
My idea would be to integrate that cipher implementation into this
crate, but gating it behind a feature flag, with the possibility to
add other implementations later on.
Given that different platforms have different ways of doing accelerated
cryptography, I think I wouldn't mind having those implementations
separate from this crate. What might fly well is a version generic over
any AEAD (cipher, digest, signature ... anything in [1]) that bridges
the gap between this crate's requirements and the actual algorithm
implementations.
[1]: https://github.com/RustCrypto/traits
I'm currently still occupied with developing a python implementation
of ACE-OAuth,
Cool. I have a very minimal branch for that for the ACE OSCORE profile
in aiocoap[2], but it'd need lots of cleanup. Maybe we can interface at
some point there to make things work smooth and reduce duplication.
[2]: https://github.com/chrysn/aiocoap/tree/quick-and-dirty-ace-rd
If you're interested in testing this crate before then, I've made the
implementation available in this gist
Thanks, I'll have a look!
|
including the AES-CCM implementation pointed to in namib-project/dcaf-rs#1 (comment)
@chrysn FYI in case there is still interest in this topic, #13 has completely reworked the COSE-related code in Related information:
As of now, the new COSE module only supports a limited subset of algorithms (AES-GCM, ECDSA, HMAC, AES-KW), but we'll be adding more algorithms in the near future (starting with AES-CCM), see #16, #17, #18 and #19. Also, there is a pre-defined backend based on OpenSSL that can be added with the |
For using this project (even for practical evaluation), it is necessary to find implemetations fo
CoseEncrypt0Cipher
et cetera. Are there any around?There are good backends around implemented in Rust (eg. the various implementations of the
aead
crate's traits), but a gap remains.I haven'f found any in dcaf's reverse dependencies on crates.io, or outside this crate in the namib-project organization. If there are such crates, please consider adding a pointer to them to the dcaf documentation (or publishing the crates as to become discoverable).
The text was updated successfully, but these errors were encountered: