!maunium-v10:maunium.net

Maunium

288 Members
Discussion about any of tulir's projects that don't have dedicated rooms | https://github.com/tulir | https://mau.dev | https://mau.fi145 Servers

Load older messages


SenderMessageTime
16 May 2024
@tulir:maunium.nettulirhttps://github.com/mautrix/signal/tree/bridgev2/connector15:59:34
@pulsedev:pulseflow.chPulseDevOh, cool!15:59:43
@pulsedev:pulseflow.chPulseDevtysm15:59:48
@tulir:maunium.nettulirconnector.go has most stuff, message conversion is shared with the old bridge, login is temporarily hacked into main in the mautrix-signal-v2 directory16:00:04
@pulsedev:pulseflow.chPulseDev okay, thanks! I’ll have a look at it as soon as I‘m home 16:05:42
@pulsedev:pulseflow.chPulseDev Why are people here on Matrix so helpful man
Just got it up and running like 3 days ago and never ran accross someone being toxic or whatever even tho I asked some really dumb things 😂
16:13:51
@pulsedev:pulseflow.chPulseDevOkaay, so from very hasty experimenting in the train it really looks like reading chats need some specific permissions. I certainly hope its just a claim and not a permission set by the organisation 😂😮‍💨16:52:20
@pulsedev:pulseflow.chPulseDevIMG_7447.png
Download IMG_7447.png
16:56:12
@pulsedev:pulseflow.chPulseDevlooks like I‘m gonna do some reverse engineering 16:56:23
@pulsedev:pulseflow.chPulseDevYESSSS it actually workssss But the API is really shitty structured just to get the chats and or name of the other chat person you need to query: /chats for all chats (filter out meetings chat here) /chats/id/members to get the name of the other person and then /chats/id/messages to get the actual messages man whats this xd17:09:57
@pulsedev:pulseflow.chPulseDevAnd then there are endpoints in the explorer which dont even exist lol17:10:55
@pulsedev:pulseflow.chPulseDev * And then there are endpoints in the explorer which dont even exist lol Edit: You need consent/permission from an admin to send messages..17:12:56
@tulir:maunium.nettuliryou probably just need to get the token the same way as the official client (assuming the official clients have the same api)17:27:19
@tulir:maunium.nettulirthat way you'll have all the permissions official clients have17:27:31
@pulsedev:pulseflow.chPulseDevits another api I think from quickly inspecting it :D17:28:15
@tulir:maunium.nettulirthen making a good bridge will probably require reverse-engineering that17:55:24
@tulir:maunium.nettulir(unless you find some workaround for permissions in the official api, like using tokens from the client rather than whatever user tokens they officially let you have)17:55:54
@pulsedev:pulseflow.chPulseDevyeah17:55:59
@pulsedev:pulseflow.chPulseDevIll see17:56:02
17 May 2024
@davicorn:beeper.comdavid

The app I’m debugging for another small bridge is using signed JWT tokens for authentication, with very short expiration time that’s part of the token itself. Also no way to refresh it

Wondering if anyone had experience with this for other bridges. All I can think of currently is to load the apk into ghidra and search for the signing key 🤔
Or see if at some point during initial auth there’s a key exchange but haven’t seen anything like it

06:00:13
@djl0:matrix.orgdjl0 joined the room.20:24:34
18 May 2024
@davicorn:beeper.comdavid *

The app I’m debugging for another small bridge is using signed JWT tokens for authentication, with very short expiration time that’s part of the token itself. Also no way to refresh it

Wondering if anyone had experience with this for other bridges. All I can think of currently is to load the apk into ghidra and search for the signing key 🤔

Or see if at some point during initial auth there’s a key exchange but haven’t seen anything like it

gave up for now

09:56:58
@davicorn:beeper.comdavid *

The app I’m debugging for another small bridge is using signed JWT tokens for authentication, with very short expiration time that’s part of the token itself. Also no way to refresh it

Wondering if anyone had experience with this for other bridges. All I can think of currently is to load the apk into ghidra and search for the signing key 🤔

Or see if at some point during initial auth there’s a key exchange but haven’t seen anything like it

gave up for nowe

09:57:05
@davicorn:beeper.comdavid *

The app I’m debugging for another small bridge is using signed JWT tokens for authentication, with very short expiration time that’s part of the token itself. Also no way to refresh it

Wondering if anyone had experience with this for other bridges. All I can think of currently is to load the apk into ghidra and search for the signing key 🤔

Or see if at some point during initial auth there’s a key exchange but haven’t seen anything like it

gave up for now

09:57:10
19 May 2024
@davicorn:beeper.comdavid
In reply to @pulsedev:pulseflow.ch
Would be really cool 🙃

Hey, I got around to strip my stuff to the bare minimum and push it to GitHub as a boilerplate-ish. I wanted something that I can copy and run right away, but it’s super wip and specific to my needs

https://github.com/dvcrn/bridgekit-boilerplate

Probably better to go with bridgev2 at this point tbh but lmk if this helps as reference

04:45:40
@davicorn:beeper.comdavid Maybe we can make a similar boilerplate/quickstart for bridgev2 04:46:17
@pulsedev:pulseflow.chPulseDevAwesome, thanks!08:03:29
@anderspitman:matrix.org&ers changed their display name from apitman to &ers.23:30:23
20 May 2024
@davicorn:beeper.comdavidRedacted or Malformed Event03:34:39
@davicorn:beeper.comdavidRedacted or Malformed Event03:36:30

There are no newer messages yet.


Back to Room ListRoom Version: 10