Skip to content

move the cloak secret into the database #952

@slingamn

Description

@slingamn

#481 mentions that the main reason not to store the cloak secret in the database was simple "laziness". We could start storing it in the database (with the caveat that it has to be the same across all networks). Here's how this would work:

  1. If an existing cloak secret is defined (either in the config or in an environment variable), store it in the database
  2. Otherwise, autogenerate a suitable cloak secret and store it in the database
  3. Provide service commands to rotate (and possibly import and export) the secret as necessary

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions