Page MenuHomePhabricator

D3211.id9700.diff
No OneTemporary

D3211.id9700.diff

diff --git a/docs/dev_environment.md b/docs/dev_environment.md
--- a/docs/dev_environment.md
+++ b/docs/dev_environment.md
@@ -556,14 +556,15 @@
```
cd server
-vim secrets/olm_config.json
+yarn script dist/scripts/generate-olm-config.json
```
The Olm config file should look like this:
```json
{
- "privateKey": "privateKey"
+ "picklingKey": "<random-string>",
+ "pickledAccount": "<random-string>"
}
```
diff --git a/server/src/utils/olm-utils.js b/server/src/utils/olm-utils.js
--- a/server/src/utils/olm-utils.js
+++ b/server/src/utils/olm-utils.js
@@ -3,7 +3,8 @@
import olmConfig from '../../secrets/olm_config';
type OlmConfig = {
- +privateKey: string,
+ +picklingKey: string,
+ +pickledAccount: string,
};
function getOlmConfig(): OlmConfig {

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 15, 7:36 PM (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2495191
Default Alt Text
D3211.id9700.diff (782 B)

Event Timeline