Skip to content

Add crypto-based device registration (auto-assign number on client startup)#4

Open
MohammadBinAftab wants to merge 2 commits intoShigrafS:feat/idenfrom
MohammadBinAftab:feat/iden
Open

Add crypto-based device registration (auto-assign number on client startup)#4
MohammadBinAftab wants to merge 2 commits intoShigrafS:feat/idenfrom
MohammadBinAftab:feat/iden

Conversation

@MohammadBinAftab
Copy link
Copy Markdown

This PR integrates the identity and registration flow into client.py without changing the existing server or chat logic. The client now automatically generates a device ID and registers with the registry server to get a unique 3-digit number, which is appended to the user’s display name

  • Uses Ed25519 keys via identity.py
  • Device ID derived from public key
  • Registry server persists mapping in db.json

@ShigrafS
Copy link
Copy Markdown
Owner

@MohammadBinAftab Please figure out and resolve the conflicts.
I think you didn't pull in the updated before starting work on this.

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.

2 participants