-
Notifications
You must be signed in to change notification settings - Fork 93
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
Update to actix-web 2.0 #71
Comments
The error handling part (ex Resource grant) looks awkward a little bit:
edit: fixed using ? operator |
Is there anything that block the related PR to be merged back to main? (#72) |
Since #37 is closed and dicussion moved here, I'm also wondering about that. Is there any path forward? |
Yes, bite the bullet and replace |
The question is whether it really is sensible (from a security standpoint) to provide all existing implementations of authorizer and issuer or to drop some from the main crate. The map-based implementations are fine without having to rely on any the security of any crypto implementation so one could say that the encrypting ones are only supplementary and could live in another optional crate. The registrar implementation is a slight concern but really, pbkdf2 is not exactly state-of-the-art in any case. (Edit: possibly go for argon2 with argonautica). |
Quite the undertaking! As for replacing pbkdf2 with argon2, that seems easy enough. |
Between
That's what made me close #58 previously. The argument, however, was that it left some interface entirely without an implementation and the conclusion was to prioritize if the ecosystem were to split further. It certainly has. So the idea would be to ensure that some implementation of all traits exists in the main crate and the
Yep, that would be great. The blocker last time I had looked at it were slightly immature Rust crates for it but I wasn't aware of Footnotes |
Also, as discussed in #55, would you feel confident enough about rand to use its |
Not really; given that it is a safe trait to implement, it is not sealed, and that its documentation explicitely states:
However directly using a concrete implementor such as |
It is guidance only yes. OsRng and StdRng implements it. It just means that as far as you can trust the lib author, it is deemed Crypto worthy. From what I can see, StdRnd is chacha20, and OsRng is whatever PRNG is available from the OS from getrandom. But you're alright with me trying my hand with a PR for using |
Project Improvement
actix-web 2.x has some breaking changes and comes with support for standard futures.
Other context
See prior comments in #37. It also requires an update to
ring
to supportv0.16
.Tracking pull request
async
#70The text was updated successfully, but these errors were encountered: