Skip to content

Conversation

@yhoungdev
Copy link

@yhoungdev yhoungdev commented Jul 14, 2025

Adds SEP-53 compliant Git identity linking during registration. Supports GitHub/GitLab with Ed25519 signature verification.

  • Optional provider:username input
  • Auto-fetch public keys from Git providers
  • SEP-53 envelope with network validation
  • Signature verification using @noble/ed25519
  • Step-by-step UI flow with skip option

This PR fixed the issue on #217

@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for staging-tansu ready!

Name Link
🔨 Latest commit 7cce6c1
🔍 Latest deploy log https://app.netlify.com/projects/staging-tansu/deploys/68eb27be777b1900086dfa93
😎 Deploy Preview https://deploy-preview-224--staging-tansu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 69
Accessibility: 89
Best Practices: 83
SEO: 92
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Jul 14, 2025

Deploy Preview for tansu canceled.

Name Link
🔨 Latest commit 0d0ca64
🔍 Latest deploy log https://app.netlify.com/projects/tansu/deploys/687533329b64c00008b0d26b

Copy link
Owner

@tupui tupui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start thanks! A few comments.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I am not sure we need all that to be in the contract itself vs the meta file-if even needed. I would keep the handle and key only. And in meta nothing. What do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry i don't get you clearly

you mean i should remove this git_identity?: string; git_pubkey?: Buffer; msg?: string; sig?: Buffer; signed_at?: u64;

?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we just need the identity and key to be stored in the contract. When I will call the smart contract function add_member I will pass everything though as to validate on-chain the data.

@tupui tupui linked an issue Sep 25, 2025 that may be closed by this pull request
@tupui
Copy link
Owner

tupui commented Sep 30, 2025

@yhoungdev are you still working on this?

@yhoungdev
Copy link
Author

Yes i am @tupui

@yhoungdev
Copy link
Author

would resolve the conflict in a little while

@netlify
Copy link

netlify bot commented Oct 3, 2025

Deploy Preview for tansu canceled.

Name Link
🔨 Latest commit 7cce6c1
🔍 Latest deploy log https://app.netlify.com/projects/tansu/deploys/68eb27be8967570008f6c440

@tupui
Copy link
Owner

tupui commented Oct 3, 2025

Is this ready for another review? Or you still need to update to integrate what I had said here and in our chat?

@tupui
Copy link
Owner

tupui commented Oct 3, 2025

@yhoungdev let me know.

@yhoungdev
Copy link
Author

It is still a wip in my branch.

@yhoungdev
Copy link
Author

@yhoungdev are you still working on this?

You can check again

@tupui
Copy link
Owner

tupui commented Oct 5, 2025

@yhoungdev please test first yourself the deployment https://deploy-preview-224--staging-tansu.netlify.app/

@yhoungdev
Copy link
Author

Ok

@yhoungdev
Copy link
Author

@tupui from your test how was it so far?

@tupui
Copy link
Owner

tupui commented Oct 5, 2025

I asked you above to check the deployment because the deployment is not working.

JoinCommunityModal.TaDYHw7a.js:2 Uncaught ReferenceError: GitVerification is not defined
    at ye (JoinCommunityModal.TaDYHw7a.js:2:6319)
    at jf (client.CH8PIGmd.js:32:47866)
    at nc (client.CH8PIGmd.js:32:70573)
    at qy (client.CH8PIGmd.js:32:80897)
    at fv (client.CH8PIGmd.js:32:116458)
    at xm (client.CH8PIGmd.js:32:115538)
    at _c (client.CH8PIGmd.js:32:115375)
    at lv (client.CH8PIGmd.js:32:112211)
    at Tv (client.CH8PIGmd.js:32:123862)
    at MessagePort.Ba (client.CH8PIGmd.js:9:1643)

@yhoungdev
Copy link
Author

ok, but the Irony here is that Netlify is building fine 😅

@yhoungdev
Copy link
Author

I asked you above to check the deployment because the deployment is not working.

JoinCommunityModal.TaDYHw7a.js:2 Uncaught ReferenceError: GitVerification is not defined
    at ye (JoinCommunityModal.TaDYHw7a.js:2:6319)
    at jf (client.CH8PIGmd.js:32:47866)
    at nc (client.CH8PIGmd.js:32:70573)
    at qy (client.CH8PIGmd.js:32:80897)
    at fv (client.CH8PIGmd.js:32:116458)
    at xm (client.CH8PIGmd.js:32:115538)
    at _c (client.CH8PIGmd.js:32:115375)
    at lv (client.CH8PIGmd.js:32:112211)
    at Tv (client.CH8PIGmd.js:32:123862)
    at MessagePort.Ba (client.CH8PIGmd.js:9:1643)

Ok, i will fix this.

@tupui
Copy link
Owner

tupui commented Oct 9, 2025

Any updates? Just so you know. OnlyDust is soon ending all their programs. If you don't finish very soon, I won't be able to give you anything with their platform.

@yhoungdev
Copy link
Author

Yess i have an update.

@yhoungdev
Copy link
Author

Conflict has been resolved.

@yhoungdev
Copy link
Author

I asked you above to check the deployment because the deployment is not working.

JoinCommunityModal.TaDYHw7a.js:2 Uncaught ReferenceError: GitVerification is not defined
    at ye (JoinCommunityModal.TaDYHw7a.js:2:6319)
    at jf (client.CH8PIGmd.js:32:47866)
    at nc (client.CH8PIGmd.js:32:70573)
    at qy (client.CH8PIGmd.js:32:80897)
    at fv (client.CH8PIGmd.js:32:116458)
    at xm (client.CH8PIGmd.js:32:115538)
    at _c (client.CH8PIGmd.js:32:115375)
    at lv (client.CH8PIGmd.js:32:112211)
    at Tv (client.CH8PIGmd.js:32:123862)
    at MessagePort.Ba (client.CH8PIGmd.js:9:1643)

Ok, i will fix this.

This has been fixed, please check and confirm.

@yhoungdev
Copy link
Author

Let me know if there are any other issues/errors.

@yhoungdev
Copy link
Author

Can i see error logs? if there is any.

@tupui
Copy link
Owner

tupui commented Oct 10, 2025

You can see the logs on Netlify yes. Just look at the links for the CI.

Otherwise did you test it with the deployment now? Can you share screenshots of the tests?

@yhoungdev
Copy link
Author

https://deploy-preview-224--staging-tansu.netlify.app/

Screenshot 2025-10-10 at 05 06 58

After "link Git handle" button has been clicked
Screenshot 2025-10-10 at 05 07 12

@yhoungdev
Copy link
Author

I just pushed a fix for it @tupui

for the now i am using an external proxy server with the Github endpoint

So technically it will be like this
https://corsproxy.io/?${encodeURIComponent(originalUrl)}

Now you can now make requests to fetch pkeys safely, let me know if there are any issues.

Image Image

@tupui
Copy link
Owner

tupui commented Oct 16, 2025

@yhoungdev I am trying to test but got some issues

Screenshot 2025-10-16 at 17 08 31 Screenshot 2025-10-16 at 17 08 51

Also for the command to type, this is not portable. I think we don't need the /dev/stdin since it's a pipe and use the last command's output as an input.

@yhoungdev
Copy link
Author

Ok, no problem, i will look into that fix @tupui

@tupui
Copy link
Owner

tupui commented Nov 30, 2025

@yhoungdev are you still interested in finishing this one?

@yhoungdev
Copy link
Author

Yes Roy, i would attend to the error in some hours.

@yhoungdev
Copy link
Author

Looking into the conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Git identity binding during member registration

2 participants