Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cette session ne prend pas en charge le chiffrement #370

Open
cmakasy opened this issue Nov 18, 2024 · 0 comments
Open

Cette session ne prend pas en charge le chiffrement #370

cmakasy opened this issue Nov 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cmakasy
Copy link

cmakasy commented Nov 18, 2024

Describe the bug
on
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

Cette session ne prend pas en charge le chiffrement, elle ne peut donc pas être vérifiée.

To Reproduce
Steps to reproduce the behavior:

if (loginMode == "password") {
    const authClient = await auth.passwordLogin(user.username, user.password);
    user.accessToken = authClient.accessToken;
  }

  client = new MatrixClient(homeserverUrl, user.accessToken, storage, crypto);

with

const botStorage = `${storageDir}/bot-${configId}/bot-${configId}.json`;
const botCryptoStorage = `${storageDir}/bot-${configId}/bot-${configId}-crypto`;

Expected behavior
Creation of a device that can work with encrypted rooms.

Log snippet

Mon, 18 Nov 2024 08:40:44 GMT [INFO] [matrix_bot] Bot initializing...
...
Mon, 18 Nov 2024 08:40:51 GMT [INFO] [MatrixClientLite] End-to-end encryption enabled
Mon, 18 Nov 2024 08:40:51 GMT [INFO] [matrix_bot] Bot started!
@cmakasy cmakasy added the bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant