Confirmed users
358
edits
(→Test Vectors: update to use keyRequestKey in account/keys) |
(Remove notion of a "createToken" which we don't intend to implement) |
||
Line 26: | Line 26: | ||
* create srpVerifier from srpPW and srpSalt (as described below) | * create srpVerifier from srpPW and srpSalt (as described below) | ||
* deliver (email, stretchParams, mainSalt, srpParams, srpSalt) to the keyserver's "POST /account/create" API | * deliver (email, stretchParams, mainSalt, srpParams, srpSalt) to the keyserver's "POST /account/create" API | ||
The server, when creating a new account, creates both kA and wrap(kB) as randomly-generated 256-bit (32-byte) strings. It stores these, along with all the remaining values, indexed by email, in the account table where they can be retrieved by getToken later. | The server, when creating a new account, creates both kA and wrap(kB) as randomly-generated 256-bit (32-byte) strings. It stores these, along with all the remaining values, indexed by email, in the account table where they can be retrieved by getToken later. |