Skip to content

Commit 5143ac5

Browse files
authored
Update UsingSeal.md (#128)
1 parent d5c9fff commit 5143ac5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/examples @joyqvq @benr-ml @jonas-lj
22
/crates @jonas-lj @benr-ml @joyqvq
33
/move @jonas-lj @benr-ml @joyqvq
4-
*.md @benr-ml @abhinavg6
4+
*.md @benr-ml @abhinavg6 @joyqvq @jonas-lj

UsingSeal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const client = new SealClient({
8282
verifyKeyServers: false,
8383
});
8484
```
85-
The `serverObjectIds` is a list of tuples, where each tuple contains a key server object ID and its weight. Recall that the weight indicates how many times the key server can contribute towards reaching the decryption threshold. In this case, all key servers are given equal weight 1.
85+
The `serverConfigs` is a list of objects, where each object contains a key server object ID and its weight. Recall that the weight indicates how many times the key server can contribute towards reaching the decryption threshold. In this example, all key servers are given equal weight 1. The object may contain also the fields `apiKeyName` and `apiKey` for sending the HTTP header `apiKeyName: apiKey` in case a key server expects an API key.
8686

8787
Set `verifyKeyServers` to `true` if the app or user needs to confirm that the provided URLs correctly correspond to the claimed key servers, as described above. Note that enabling verification introduces additional round-trip requests to the key servers. For best performance, use this option primarily when verifying key servers at app startup. Set `verifyKeyServers` to `false` when verification is not required.
8888

0 commit comments

Comments
 (0)