-
Notifications
You must be signed in to change notification settings - Fork 511
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
Nip05 Signed Metadata #1196
base: master
Are you sure you want to change the base?
Nip05 Signed Metadata #1196
Conversation
What does this accomplish that regular kind 0's don't? I wouldn't want my NIP 05 provider to be providing metadata about me that isn't signed. |
Is the goal to let the nip05 provider describe who the user is or for users to describe themselves in these fields? |
It really depends on the nip 05 provider. For example, I might want to provide my profile information via nip-05 provider who then can emit a kind 0 note on my behalf, or, when a nip 05 request is mad,e use the additional metadata information for some specific purpose. |
Yeah, I agree with that. Profile information should not be updated if is not signed by the user. This approach allows for additional information that can be provide that might not be related to the user, but rather about the NIP-05 provider. The kind 0 format is a generic way to structure this information, but doesn't necessarily mean that a kind 0 event will be transmitted. |
I am not sure if I understand the benefits of making it this general/insecure. Is anyone you know trying to use this? Which version would they want to implement? |
You can see a live example here: https://staging.nimo.cash/.well-known/nostr.json/?name=trbouma |
Sure, but who is reading the metadata from the json and how are they presenting on their screens if not signed by users themselves? |
Return a relay URL in the nostr.json file, tell clients to connect to that and fetch kind 0. |
@vitorpamplona - It's really intended for parties that exist outside of the nostr ecosystem to find info. Originally I was going to do a W3C did:web implementation, but realized it would be just as easy to extend NIP-05 first. |
One of the use cases is for automated nostr accounts, or accounts that are used by services to backend communicate with other services via relays. A decentralized push notification service for apps, for example. An app instance might generate its own npub/nsec and use an app-specific relay. The additional metadata could help the app to query other app-generated npubs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not that difficult to publish a kind 0 to a relay you control.
This NIP proposes to add signed metadata to a NIP-05 request. This could be a new nip or added to NIP-05