-
Notifications
You must be signed in to change notification settings - Fork 607
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
Signed Filters #1148
base: master
Are you sure you want to change the base?
Signed Filters #1148
Conversation
I don't like this, I think
I don't know if this is a problem. You can always open multiple connections, and what are the use cases for having the same process listen to things on behalf of many users? A custodial Nostr server of some sort?
If a user is delegating listening to relays to a third party it is better to come up with a way to tell that relay that the third party will be allowed to subscribe to the user's events. Incidentally this also fixes the previous point as the third party can be allowed to subscribe to multiple users' events. |
This is not a replacement for AUTH. It's a way to use AUTH by a third party.
This is a problem. Amethyst Push System has to authenticate for ~145,000 active users of the notification system. There is no way we can open 145K connections to each of the 3000 relays out there.
This is how we tell them. |
It sounds like you're doing something very wrong here.
This is a very bad way of telling them. A single event published by the user saying something like |
Well, I have been doing it since Feb last year, so...
No that is terrible. It grants too much power/trust to the server. You want to give access to a very specific filter set and not a generic delegation. |
I'm not against this proposal. It is a form of delegation, and being more specific about what is being delegated is a good thing IMHO so that as Vitor says, the middle-man can only do what the user authorized them to do.
It would be far easier for the phone to pull from a small set of inbox relays. But you do you. This isn't a nostr feature I will be using. |
Yes, but it assumes everyone implements the outbox or the inbox model. Right now majority of the notifications are not on people's inbox relays. If one single client decides to not forward the notification to the user's inbox relays, that notification won't be shown. To me, that is a bug. Since I can't control all clients, a method like this is a necessity. |
This is a much-needed approach for Push Notification systems. Push Servers connect to many, if not all, relays on behalf of the user to download events that cite the user and push them down to applications.
The goal here is 2 fold:
The same approach can used by the user's inbox or personal relays to query other relays in the search for events they are supposed to have but don't.
I don't know if this is the right way to do it, but it is what I am testing at the moment.
Read here