summaryrefslogtreecommitdiff
path: root/javascript/SHA1.js
diff options
context:
space:
mode:
authorausiv4 <ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5>2009-08-08 20:50:53 +0000
committerausiv4 <ausiv4@eb105b4a-77de-11de-a249-6bf219df57d5>2009-08-08 20:50:53 +0000
commit48c6ab56a73b830c6fcddd32f44636e8b399be85 (patch)
tree0f522e92f9ce0ac810f210f6388246626dd3a8d2 /javascript/SHA1.js
parent29e50956daeadaa6786b7cf34ab96387e5295bb6 (diff)
This adds upgrade functionality so that existing django apps can switch to SRP.
If a user exists in the auth table but not the srp table, the server sends back the algorithm and salt needed to hash the password. The hashed password is used to authenticate the user. After the server authenticates the user and the user verifies the identity of the server, the user sends the password in plaintext. The server uses the plaintext password to calculate the verifier and stores. Finally, the client reinitiates the login process.
Diffstat (limited to 'javascript/SHA1.js')
0 files changed, 0 insertions, 0 deletions