-
Notifications
You must be signed in to change notification settings - Fork 45
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
Make more 'transactional' #6
Comments
In what way would this allow the verifier portion to be more short lived? Some state must be persisted for the duration of the authentication attempt. On the surface, it would seem that there's little, if any, advantage to that approach. You already have an object reference to the full verifier object, why trade that for an object reference to a sub-component of that object and re-create it later? |
Thanks for entertaining my request. Here's the flow... (I'll use the nomenclature from the doc here: http://srp.stanford.edu/design.html) At account-setup-time: User now wants to log in: ROUNDTRIP No.2 - Client does HTTP POST to (LoadBalancer->)ServerB: This allows me to server the two round-trips via stateless webservers. |
Now I follow you. You're looking to effectively span process boundaries via It's a good idea and shouldn't take more than a handful of hours to Thanks for the suggestion. Tom On Wed, Sep 3, 2014 at 11:02 PM, Nelz [email protected] wrote:
|
I should have something for you in a couple of days. |
I'm trying to use this library in a Web context... I would prefer if at least the Verifier-side wasn't required to be long-lived.
Here's an example of the unit test rewritten to show what I'm talking about:
Notice that
srv2
was recreated fromsrv
. This will enable the web back-end to be short-lived while doing two client->server hits.The text was updated successfully, but these errors were encountered: