Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

RTC/Riot: warn about media and centralization on matrix.org? #1395

Closed
Mikaela opened this issue Oct 10, 2019 · 30 comments
Closed

RTC/Riot: warn about media and centralization on matrix.org? #1395

Mikaela opened this issue Oct 10, 2019 · 30 comments

Comments

@Mikaela
Copy link
Contributor

Mikaela commented Oct 10, 2019

Currently the warning links to element-hq/element-web#6779 on the E2EE being experimental.

I think there are other issues that should be mentioned together with it, mainly:

The list is shorter than I thought while I was reading my complaints from #1389, I guess I am over-eager at judging what is a team chat application (with my rare use-case) and what a private chat.

This will likely be resolved by https://github.com/privacytoolsIO/privacytools.io/issues/1377#issuecomment-540152967. Maybe it should go directly to upstream privacy tracker? https://vector-im.github.io/feature-dashboard/#/plan?label=privacy-sprint&repo=vector-im/riot-web&repo=vector-im/riot-ios&repo=vector-im/riot-android&repo=vector-im/riotX-android&repo=matrix-org/matrix-doc&repo=matrix-org/sydent

@jonaharagon
Copy link
Contributor

only matrix.org is named

Notably, other homeservers are somewhat prominently displayed in Riot (which is what we link to, not the two pages in that issue) during registration, at least in a way that makes it clear to the end-user that other homeservers are available IMO.

I don't think these issues warrant warning badges in the same fashion that other warning badges have been implemented, but I do think if we rework the instant messenger page entirely like in #1377 they should be mentioned 👍

@Mikaela
Copy link
Contributor Author

Mikaela commented Oct 11, 2019

Notably, other homeservers are somewhat prominently displayed in Riot

Where? I opened riot.im/app and wanted to register and I am offered only matrix.org for free, modular.im for a pay (both by New Vector) or if I am advanced, then I can enter something (what?) by myself.

kuva

@dngray
Copy link
Collaborator

dngray commented Oct 11, 2019

Where? I opened riot.im/app and wanted to register and I am offered only matrix.org for free, modular.im for a pay (both by New Vector) or if I am advanced, then I can enter something (what?) by myself.

I would say the characterization of this #1395 is disingenuous:

Most email clients don't list every email server you could possibly use.

They have taken a pragmatic approach of suggesting "a server": matrix.org for people to use. You could also purchase a subscription to Modular if you want to use your own domain and cannot be bothered maintaining a server yourself.

This serves to do two things, generate some money for the project, (developers need to eat) and something as complex as Matrix requires full time development. Additionally it provides businesses who may not have their own IT staff a ready-to-go system they can use. Many small businesses rely on SaSS options to minimize costs.

I can see the reason why they may not want to endorse any particular server, that could be due to unknowns about the reliability of their hosting. There is the Hello Matrix project and there are a number of servers on there listed, perhaps we could make a suggestion the user selects one of those?

If I recall correctly XMPP did a similar thing to this with jabber.org.

@dngray
Copy link
Collaborator

dngray commented Oct 11, 2019

When making a suggestion of what server to use, this isn't a one size fits all;

We should educate the user to select a choice appropriate to their needs. A server locally close to their origin may provide better performance but may be less desirable if that country has poor privacy protections.

@Mikaela
Copy link
Contributor Author

Mikaela commented Oct 11, 2019

I can see the reason why they may not want to endorse any particular server, that could be due to unknowns about the reliability of their hosting. There is the Hello Matrix project and there are a number of servers on there listed, perhaps we could make a suggestion the user selects one of those?

Sure.

If I recall correctly XMPP did a similar thing to this with jabber.org.

I am not aware of any client pointing to jabber.org though.

@ilmaisin

This comment has been minimized.

@Mikaela

This comment has been minimized.

@dngray
Copy link
Collaborator

dngray commented Oct 30, 2019

There is the Hello Matrix project and there are a number of servers on there listed, perhaps we could make a suggestion the user selects one of those?

There is also this list public homeserver list.

@Mikaela Mikaela added the [m] Matrix protocol label Dec 6, 2019
@lrq3000

This comment has been minimized.

@lrq3000

This comment has been minimized.

@dngray

This comment has been minimized.

@Mikaela

This comment has been minimized.

@ilmaisin
Copy link

I wouldn't put the self-destructing message feature to a very high priority, since it is impossible to do well anyway. It's the same problem as with other types of DRM: the attacker and the intended recipient are the same.

Does Matrix encrypt those media uploads? If so, it probably isn't a very big issue. Of course, if "forever" is long enough, the encryption might become obsolete and vulnerable to attacks.

@Mikaela
Copy link
Contributor Author

Mikaela commented Feb 10, 2020

Does Matrix encrypt those media uploads? If so, it probably isn't a very big issue.

Depends on whether the room in question is encrypted.

Of course, if "forever" is long enough, the encryption might become obsolete and vulnerable to attacks.

This is my concern and also that deleted uploads are not deleted in reality. matrix-org/synapse#1263

@dngray
Copy link
Collaborator

dngray commented Feb 11, 2020

I wouldn't put the self-destructing message feature to a very high priority, since it is impossible to do well anyway. It's the same problem as with other types of DRM: the attacker and the intended recipient are the same.

👍

I expect if this becomes a feature in Matrix we will disable it for the public chat room. Very annoying and pointless to delete comments posted publicly, it provides absolutely no privacy when it's been indexed, cached, locally logged and possibly screen shotted by other users.

It's highly irritating when people set exploding messages on Keybase as we don't check that as frequently as Matrix. All it does is destroy the flow of conversation.

Public is public, if you don't want it public don't say it in public, people need to not get caught up in "message destruction" features and remember that.

Does Matrix encrypt those media uploads?

Yes, in encrypted rooms.

If so, it probably isn't a very big issue. Of course, if "forever" is long enough, the encryption might become obsolete and vulnerable to attacks.

This rule applies to any kind of cryptography no matter where it is.

There's also nothing stopping people from pasting a link to a file on a server they do control, or that they can delete, eg how we did in the days of IRC.

@Mikaela

This comment has been minimized.

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 11, 2020 via email

@Mikaela
Copy link
Contributor Author

Mikaela commented Feb 11, 2020

If I now installed Riot on a new device, would it tell me that other homeservers than Matrix.org exist or ask me which homeserver I want to use giving me choice of others than Matrix.org without deciding that I am an experienced/advanced user by entering a custom homeserver address?

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 11, 2020 via email

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 15, 2020

@Mikaela To reply in more details, in your opening post, point 4 element-hq/element-web#10696 is now done (I checked in the app, the integration manager can be disabled).

For the rest, I won't repeat myself, but yeah I agree Riot could do better in terms of decentralization by linking to a list of instances, instead of just showing an option to enter a custom homeserver address. But still, the possibility exists, and is not that hard to do, and there are pros and cons to using a custom server anyway, so for the lambda user, what matters more is E2EE by default and expiring messages IMO.

E2EE by default is being deployed right now as I wrote above.

For messages expiration, I had to do a bit of research to track down the pertinent info, but it seems it's now implemented, both at the server level and room level, although not easily changeable (ie, no button on the GUI in the room's options, you need to send a custom state event) because it's not yet part of the Matrix specification:

However, this is only true for messages, not for media, for which an issue was opened recently.

Also, about what you wrote in https://github.com/privacytoolsIO/privacytools.io/issues/1389#issuecomment-540826288:

I am also confused on how file uploads sent in a direct chat can be posted elsewhere as easily as by copying the URL, which to me hints that they aren't actually private.

I remember reading a github issue on riot or matrix repo about this indeed, where the devs were aware that encrypted medias could be accessed by anyone with the handle because the medias were not attached to a particular room or permission, and they were thinking about how to elegantly fix this while minimizing the addition of meta-data. But unfortunately I can't find the issue where I have read that, I will post it here if I ever stumble on it again.

Also, URL previews are a weak point that can be used to subvert E2EE, but they are disabled by default and when enabling in the options you get a warning.


TL;DR: I agree that messages and media retention should be mentioned in a warning. Centralization (or rather the proposition of matrix.org as the default homeserver) is not an issue that merits a warning I think, but it would be nice to add a sentence in the description to highlight that it is possible to use a custom server address (the best would be to link to a list of instances, such as this one or this one). I would also suggest warning about enabling URL previews as they can leak information/identity. It could be nice to mention it can work with Tor Browser.

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 15, 2020

Ah well, they just added your issue on centralization on this month's todo list for their website changes.

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 15, 2020

Also pre-redacted messages are deleted after 7 days now (I consider this linked with the messages retention issue).

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 15, 2020

Ephemeral/self-destructive messages are also supported (but not for media - media seem to be a weak point of Matrix/Riot currently): matrix-org/synapse#6409

PS: @Mikaela :

but I am not certain where they belong as we cannot promote Riot above Signal as they are in two different categories, centralized and federated.

My bad, I remembered Matrix being a mention instead of a featured suggestion, but I must have looked at an old version of the page. I am not suggesting that Matrix should be suggested above Signal, as you write, they are in different categories, and suit different needs, it's fine to me like that, but I agree the description should be updated according to the issues you raised.

@Mikaela
Copy link
Contributor Author

Mikaela commented Feb 17, 2020

I wish this issue could focus on the actual issue which is the centralization, but

I would also suggest warning about enabling URL previews as they can leak information/identity. It could be nice to mention it can work with Tor Browser.

no, the URL previews are generated on server-side by Synapse and if you look into logs of anything fetching a preview, you will see the homeserver address rather than Riot address so it doesn't matter. Or what information are you talking about?

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 17, 2020

Or what information are you talking about?

This

@Mikaela
Copy link
Contributor Author

Mikaela commented Feb 17, 2020

Would you mind opening a new issue about that?

@ian-tedesco
Copy link

Session warns you about the same when you try to enable it.

@lrq3000
Copy link
Contributor

lrq3000 commented Feb 18, 2020

Riot also shows a warning now, so should we open an issue to mention this anyway or is it fine as long as the software warns about it itself?

@jonaharagon jonaharagon added 📝 correction Correction of content on the website and removed 🌐 website issue *Technical* issues with the website. labels Feb 20, 2020
@blacklight447
Copy link
Collaborator

I would vote that the new in software warning is good enough.

@dngray
Copy link
Collaborator

dngray commented May 11, 2020

I'm going to close this now that it has been added to the 2020-02 milestone matrix-org/matrix.org#586 that's really the right place for it.

@dngray dngray closed this as completed May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants