-
Notifications
You must be signed in to change notification settings - Fork 25
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
Use more external crates #72
Comments
I a general way, I don't see the point of adding dependencies just for the sake of doing so. I'm more inclined to reduce the number of dependencies instead of increasing it.
Sorry, but this one is a no-go. josekit uses a fixed version for openssl (currently Furthermore, using it would not permit to use an alternative crypto library as requested in issues #2 and #33. I'm seriously considering Botan + Ring as an optional alternative to OpenSSL.
The configuration parsing itself is done by the toml crate, not a custom parser. That said, I will have a look at config and see if it can improve ACMEd in any way. |
That's not what we're saying though, we're saying that it makes sense to not build stuff yourself when there's solid libraries out there implementing what you're trying to do.
That's not accurate. Specifying
It would not prevent this, but instead shift where that work would need to happen. Either way, I'm not convinced that the maintenance burden for supporting multiple cryptographic backends in an ACME client is worth it. Sticking with one tried and tested variant would be a lot better IMO. It'd be nice if the libraries used under the hood would support multiple cryptographic backends, for example having a JOSE library that has feature toggles for
Maybe parsing wasn't the right word here, but layering was explicitly mentioned as well, and layering is something that is provided in libraries like Just to make sure that it's not lost: I've posted a fairly extensive reply over at #71 (comment) right before I closed that issue. Have you seen that? It's going into details a bit what our intention is in opening these issues. |
When I started ACMEd there was no crate that implemented JOSE in a way that I find acceptable for this use. josekit started a year later.
My bad. It seems like I need to re-read the cargo book, I'm a little bit rusty on that point.
Don't worry, I've seen it. I just need some time to reply 😉 |
ACMEd uses custom code for some things that are already provided by external crates.
The text was updated successfully, but these errors were encountered: