You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sign in example in the Readme is incorrect. Specifically, B is assigned to an instance of SRPServerSessionStep1, not to a bigint. Should this have been destructured?
// Sign inconstsrp6aNimbusClient=newSRPClientSession(srp6aNimbusRoutines);awaitsrp6aNimbusClient.step1(username,password);// erase password at this point, it is no longer storedpassword=""constserver=newSRPServerSession(srp6aNimbusRoutines);// server gets identifier from client, salt+verifier from db (from signup)constB=awaitserver.step1(username,salt,verifier);// client gets challenge B from server step1 and sends prove M1 to serverconst{A,M1}=awaitsrp6aNimbusClient.step2(salt,B);// servers checks client prove M1 and sends server prove M2 to clientconstM2=awaitserver.step2(A,M1);// client ensures server identityawaitsrp6aNimbusClient.step3(M2);
The text was updated successfully, but these errors were encountered:
The sign in example in the Readme is incorrect. Specifically,
B
is assigned to an instance ofSRPServerSessionStep1
, not to a bigint. Should this have been destructured?The text was updated successfully, but these errors were encountered: