Skip to content

Commit

Permalink
Derive Honoroit database password from matrix_homeserver_generic_secr…
Browse files Browse the repository at this point in the history
…et_key

Related to the work done in #818
  • Loading branch information
spantaleev committed Jan 8, 2022
1 parent 425a56c commit 19b5a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group_vars/matrix_servers
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ matrix_bot_honoroit_systemd_required_services_list: |

# 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_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' }}"

######################################################################
Expand Down

0 comments on commit 19b5a50

Please sign in to comment.