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 spantaleev#818
  • Loading branch information
spantaleev authored and HarHarLinks committed Feb 16, 2022
1 parent 604aefb commit 159e6ec
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 @@ -1021,7 +1021,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 159e6ec

Please sign in to comment.