Skip to content

Commit 95ff2b9

Browse files
committed
Document share encryption in dev guide
1 parent 6be3728 commit 95ff2b9

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

docs/developer-guide.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,4 +380,32 @@ signature, adds the `DSKE-Signature` header, and removes the temporary `DSKE-Sig
380380

381381
## Share encryption
382382

383-
TODO
383+
When a client POSTs a key share to a hub, the share is in the POST request:
384+
385+
* The client allocates an encryption from the local pool for that hub.
386+
387+
* The client encrypts the key share using that encryption key.
388+
389+
* The client sends both the encrypted share data and the meta-data of the encryption key to the
390+
hub in the POST request.
391+
392+
* The hub extracts the encryption key meta-data from the received POST request.
393+
394+
* The hub allocates the encryption key from the remote PSRD pool for that client.
395+
396+
* The hub decrypts the share data.
397+
398+
When a client GETs a key share from a hub, the share is in the GET response:
399+
400+
* The hub allocates an encryption from the local pool for that client.
401+
402+
* The hub encrypts the key share using that encryption key.
403+
404+
* The hub sends both the encrypted share data and the meta-data of the encryption key to the
405+
hub in the GET response.
406+
407+
* The client extracts the encryption key meta-data from the received GET response.
408+
409+
* The client allocates the encryption key from the remote PSRD pool for that hub.
410+
411+
* The client decrypts the share data.

0 commit comments

Comments
 (0)