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

Support encrypted rooms #12

Open
progval opened this issue Oct 23, 2021 · 20 comments
Open

Support encrypted rooms #12

progval opened this issue Oct 23, 2021 · 20 comments
Labels
enhancement New feature or request
Milestone

Comments

@progval
Copy link
Owner

progval commented Oct 23, 2021

This will have to wait for libolm (or an alternative) to be documented; ideally with an Elixir/Erlang binding.

@progval progval added the enhancement New feature or request label Oct 23, 2021
@progval progval added this to the Far future milestone Oct 23, 2021
@progval
Copy link
Owner Author

progval commented Dec 5, 2021

This might be useful to allow access to attachements: https://github.com/seirl/matrix-decryptapp

Quoting weechat-matrix's README:

  • In the browser by using
    matrix-decryptapp. This is a
    static website which cannot see your data, all the decryption happens
    on the client side. You can either host it yourself or directly use the
    instance hosted on seirl.github.io. This weechat trigger will convert all
    your emxc:// URLs into clickable https links:

    /trigger addreplace emxc_decrypt modifier weechat_print "" ";($|[^\w/#:\[])(emxc://([^ ]+));${re:1}https://seirl.github.io/matrix-decryptapp/#${re:2};"
    

@progval
Copy link
Owner Author

progval commented Feb 8, 2022

May be very useful to avoid dealing with OLM directly: https://github.com/matrix-org/pantalaimon

@progval progval mentioned this issue Jun 10, 2022
@progval progval pinned this issue Jun 10, 2022
@progval
Copy link
Owner Author

progval commented Nov 13, 2022

I started working on a branch to support Pantalaimon: https://github.com/progval/matrix2051/tree/pantalaimon

Unfortunately the version of Pantalaimon in Debian is unusable (because of matrix-org/pantalaimon#109 ) so I am not interested in testing this further myself for the moment. Feedback is welcome, though.

@Thaodan
Copy link
Contributor

Thaodan commented Nov 13, 2022 via email

@Thaodan
Copy link
Contributor

Thaodan commented Dec 18, 2022

I started working on a branch to support Pantalaimon: https://github.com/progval/matrix2051/tree/pantalaimon

Unfortunately the version of Pantalaimon in Debian is unusable (because of matrix-org/pantalaimon#109 ) so I am not interested in testing this further myself for the moment. Feedback is welcome, though.

Can you rebase the branch?

@progval
Copy link
Owner Author

progval commented Dec 18, 2022

done

@Thaodan
Copy link
Contributor

Thaodan commented Dec 21, 2022

What works:

  • Channel name
  • User name in channels

Warnings about:

channel, channel, channel commas are not allowed in channel names (ISUPPORT MAXTARGETS/TARGMAX not implemented?)

@progval
Copy link
Owner Author

progval commented Dec 21, 2022

the warning is unrelated, it happens when IRC clients send too many joins at once

@Thaodan
Copy link
Contributor

Thaodan commented Dec 22, 2022

I noticed there still an unencrypted connection that is from time to time (at least it appears in the client list).

@progval
Copy link
Owner Author

progval commented Dec 22, 2022

I don't understand. Unencrypted connection from what to what?

@Thaodan
Copy link
Contributor

Thaodan commented Dec 22, 2022 via email

@progval
Copy link
Owner Author

progval commented Dec 22, 2022

oh you mean it's not going through Pantalaimon? Right, I'll try to look into it

@Thaodan
Copy link
Contributor

Thaodan commented Dec 22, 2022 via email

@Thaodan
Copy link
Contributor

Thaodan commented Feb 16, 2023

Val Lorentz @.***> writes:
oh you mean it's not going through Pantalaimon? Right, I'll try to look into it
It is but first there's an unencrypted that is opened I think.

Is this the issue that needs to be fixed before you can merge the proxy feature?

@progval
Copy link
Owner Author

progval commented Feb 16, 2023

Yes, and I'm also still unhappy with the realname hack. A CLI option might be better

@Thaodan
Copy link
Contributor

Thaodan commented Feb 16, 2023 via email

@Thaodan
Copy link
Contributor

Thaodan commented Aug 8, 2023

Any news on this issue? Maybe better to have a solution even if it isn't perfect.

@progval
Copy link
Owner Author

progval commented Aug 8, 2023

Actually I haven't got Pantalaimon setup yet (I ran into some unrelated issues). I'd appreciate if you could pinpoint specific issues you have with Pantalaimon along with a tcpdump

@progval
Copy link
Owner Author

progval commented Feb 16, 2024

Someone tells me Pantalaimon + Matrix2051 (pantalaimon branch, ea1f134) works for them. So it's probably just a matter of deciding the best way (GECOS vs PASS vs CLI argument vs ???) to tell M51 how to connect to a proxy.

@Thaodan
Copy link
Contributor

Thaodan commented Feb 23, 2024 via email

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

No branches or pull requests

2 participants