Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

230 lines
12 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2025, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2025-01-27 09:54+0200\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/configuring-playbook-user-verification-service.md:1
  19. msgid "Setting up Matrix User Verification Service (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-user-verification-service.md:3
  22. msgid "The playbook can install and configure [Matrix User Verification Service](https://github.com/matrix-org/matrix-user-verification-service) (hereafter: UVS) for you."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-user-verification-service.md:5
  25. msgid "See the project's [documentation](https://github.com/matrix-org/matrix-user-verification-service/blob/master/README.md) to learn what it does and why it might be useful to you."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-user-verification-service.md:7
  28. msgid "Currently, the main purpose of this role is to allow Jitsi to authenticate Matrix users and check if they are authorized to join a conference. If the Jitsi server is also configured by this playbook, all plugging of variables and secrets is handled in `group_vars/matrix_servers`."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-user-verification-service.md:9
  31. msgid "What does it do?"
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-user-verification-service.md:11
  34. msgid "UVS can be used to verify two claims:"
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-user-verification-service.md:13
  37. msgid "(A) Whether a given OpenID token is valid for a given server and"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-user-verification-service.md:14
  40. msgid "(B) whether a user is member of a given room and the corresponding PowerLevel"
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-user-verification-service.md:16
  43. msgid "Verifying an OpenID token ID done by finding the corresponding Homeserver via `/.well-known/matrix/server` for the given domain. The configured `matrix_user_verification_service_uvs_homeserver_url` does **not** factor into this. By default, this playbook only checks against `matrix_server_fqn_matrix`. Therefore, the request will be made against the public `openid` API for `matrix_server_fqn_matrix`."
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-user-verification-service.md:18
  46. msgid "Verifying RoomMembership and PowerLevel is done against `matrix_user_verification_service_uvs_homeserver_url` which is by default done via the docker network. UVS will verify the validity of the token beforehand though."
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-user-verification-service.md:20
  49. msgid "Prerequisites"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-user-verification-service.md:22
  52. msgid "Open Matrix Federation port"
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-user-verification-service.md:24
  55. msgid "Enabling the UVS service will automatically reconfigure your Synapse homeserver to expose the `openid` API endpoints on the Matrix Federation port (usually `8448`), even if [federation](configuring-playbook-federation.md) is disabled. If you enable the component, make sure that the port is accessible."
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-user-verification-service.md:26
  58. msgid "Install Matrix services"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-user-verification-service.md:28
  61. msgid "UVS can only be installed after Matrix services are installed and running. If you're just installing Matrix services for the first time, please continue with the [Configuration](configuring-playbook.md) / [Installation](installing.md) and come back here later."
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-user-verification-service.md:30
  64. msgid "Register a dedicated Matrix user (optional, recommended)"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-user-verification-service.md:32
  67. msgid "We recommend that you create a dedicated Matrix user for uvs (`uvs` is a good username). **Because UVS requires an access token as an admin user, that user needs to be an admin.**"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-user-verification-service.md:34
  70. msgid "Generate a strong password for the user. You can create one with a command like `pwgen -s 64 1`."
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-user-verification-service.md:36
  73. msgid "You can use the playbook to [register a new user](registering-users.md):"
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-user-verification-service.md:42
  76. msgid "Obtain an access token"
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-user-verification-service.md:44
  79. msgid "UVS requires an access token as an admin user to verify RoomMembership and PowerLevel against `matrix_user_verification_service_uvs_homeserver_url`. Refer to the documentation on [how to obtain an access token](obtaining-access-tokens.md)."
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-user-verification-service.md:46
  82. msgid "[!WARNING] Access tokens are sensitive information. Do not include them in any bug reports, messages, or logs. Do not share the access token with anyone."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-user-verification-service.md:49
  85. msgid "Adjusting the playbook configuration"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-user-verification-service.md:51
  88. msgid "To enable UVS, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to replace `ACCESS_TOKEN_HERE` with the one created [above](#obtain-an-access-token)."
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-user-verification-service.md:59
  91. msgid "In the default configuration, the UVS Server is only reachable via the docker network, which is fine if e.g. Jitsi is also running in a container on the host. However, it is possible to expose UVS via setting `matrix_user_verification_service_container_http_host_bind_port`."
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-user-verification-service.md:61
  94. msgid "Custom Auth Token (optional)"
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-user-verification-service.md:63
  97. msgid "It is possible to set an API Auth Token to restrict access to the UVS. If this is enabled, anyone making a request to UVS must provide it via the header `Authorization: Bearer YOUR_TOKEN_HERE`."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-user-verification-service.md:65
  100. msgid "By default, the token (`YOUR_TOKEN_HERE`) will be derived from `matrix_homeserver_generic_secret_key` in `group_vars/matrix_servers`."
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-user-verification-service.md:67
  103. msgid "To set your own token, add the following configuration to your `vars.yml` file. Make sure to replace `YOUR_TOKEN_HERE` with your own."
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-user-verification-service.md:73
  106. msgid "If a Jitsi instance is also managed by this playbook and [`matrix` authentication](configuring-playbook-jitsi.md#authenticate-using-matrix-openid-auth-type-matrix) is enabled there, this collection will automatically configure Jitsi to use the configured auth token."
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-user-verification-service.md:75
  109. msgid "Disable Authorization (optional)"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-user-verification-service.md:77
  112. msgid "Authorization is enabled by default. To disable it, add the following configuration to your `vars.yml` file:"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-user-verification-service.md:83
  115. msgid "Federation (optional)"
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-user-verification-service.md:85
  118. msgid "In theory (however currently untested), UVS can handle federation. To enable it, add the following configuration to your `vars.yml` file:"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-user-verification-service.md:91
  121. msgid "This will instruct UVS to verify the OpenID token against any domain given in a request. Homeserver discovery is done via `.well-known/matrix/server` of the given domain."
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-user-verification-service.md:93
  124. msgid "Extending the configuration"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-user-verification-service.md:95
  127. msgid "There are some additional things you may wish to configure about the component."
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-user-verification-service.md:97
  130. msgid "Take a look at:"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-user-verification-service.md:99
  133. msgid "`roles/custom/matrix-user-verification-service/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-user-verification-service.md:101
  136. msgid "Installing"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-user-verification-service.md:103
  139. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-user-verification-service.md:110
  142. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-service matrix-user-verification-service` or `just setup-all`"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-user-verification-service.md:112
  145. msgid "`just install-service matrix-user-verification-service` is useful for maintaining your setup quickly when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note `just setup-all` runs the `ensure-matrix-users-created` tag too."
  146. msgstr ""
  147. #: ../../../docs/configuring-playbook-user-verification-service.md:114
  148. msgid "Troubleshooting"
  149. msgstr ""
  150. #: ../../../docs/configuring-playbook-user-verification-service.md:116
  151. msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-user-verification-service`."
  152. msgstr ""
  153. #: ../../../docs/configuring-playbook-user-verification-service.md:118
  154. msgid "Increase logging verbosity"
  155. msgstr ""
  156. #: ../../../docs/configuring-playbook-user-verification-service.md:120
  157. msgid "The default logging level for this component is `info`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:"
  158. msgstr ""
  159. #: ../../../docs/configuring-playbook-user-verification-service.md:127
  160. msgid "TLS Certificate Checking"
  161. msgstr ""
  162. #: ../../../docs/configuring-playbook-user-verification-service.md:129
  163. msgid "If the Matrix Homeserver does not provide a valid TLS certificate, UVS will fail with the following error message:"
  164. msgstr ""
  165. #: ../../../docs/configuring-playbook-user-verification-service.md:131
  166. msgid "message: 'No response received: [object Object]',"
  167. msgstr ""
  168. #: ../../../docs/configuring-playbook-user-verification-service.md:133
  169. msgid "This also applies to self-signed and Let's Encrypt staging certificates."
  170. msgstr ""
  171. #: ../../../docs/configuring-playbook-user-verification-service.md:135
  172. msgid "To disable certificate validation altogether (INSECURE! Not suitable for production use!) set: `NODE_TLS_REJECT_UNAUTHORIZED=0`"
  173. msgstr ""
  174. #: ../../../docs/configuring-playbook-user-verification-service.md:137
  175. msgid "Alternatively, it is possible to inject your own CA certificates into the container by mounting a PEM file with additional trusted CAs into the container and pointing the `NODE_EXTRA_CA_CERTS` environment variable to it."
  176. msgstr ""