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

No encryption enable, though libcrypto is present #1778

Open
1 of 2 tasks
nohkumado opened this issue Apr 24, 2024 · 2 comments
Open
1 of 2 tasks

No encryption enable, though libcrypto is present #1778

nohkumado opened this issue Apr 24, 2024 · 2 comments

Comments

@nohkumado
Copy link

Checklist

  • I could not find a solution in the documentation, the existing issues or discussions.
  • I already asked for help in the chat

In which Project did the bug appear?

Other

If you selected "Other" as Project, please enter in which project the bug occurred.

my own

On which platform did the bug appear?

Android

SDK Version

0.22.7

Describe the problem caused by this bug

Hello,
if someone could point me in the direction of the chat, couldn't find any reference to it?
platform is linux, and pure dart, not available in the form...

Problem is, that i want to connect through direct messages, and those are encrypted, and the encryption doesn't activate on the client

Steps To Reproduce

From the code i extracted or got pointed to the following starters

final libcrypto =DynamicLibrary.open('libcrypto.so.3');
    print("crypto lib: $libcrypto");
    await olm.init();
    print("inst olm ${olm.get_library_version()}");

    client = Client('IpxBot');

    //client.encryption = Encryption(client: client);
    print("++++++++ encryption enabled: ${client.encryption}");

which gives as output:

crypto lib: DynamicLibrary: handle=0x7b233c0015d0
inst olm [3, 2, 13]
client: Instance of 'Client'
++++++++ encryption enabled: null

so from this i see that libcrypto is ok, olm is ok, but the client still reports no encryption?
if i initialise, as in the comment, the client.encryption, the rest gives me an ok, but encyption still doesn't work on the channel, communication to the user is garbled...

so what did i forget or not do?

thanks in advance
Bruno

Screenshots or Logs

No response

Security related

No response

@nohkumado nohkumado added the bug Something isn't working label Apr 24, 2024
@krille-chan
Copy link
Contributor

This is a support question, not a bug. Removing the label and the github project

@krille-chan krille-chan removed the bug Something isn't working label May 2, 2024
@nohkumado
Copy link
Author

and where do i direct support questions please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants