Bläddra i källkod

Derive Honoroit database password from matrix_homeserver_generic_secret_key

Related to the work done in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/818
pull/1520/head
Slavi Pantaleev 4 år sedan
förälder
incheckning
19b5a50805
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      group_vars/matrix_servers

+ 1
- 1
group_vars/matrix_servers Visa fil

@@ -982,7 +982,7 @@ matrix_bot_honoroit_systemd_required_services_list: |


# Postgres is the default, except if not using `matrix_postgres` (internal postgres) # Postgres is the default, except if not using `matrix_postgres` (internal postgres)
matrix_bot_honoroit_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}" matrix_bot_honoroit_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}"
matrix_bot_honoroit_database_password: "{{ '%s' | format(matrix_synapse_macaroon_secret_key) | password_hash('sha512', 'honoroit.bot.db') | to_uuid }}"
matrix_bot_honoroit_database_password: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'honoroit.bot.db') | to_uuid }}"
matrix_bot_honoroit_container_image_self_build: "{{ matrix_architecture != 'amd64' }}" matrix_bot_honoroit_container_image_self_build: "{{ matrix_architecture != 'amd64' }}"


###################################################################### ######################################################################


Laddar…
Avbryt
Spara