Crate easy_srp

Source
Expand description

Easy to use wrapper around the srp crate for SRP6 authentication

See the README.md for more information about the usage of this crate. The tests at the end of this file may also provide a good starting point for how to use the client- and server-workflows.

Modules§

groups
Re-exports the SRP groups included in the srp crate so directly importing the srp crate is not necessary.
messages
Contains the four messages that client and server would exchange as part of the SRP6a protocol. These messages are included for clarity and not used directly by the easy-srp library.
types

Structs§

ClientAuthenticationWorkflow
Client-side of the authentication workflow
ClientRegistrationWorkflow
Workflow for generating the salt and the verifier for the server
ClientStep1Result
Result of step1
ClientStep3Params
Params of step 3
ClientStep3Result
Result of step 3
GenerateVerifierParams
Parameters for verifier generation
ServerAuthenticationWorkflow
Server-side of the authentication workflow
ServerStep2Params
Parameters for step 2
ServerStep2Result
ServerStep4Params
Parameters for step 4
ServerStep4Result
Result of step 4
Verifier
A generated verifier