-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate nonce, check that it's not too old
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2fbaa2a
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 new mg_rpc_check_nonce caused me grief. Simple reason why is it's enforcing unix time on the server rather than accepting a client provided nonce.
I'll update the docu I provided on https://mongoose-os.com/docs/mongoose-os/userguide/rpc.md
2fbaa2a
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.
Generally I'd like to venture the "if it's not broken then don't break it". The MOS implementation of htdigest is primitive, it was discussed in a number of forums as being just that. Doesn't increment the TC field, plaintext, etc. If it's going to suddenly get new 'features' then can I ask it's broadcast carefully and licensed users have time to provide feedback?