-
Notifications
You must be signed in to change notification settings - Fork 289
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
Feature Request: disable DM for ActivityPub bridged users #2489
Comments
@alexgleason do you have any guidance on nostr <-> mastodon DMs? |
Thank you @Sjors. This sounds like a nostr wide issue - I'll mirror in the nostrability repo |
It's possible to bridge nip-04 messages with ChatMessage activities on AP, but I'll probably never do it. I'm mostly happy with things being "broken" at the moment. What if someone builds a bridge that can handle DMs? Then Damus is hardcoded to not work? What it needs is a capabilities system, where users can announce their capabilities via an event, and clients can adapt to that. Eg |
I'm all in favor of a capabilities API. But I also think it's fine to assume a bridge doesn't support it, until such an API exists. Especially given that no actual bridge supports it or even wants to support it. |
It's an incorrect usage of the semantics. And if clients do that, they'll never change it. Do you realize how hard it is to just coordinate lunch with 5+ people? |
Why? NIP-48 defines multiple proxy types like nip-04 DMs are also totally unsuitable for a bridge like Mostr which has access to the private keys. Although nip-04 has serious downsides, users would not expect their encrypted messages to be downgraded to plain text. So any client implementing nip-04 imo should absolutely not send those to a proxy. This can be reconsidered with future DM standards that are designed to be interoperable, like MLS. Or if there's a proxy type to something that also uses (secp256k1) key pairs.
If enough users complain they will. It's more like converting 5 friends to vegetarianism: doesn't have to be simultaneous. |
tbh we will likely get rid of nip04 dms entirely. nip17 is a bit more sane |
nip17 would be nice for sending a message from the plain-text Fediverse to a Nostr user, because it doesn't leave as much meta data visible. But the other way around it still has the same problem: the bridge admin and the mastodon instance admin can read it. |
well this is the current state of DMs on the fediverse? Maybe we could put a warning when sending to fediverse users? |
@jb55 If you were to add a warning, I would suggest something like this:
|
A warning might be fine. Though I wouldn't want to be sitting on that kind of non-public data as a server admin, that's a separate issue. |
When the
kind 0
of a user has aproxy
tag, you should disable DM functionality.Afaik nobody implemented this, and there's no sane way to do it currently.
It's even hard (impossible?) for the bridge to rejected kind 4 messages: https://gitlab.com/soapbox-pub/mostr/-/issues/91
This means any DM just goes into the void with no feedback.
Example user:
https://njump.me/npub1m930ns0wrmzl9w5hxw003aejey5086hlk3jenw6uxheg9jplvv2qmz4fr3
The text was updated successfully, but these errors were encountered: