Skip to content
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

Add COSE cryptography backend based on RustCrypto crates #20

Closed
pulsastrix opened this issue Jul 25, 2024 · 0 comments · Fixed by #22
Closed

Add COSE cryptography backend based on RustCrypto crates #20

pulsastrix opened this issue Jul 25, 2024 · 0 comments · Fixed by #22
Assignees
Labels
enhancement New feature or request

Comments

@pulsastrix
Copy link
Member

pulsastrix commented Jul 25, 2024

Is your feature request related to a problem? Please describe.
#13 adds implementations of cryptographic operations based on the openssl crate, but using a C library like OpenSSL has both security implications and complicates cross-compilation.

Describe the solution you'd like
An alternative backend based on the RustCrypto library suite should be added.

Describe alternatives you've considered
There are numerous alternative libraries for the required cryptographic algorithms (or at least a subset of them) available (MbedTLS, wolfSSL, ...).
Adding backends for those might be worth exploring in the future, especially when it comes to embedded development.
For instance, MbedTLS is integrated into the ESP-IDF for the ESP32 and would provide hardware acceleration that RustCrypto currently does not.

However, RustCrypto has the advantage of being a collection of native rust crates that should work everywhere that dcaf-rs can be compiled without hassle, and should therefore be the higher priority.

Additional context
None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant