Doichain / dapp

Doichan dApp - a Meteor.js implementation of the "Doichain Atomic Double-Opt-In" Protocol
https://www.doichain.org
MIT License
6 stars 6 forks source link

Changes of CONFIRM_ADDRESS or PublicKey of confirm-dApp #37

Closed silkroadnomad closed 6 years ago

silkroadnomad commented 6 years ago

When a confirm-dApp should change its CONFIRM_ADDRESS and/or public key, the signatures with already signed DOI's must stay verifiable in future.

E.g. the TXT field in DNS is changing ...
https://github.com/Doichain/dapp/blob/master/imports/modules/server/opt-ins/verify.js#L39 https://github.com/Doichain/dapp/blob/master/server/api/dns.js#L25 https://github.com/Doichain/dapp/blob/0.0.5/imports/modules/server/doichain/update.js#L45

silkroadnomad commented 6 years ago

It would be interesting question if we'd not save the domain information in the DNS but in the blockchain itself, so when which PublicKey for which domain will be recorded for ever.

e.g. name_doi d/example.com publicKey