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

Request moving/transfering DOI transactions from fallback to responsible validator #122

Open
silkroadnomad opened this issue Feb 19, 2020 · 0 comments
Assignees
Labels
A priority bounty make money feature new features help wanted Extra attention is needed test text & doc All text, documentation, translation works

Comments

@silkroadnomad
Copy link
Collaborator

silkroadnomad commented Feb 19, 2020

(DRAFT!)
As long as an email domain e.g. @example.com didn't register public key of Doichain node inside a DNS TXT value like so:

  • doichain-opt-in-key=<doichain_publickey> or
  • doichain-opt-in-provider=<doichain_publickey>
    all opt-ins will be validated through the public key of the so far centralized fall back server.

As soon as a email domain name registers it's Doichain node. We need a RPC call which allows
transfering / rewriting DOI permissions onto for the new Doichain address.

  1. Implement new RPC call "opt-ins/transfer" (parameter email domain, signature)
  2. Request public key of email domain from DNS and generate the Doichain address for it
  3. Get all DOI permission nameId's of a target-domain (this might be difficult, as we do not store recipients emails nor domains on the fallback server - need research / more implementation needed)
  4. Get all transactions which holds the SOI permissions of this email domain and send it back to the new validator.
  5. Make sure the validator is the right validator by checking the signature of the transferred email domain with the public key in the DNS of the email domain.
@silkroadnomad silkroadnomad added help wanted Extra attention is needed feature new features test bounty make money text & doc All text, documentation, translation works labels Feb 19, 2020
@silkroadnomad silkroadnomad self-assigned this Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A priority bounty make money feature new features help wanted Extra attention is needed test text & doc All text, documentation, translation works
Projects
None yet
Development

No branches or pull requests

1 participant