2 ms·
The first step in the SRP protocol is to retrieve the cryptographic salt from the server, so you're essentially free to roam. This step has concerns of its own
by nly 13y ago
The first step in the SRP protocol is to retrieve the cryptographic salt from the server, so you're essentially free to roam.
This step has concerns of its own though... for one thing the request itself reveals that the username/id is valid, and if you cache the userid / salt pair on the client machine it's vulnerable to snooping by other people with physical access. There are some fairly straightforward tweaks that can be made to the protocol to work around these issues though, since the salt isn't sensitive. In fact, I'm pretty confident storing the salt server side can be eliminated.
- vidarh 13y ago> This step has concerns of its own though... for one thing the request itself reveals that the username/id is valid Does it have to? Can you not have an implementation that always responds with a fake salt if the username is not valid?
- nly 13y agoYes, or you can just use a deterministic salt like H ( service id || user id )