-
Notifications
You must be signed in to change notification settings - Fork 35
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
srp: rebuild library #79
Conversation
Interesting. Let me know when this is ready for review. I can leave some initial notes. |
@tarcieri |
@newpavlov unfortunately not. The core functionality this needs is modular exponentiation (modpow). We attempted to add that to I might take a crack at it again soon for the purposes of expanding the functionality of |
|
Looks like we will have to change minimum supported rust version |
That's no problem. I might suggest bumping |
PR is complete. I will add some more features in a future. |
I'm not sure how to handle the failing GH workflows. It seems they aren't scoped to the proper sub-crate so SRP min rust version is interfering with spake2. |
Aah, this is the joy of having one 2021 edition crate in a workspace. It either needs to be split into its own workspace, or we should bump all of the crates to MSRV 1.56. I can take care of that, if you'd like. Clippy, on the other hand, is global to the whole workspace and needs an MSRV of the highest MSRV of any crate in the repo. |
Could we do something like - run: cd spake2 && cargo test --release ?
If not, I'd say bump.
Sure. Whatever you think this best. |
It already does that: https://github.com/RustCrypto/PAKEs/blob/master/.github/workflows/spake2.yml#L11-L13 ...however you're running into things which are inherently global to a workspace, regardless of the CI config |
Yeah, I think the easiest solution would be to simply bump |
\o/ |
Success! I’ll try to look through this in the coming weeks, but expect some delays there due to the holidays |
Sounds good and happy holidays! |
Hi. Any update on this? |
Will try to review it this weekend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like an improvement to me.
I say this with the caveat that I'm not particularly familiar with SRP, so I can't say my review was particularly careful or detailed, nor do I have any specific feedback beyond what's already been covered earlier.
I'll give @newpavlov a bit of time to review this, or if he's too busy I'll merge it next weekend.
@jbis9051 thank you! I can go ahead and cut a release if you'd like |
This PR is a complete rewrite of the SRP library. It includes many improvements over the old library at the expense of backwards compatibility.
Improvements include: