Skip to content
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

Blockchain point to signed username request in DHT? #4

Open
cjb opened this issue May 28, 2015 · 1 comment
Open

Blockchain point to signed username request in DHT? #4

cjb opened this issue May 28, 2015 · 1 comment

Comments

@cjb
Copy link
Owner

cjb commented May 28, 2015

As suggested by dominictarr -- this has the advantage that you can't register a username on behalf of someone else, but a disadvantage that the blockchain isn't sufficient by itself to create the user database.

Oh! Maybe we just add the "username" into the user profile. That's already signed.

@pdaian
Copy link

pdaian commented Jul 3, 2015

I don't see an issue with being able to register usernames for others. You can do this in DNS (point to their host), e-mail (create a forwarder to their address), and most other protocols that have name resolution of some sort. The blockchain-based usernames are a huge part of what attracted me to this project, and I would like to be able to construct the full user database from the blockchain alone.

What you can put in the DHT is perhaps a list of usernames that are "official". So the lookup of the mutable key happens via the blockchain, and then gittorrent confirms that the repo you are cloning is indeed through an official URL. This would help against attacks in the future whereby I register a username for a third party, and update the resolution to one of my own mutable keys, deploying malicious keys to users who are using my username as their remote. I assume updating username/key pairs is a planned feature (through for example using the same BTC address to create another user transaction).

If the policy is simply specified permanently as "use the oldest transaction", I don't see the need for such additions though.

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

No branches or pull requests

2 participants