Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
serveur_hebergement:matrix:installer_un_pont_signal_-_matrix [2024/01/20 16:15] – [Python3] fate | serveur_hebergement:matrix:installer_un_pont_signal_-_matrix [2025/01/25 17:03] (Version actuelle) – fate | ||
---|---|---|---|
Ligne 16: | Ligne 16: | ||
Installez le module shared-secret-authenticator : | Installez le module shared-secret-authenticator : | ||
<code bash> | <code bash> | ||
- | |||
- | ==== Signald ==== | ||
- | |||
- | Il va nous falloir également installer [[https:// | ||
- | |||
- | On va récupérer le dépôt officiel en commençant par récupérer les clés de signature : | ||
- | <code bash> | ||
- | sudo wget -O / | ||
- | </ | ||
- | |||
- | Créez le fichier | ||
- | < | ||
- | |||
- | Ajoutez les lignes suivante puis enregistrez | ||
- | < | ||
- | |||
- | Mettez à jours les paquets | ||
- | <code bash> | ||
- | |||
- | Installez Signald | ||
- | <code bash> | ||
==== Libolm et bibliothèques dev ==== | ==== Libolm et bibliothèques dev ==== | ||
Ligne 175: | Ligne 154: | ||
Le " | Le " | ||
- | Installez Shared Secret Authenticator | + | Créez un fichier doublepupetting.yaml dans le répertoire du pont et copiez les lignes suivantes : |
- | < | + | < |
+ | # The ID doesn' | ||
+ | id: doublepuppet | ||
+ | # The URL is intentionally left empty (null), as the homeserver shouldn' | ||
+ | # push events anywhere for this extra appservice. If you use a | ||
+ | # non-spec-compliant server, you may need to put some fake URL here. | ||
+ | url: | ||
+ | # Generate random strings for these three fields. Only the as_token really | ||
+ | # matters, hs_token is never used because there' | ||
+ | # user (sender_localpart) is never used either. | ||
+ | as_token: votre_token | ||
+ | hs_token: votre_token | ||
+ | sender_localpart: | ||
+ | # Bridges don't like ratelimiting. This should only apply when using the | ||
+ | # as_token, normal user tokens will still be ratelimited. | ||
+ | rate_limited: | ||
+ | namespaces: | ||
+ | users: | ||
+ | # Replace your\.domain with your server name (escape dots for regex) | ||
+ | | ||
+ | # This must be false so the appservice doesn' | ||
+ | exclusive: false | ||
+ | </ | ||
- | Générez | + | Vous pouvez générer |
<code bash> | <code bash> | ||
- | Ouvrez le fichier homeserver.yaml de Synapse et ajoutez les lignes suivantes | + | Ouvrez le fichier homeserver.yaml de Synapse et ajoutez les lignes suivantes |
< | < | ||
- | modules: | + | # Shared secrets for automatic double puppeting. |
- | | + | |
- | config: | + | |
- | shared_secret: | + | votre.domaine.fr: as_token:votre_token_as |
- | # By default, only login requests of type `com.devture.shared_secret_auth` are supported. | + | |
- | # Below, we explicitly enable support | + | |
- | # which was used in v1 of matrix-synapse-shared-secret-auth and still widely supported by external software. | + | |
- | # If you don't need such legacy support, consider setting this to `false` or omitting it entirely. | + | |
- | m_login_password_support_enabled: true | + | |
</ | </ | ||
- | Ouvrez | + | Enfin, ouvrez |
- | < | + | |
- | login_shared_secret_map: | + | |
- | example.com: foo | + | |
- | </ | + | |
- | par | + | |
- | < | + | |
- | login_shared_secret_map: | + | |
- | adresse_du_serveur_matrix: | + | |
- | </ | + | |
Redémarrez Synapse et le pont Signal | Redémarrez Synapse et le pont Signal |