p2p instant question sending fixes

This commit is contained in:
mrfry 2023-04-26 15:02:50 +02:00
parent 977c118da8
commit f047701106
9 changed files with 75 additions and 56 deletions

View file

@ -93,11 +93,11 @@ To setup P2P functionality you have to create a few files in `./data/p2p`:
}
```
* `peers.json` : an array, with objects same as above, and:
* `peers.json`: List of registered peers. An array, with objects same as above, and:
```json
{
"pw": "password to the host, so the server can log in there. Please use a dedicated password, that only the server uses!",
"publicKey": "public key of the server"
"publicKey": "public key of the server for encryption"
}
```
Public key is optional, but needed to encrypt and add the users database in the response, so they