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

The bridge is being rewritten in Go #372

Closed
tulir opened this issue Jul 12, 2023 · 8 comments
Closed

The bridge is being rewritten in Go #372

tulir opened this issue Jul 12, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@tulir
Copy link
Member

tulir commented Jul 12, 2023

The Python version will likely not receive any further updates. Once the Go bridge is ready for general use, it will be merged into this repository and replace the Python version. The new bridge will likely support a direct upgrade from the last old version (v0.4.3) preserving all portal rooms. However, Signal logins are currently managed by signald, which the new bridge will not use, so those will not be preserved and all users will have to re-link the bridge.

@tulir tulir added the enhancement New feature or request label Jul 12, 2023
@tulir tulir pinned this issue Jul 12, 2023
@NilsIrl
Copy link

NilsIrl commented Jul 28, 2023

Thinking of having a go/look at #1. In light of this, what are things to consider?

@mattcen
Copy link

mattcen commented Aug 5, 2023

Is the plan to link against libsignal (I have no idea how easy that is since it's written in Rust), or are you writing from scratch?

@maltee1
Copy link
Contributor

maltee1 commented Aug 5, 2023

Against libsignal using an FFI layer

@erebion
Copy link

erebion commented Aug 31, 2023

How about using the re-write as an opportunity to add something like "this might take a while" messages for commands that usually can take a while? Sometimes it is a bit confusing when not knowing whether the bridge is doing anything. :)

Might be a good time for collecting suggestions anyway, right?

@mietzen
Copy link

mietzen commented Oct 19, 2023

Is there a roadmap for the golang rewrite? Will this be pushed into this repo?

@Dual-0
Copy link

Dual-0 commented Oct 19, 2023

Is there a roadmap for the golang rewrite? Will this be pushed into this repo?

read the repo description:

Go rewrite of mautrix-signal - This is a temporary project that will be merged into the main mautrix-signal repo when ready

@pbek
Copy link

pbek commented Dec 18, 2023

Is there a roadmap for the golang rewrite? Will this be pushed into this repo?

It was pushed today. But I had issues, see #382.

@Tropaion
Copy link

Sadly not working for me, bot doesn't respond to anything.
I had the previous version installed with pip in an venv.
I copied conig.yaml and registration.yaml, deleted the venv and installed the go version with systemd service.
I can start to bridge and I didn't recognized any error either, but I don't get any responsed.
When I write a message, it clearly sees it because it says:
Feb 17 01:51:55 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:51:55+01:00 DBG Decrypted olm message component=crypto olm_session_id=hO6srLgiq5ylSHp5R7g+mZjiF8F+tPyP/TiqA+biH8k sender=@fabian:flowerhouse.at trace_id=01:51:55.160123 type=m.room.encrypted Feb 17 01:51:55 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:51:55+01:00 DBG Received inbound group session component=crypto is_scheduled=false max_age=0s max_messages=0 sender=@fabian:flowerhouse.at sender_key=jXnd/sDu9Mjy/qO0V79tVM/oSRb4InwF1fd9h7CDg1M session_id=rfFmneUZzT1LnJ5CE2x7z4lfeptSxT4C14wa2JFUEE8 trace_id=01:51:55.160123 type=m.room.encrypted Feb 17 01:52:25 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:52:25+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30013.32983 method=GET req_id=18 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150118_23155148_20_521007_34987_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:52:55 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:52:55+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30009.236038 method=GET req_id=19 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150118_23155148_20_521007_34987_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:53:25 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:53:25+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30007.945636 method=GET req_id=20 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150121_23155175_24_521010_34990_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:53:55 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:53:55+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30008.163629 method=GET req_id=21 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150122_23155199_26_521011_34992_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:54:25 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:54:25+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30008.402647 method=GET req_id=22 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150122_23155211_26_521011_34992_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:54:55 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:54:55+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30007.260044 method=GET req_id=23 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150122_23155238_26_521011_34992_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:55:25 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:55:25+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30007.305478 method=GET req_id=24 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150122_23155250_26_521011_34992_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:55:55 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:55:55+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30006.617756 method=GET req_id=25 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150122_23155279_26_521013_34992_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at Feb 17 01:56:25 ChatMatrix mautrix-signal[253539]: 2024-02-17T01:56:25+01:00 DBG Request completed as_user_id=@signalbot:flowerhouse.at duration=30006.677926 method=GET req_id=26 response_length=219 response_mime=application/json status_code=200 url=http://localhost:8008/_matrix/client/v3/sync?filter=1&since=s150122_23155289_26_521015_34992_28_26889_2246911_0_2&timeout=30000&user_id=%40signalbot%3Aflowerhouse.at

@mautrix mautrix locked and limited conversation to collaborators Feb 17, 2024
@tulir tulir unpinned this issue Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

9 participants