nostr.directory icon indicating copy to clipboard operation
nostr.directory copied to clipboard

Please show all my follows' verified accounts

Open Giszmo opened this issue 2 years ago • 8 comments

I want to

  • enter Twitter ID
  • see a list of all nostr pubkeys followed by Twitter ID with link to Twitter verification Tweet

Giszmo avatar Dec 25 '22 14:12 Giszmo

applied for twitter developer elevated access - pending twitter to approve it then I can release this feature.

Screen Shot 2022-12-25 at 10 22 57 PM

pseudozach avatar Dec 26 '22 06:12 pseudozach

This is merged with https://github.com/pseudozach/nostr.directory/pull/6

Could sort by verified column to see only verified accounts.

pseudozach avatar Dec 29 '22 01:12 pseudozach

Nice feature but the "Update contact list" is dangerous. It would trash most of my existing follows.

Giszmo avatar Dec 29 '22 04:12 Giszmo

Why would it trash anything?

pseudozach avatar Dec 29 '22 06:12 pseudozach

If I add some account to my list, it wants to publish an event that contains just that one account while I already follow 60 others. I would lose 60 follows to gain one?

This might be due to the use of differ relays.

Giszmo avatar Dec 30 '22 02:12 Giszmo

That's a fair concern. Normally, I merge the contact list I find with the ones that are checked on the list. It might be better to first find out which relay the user is using and check their contact list from there.

pseudozach avatar Dec 30 '22 02:12 pseudozach

"fair concern" sounds like it's only hypothetical. my nos2x plugin was asking me to sign an event that clearly would have unfollowed a bunch of accounts.

Giszmo avatar Dec 30 '22 06:12 Giszmo

I could argue the reason you use an extension to sign for events is exactly for this reason. To check what you're signing and if you don't like it do not consent. I would also say we should make the extensions better so they surface more information regarding what the user is signing.

For the core of the issue, I need to implement a new approach such that we fetch user's relay list from their metadata, and then fetch their contact list from multiple relays, merge them and then offer to publish them. This might take some time. Meanwhile I've added a warning as well just so users are aware their contact lists getting messed up is a very real possibility.

pseudozach avatar Jan 03 '23 07:01 pseudozach