Sender | Message | Time |
---|---|---|
5 Sep 2024 | ||
Alex | k | 19:52:05 |
nex (she/it) | wrong alex 🙏 | 19:52:06 |
Alex | because the http urls won't make sense anymore, as soon as token auth in query strings are removed? | 19:54:20 |
Alex | looks like it's working | 19:55:35 |
nex (she/it) | In reply to@timegrid:matrix.c3s.cchttps://github.com/matrix-nio/matrix-nio/issues/404 is being used to track the replacement of the query string auth tokens. Its gonna be a pretty big change, which is out of scope for this | 19:56:01 |
Alex | yup, thought so. do you know, when this will happen? i mean the removal in the specs and the implementation in the servers | 19:57:07 |
nex (she/it) | afaik, the parameter is only deprecated, not slated for removal | 19:57:46 |
nex (she/it) | so, from what I can tell, we aren't in hot water yet | 19:57:58 |
nex (she/it) | but its very much one of those things that could change at any time | 19:58:06 |
nex (she/it) | The difficulty comes in finding a solution that breaks the least number of downstream projects | 19:58:26 |
nex (she/it) | Sorry, I linked to the wrong issue | 19:58:47 |
nex (she/it) | https://github.com/matrix-nio/matrix-nio/issues/511 | 19:58:55 |
Alex | thx, i already found it | 19:58:59 |
nex (she/it) | 511 is the query string issue | 19:58:59 |
Alex | removal seems to be pending, but i don't know where to look for timelines. the proposed solution in that ticket was what i thought of after looking into the code. i'm just a bit afraid, that the removal will suprize me like the authed content ^^ in any case, thx for the PR | 20:04:31 |
nex (she/it) | Auth media really does feel like it just came out of nowhere lol | 20:05:16 |
nex (she/it) | In reply to@timegrid:matrix.c3s.ccYeah just confirmed, when MSC4127 is merged, that's when they become fully removed, not just depreacted | 20:09:32 |
nex (she/it) | However, it also looks like none of the key people have proposed merging it yet, so there's still some time | 20:12:24 |
Alex | thx for checking, i hope you are right :) | 21:06:00 |
6 Sep 2024 | ||
Alex | nex (she/it): i think there's still a bug in | 17:43:39 |
Alex | it's due to calling | 17:48:32 |
Alex | if | 18:03:55 |
Alex | moment for example also uses the function to fetch the url of the avatars, which would break without access_token. probably i'd just remove the image sharing function to prevent its leakage, which will be obsolete anyway then. just as a reminder, that the query parameter issue might be more severe (ppl are used to just copy and paste the url) and clients might need to take action to protect their users | 19:08:46 |
7 Sep 2024 | ||
nex (she/it) | In reply to@timegrid:matrix.c3s.ccNo you're right, it is meant to return the domain too | 12:22:42 |
nex (she/it) | I forgot that build_path does just the path, I thought it also included the domain lol | 12:22:55 |
nex (she/it) | Will patch that now | 12:22:57 |
nex (she/it) | as for the token leak - this is the reason it's deprecated. Unfortunately, until #511 gets dealt with, not much can be done about that, and people will just have to exercise caution. Perhaps a warning.warn(UserWarning) or something like that would be appropriate, for the time being? | 12:23:43 |
nex (she/it) | @Alex Has the use of encrypted_mxc_to_plumb come up in your testing at all? It has just dawned on me that I'm not entirely sure how the access token is meant to be passed to it, since I've never encountered it myself | 12:36:03 |
Alex | In reply to @nex:nexy7574.co.uk no, the function is not used anywhere in nio and neither in moment | 12:45:18 |
Alex | In reply to @nex:nexy7574.co.uk i know it won't fix soon. in this case, the main problem is, that formerly the media url was meant to be shared. i don't know, but assume that nio is also used for many bots/bridges, which might share the images via the url of | 13:15:50 |