Commit 8fb46d4
authored
fix(derper): update config to auto generate keys (#1599)
## Description
Deploying a derper node is a bit cumbersome right now if you don't run
with default config. You have to provide a `secret_key` but have no easy
path to generate one so either you dance to create a fresh config and
then modify it or need to use some external thing to generate keys for
you. Either way it's cumbersome.
This just adds an extra handler to inject a secret key if not present
already in the supplied config.
## Notes & open questions
<!-- Any notes, remarks or open questions you have to make about the PR.
-->
## Change checklist
- [x] Self-review.
- [ ] Documentation updates if relevant.
- [ ] Tests if relevant.1 parent fda9c60 commit 8fb46d4
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
287 | | - | |
| 288 | + | |
288 | 289 | | |
289 | 290 | | |
290 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
291 | 296 | | |
292 | 297 | | |
293 | 298 | | |
| |||
0 commit comments