-
Notifications
You must be signed in to change notification settings - Fork 247
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
Verify ENS name client side #1520
Comments
@rachelhamlin I'd just add the details @jeluard mentioned, i.e. that the data that is returned from status-go will omit the ENS name if it couldn't be verified. |
@pombeirp Some more details: the message payload contains a At the status-react level we need to know if this name is really controlled by the message sender. So the payload should be modified in such a way that the Checking for name validity is a simple ENS contract |
@flexsurfer you mentioned that we need this for the code freeze. Still true based on today's discussion? @pombeirp could we assign someone to this? |
I think I should be able to take it. |
i'm not sure about code freeze, but it must be in v1 for sure if we want ens names in chats, but it's blocked by chat api, we can implement only after chat api will be done on go side |
Noted. Should we consider this a blocker to releasing ENS resolution @flexsurfer @jeluard? |
It's definitely a security concern. Not entirely clear if it should prevent ENS being released in the pre-v1 release. Also note that the check could be implemented status-react side, if needed. |
Note: we can get a contributor to hide the ENS chat resolution feature for beta release v0.14, so this does not need to be done before that. Will come back later on the level of priority for v1. |
@cammellos checked and the |
@pombeirp that's strange we should send name with every message https://github.com/status-im/status-react/blob/58ed03f976f71c11abc233a81b2b07eb08406afb/src/status_im/chat/models/input.cljs#L137 |
btw interesting if we send it only in plain text, we should send with every message |
yeah it's bad to send it here, I think they didn't check inside the content key though, in contact request I believe it is separated, which makes more sense. Anyway here is what is called in clojure to resolve:
resolver is used to get the address of the resolver from the ens registry of the chain (so you need the different addresses if you don't have them yet: (maybe we should pass them from react?)
then on the callback you use the resolver address in |
@cammellos yes I'm running desktop from July it might not include it? |
@yenda no idea, status-im/status-mobile@e1bcaeb added the functionality |
Sorry I just don't have a ens-name on desktop that's why |
Yeah, I also used an old (working) desktop client, that's probably why |
Hey @cammellos @pombeirp! What's the status of this issue? Is it still being worked on? |
the code is ready to go, and already merged in status react. Currently the functionality is blocked by geth 1.9 upgrade, one fix is in #9259 , afyert that is merged and the fleet is set to staging, we can update status go and enable it |
Okay, awesome. I'm mentally filing it as 'basically done.' Thanks @cammellos! |
no probs, maybe is worth getting an handle on this geth upgrade, seems like no one is owning it and a bit in a flux, it also prevents us to deploy new changes to status go. |
Oh, yes please. Let's do that @cammellos. Can you assign yourself on an issue for it? I don't see anything about it in status-go. |
@cammellos can we close this? |
@flexsurfer yes, I'll close it |
Moving from react #8541
User Story
As a user, I want to make sure ENS name displayed in chat and profile has been verified.
Description
Type: Feature
ENS name is sent as part of chat messages and account details. It is displayed as is and could be spoofed.
Proper solution involves checking the ENS validity client side. For performance reason it's been agreed that it should be done status-go side.
The text was updated successfully, but these errors were encountered: