!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

130 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix63 Servers

Load older messages


SenderMessageTime
4 Feb 2025
@kira:jakira.spaceKira * oh wait nvm, i'm seeing recommendations from other mautrix modules to define the pickel_key using environmentFile 22:34:50
@miloignis:synapse.room409.xyzmiloignisI have the telegram bridge running with encryption and it works over restarts, I don't remember my config off the top of my head but it looks like you got it!22:54:21
@kira:jakira.spaceKirahmm not quite, i tried following the documentation for the telegram module, to try to match it up with the whatsapp one, and it doesn't seem to work.23:56:10
@kira:jakira.spaceKira i specifically tried to set MAUTRIX_WHATSAPP_ENCRYPTION_PICKLE_KEY= in the environmentFile, but that didn't seem to take. 23:56:11
@kira:jakira.spaceKira * i specifically tried to set MAUTRIX_WHATSAPP_ENCRYPTION_PICKLE_KEY= in the environmentFile, but that didn't seem to take 23:57:19
5 Feb 2025
@miloignis:synapse.room409.xyzmiloignisRedacted or Malformed Event00:06:29
@kira:jakira.spaceKiraoh wait i think i got it00:06:46
@kira:jakira.spaceKirai just noticed that it uses envsubt unlike the telegram module00:06:57
@miloignis:synapse.room409.xyzmiloignis
MAUTRIX_TELEGRAM_APPSERVICE_AS_TOKEN
MAUTRIX_TELEGRAM_APPSERVICE_HS_TOKEN
MAUTRIX_TELEGRAM_TELEGRAM_API_ID
MAUTRIX_TELEGRAM_TELEGRAM_API_HASH
MAUTRIX_TELEGRAM_TELEGRAM_BOT_TOKEN

set, and that's it

00:07:15
@kira:jakira.spaceKira i also had to set services.mautrix-whatsapp.settings.encryption.pickle_key = "$MAUTRIX_WHATSAPP_ENCRYPTION_PICKLE_KEY" 00:07:35
@miloignis:synapse.room409.xyzmiloignis *

I've got

MAUTRIX_TELEGRAM_APPSERVICE_AS_TOKEN
MAUTRIX_TELEGRAM_APPSERVICE_HS_TOKEN
MAUTRIX_TELEGRAM_TELEGRAM_API_ID
MAUTRIX_TELEGRAM_TELEGRAM_API_HASH
MAUTRIX_TELEGRAM_TELEGRAM_BOT_TOKEN

set, and that's it

00:07:36
@miloignis:synapse.room409.xyzmiloignisoh congrats then!00:07:57
@kira:jakira.spaceKiraok yeah, it just look like the whatapp bridge doesn't automatically pickup config from environment variables00:08:04
@kira:jakira.spaceKira * i just noticed that it uses envsubt unlike the telegram module 00:08:20
11 Feb 2025
@sumner:nevarro.spaceSumner EvansI've gone ahead and removed myself from the matrix team and added myself as an explicit maintainer on Synapse. I also updated the tests related to matrix-synapse to reference the maintainers of the package itself as well. https://github.com/NixOS/nixpkgs/pull/38123217:30:25
12 Feb 2025
@kira:jakira.spaceKira changed their display name from kira to Kira.19:59:43
15 Feb 2025
@benjb83:matrix.orgBenjB83 joined the room.10:19:28
@benjb83:matrix.orgBenjB83 changed their display name from Benjamín Buske to BenjB83.10:43:21
26 Feb 2025
@sumner:nevarro.spaceSumner Evans

The pantalaimon build seems entirely broken due to some tests failing.

$ NIXPKGS_ALLOW_INSECURE=1 nix shell --impure '.#pantalaimon'
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
warning: ignoring the client-specified setting 'trusted-public-keys', because it is a restricted setting and you are not a trusted user
error: builder for '/nix/store/53f7n472hy99gsp83i040wbwf12pf190-pantalaimon-0.10.5.drv' failed with exit code 1;
       last 25 log lines:
       > /build/source/tests/pan_client_test.py:27
       > =============================== warnings summary ===============================
       > tests/proxy_test.py::TestClass::test_daemon_start
       > tests/proxy_test.py::TestClass::test_pan_client_sync
       > tests/proxy_test.py::TestClass::test_pan_client_keys_upload
       > tests/proxy_test.py::TestClass::test_server_users_update
       > tests/proxy_test.py::TestClass::tests_server_devices_update
       > tests/store_test.py::TestClass::test_new_indexstore
       >   /nix/store/vl9d79x9b9qyrihimavaaz8g5yla16d2-python3.12-pytest-8.3.4/lib/python3.12/site-packages/_pytest/python.py:148: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped.
       >   You need to install a suitable plugin for your async framework, for example:
       >     - anyio
       >     - pytest-asyncio
       >     - pytest-tornasync
       >     - pytest-trio
       >     - pytest-twisted
       >     warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid)))
       >
       > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
       > =========================== short test summary info ============================
       > ERROR tests/pan_client_test.py::TestClass::test_login
       > ERROR tests/pan_client_test.py::TestClass::test_start_loop
       > ERROR tests/pan_client_test.py::TestClass::test_history_fetching_tasks
       > ERROR tests/pan_client_test.py::TestClass::test_history_fetching_resume
       > ERROR tests/pan_client_test.py::TestClass::test_room_key_on_client_sync_stream
       > ============== 6 passed, 6 skipped, 6 warnings, 5 errors in 0.36s ==============
       For full logs, run 'nix log /nix/store/53f7n472hy99gsp83i040wbwf12pf190-pantalaimon-0.10.5.drv'.

It appears that the async tests are not working properly. How was this not detected before, and does anyone know how Python packaging works well enough to go fix it?

I've tried, but I couldn't figure out how to fix the issue.

19:46:53
2 Mar 2025
@kevincox:matrix.org@kevincox:matrix.org left the room.00:15:36
8 Mar 2025
@ralith:ralith.comRalith what happened to pkgs.matrix-synapse-tools.rust-synapse-compress-state? it seems to have disappeared from 24.11 08:25:10
@ma27:nicht-so.sexyma27apologies, it was my fault given I merged the PR that did not only clean up a few synapse packages, but also renamed this attribute by accident08:26:25
@ma27:nicht-so.sexyma27 Try rust-synapse-state-compress for now, I filed a PR a few days ago that I'll merge in a minute 08:27:10
@ralith:ralith.comRaliththanks08:27:26
@ma27:nicht-so.sexyma27fixed now on 24.11 and master (the wrong alias is kept in aliases.nix to not break folks again who already updated)10:36:26
@ma27:nicht-so.sexyma27apologies for the inconvenience!10:36:38
26 Mar 2025
@sumner:nevarro.spaceSumner Evanshttps://github.com/element-hq/synapse/releases/tag/v1.127.1 was just released which contains a critical security fix for CVE-2025-30355. I updated https://github.com/NixOS/nixpkgs/pull/393086 to bump to the patched version. Can I get some eyes on it and a committer to merge?21:44:12
@ma27:nicht-so.sexyma27deploying it rn.21:51:58
@ma27:nicht-so.sexyma27Given the apparent severity I'm willing to make an exception and merge right away.21:52:16
@emilazy:matrix.orgemilyperhaps a good idea to get someone to kick the channel?21:53:04

Show newer messages


Back to Room ListRoom Version: 4