neo-project / neo-modules

MIT License
60 stars 100 forks source link

Oracle encrypted URLs - Encrypt to each Oracle Committee member #771

Open vncoelho opened 2 years ago

vncoelho commented 2 years ago

Summary or problem description Currently, the Oracle URL is visible.

Do you have any solution you want to propose? The idea that came, in a discussion with our team (which is doing a prototype for industrial robot communication), is the possibility of sending an encrypted URL as parameter to the Oracles. In this sense, the URL would be encrypted for the currently approved committee, in order that they can use their private key for decrypting the URL. The first simple design would be exhaustive (surely, better design would be great here), in the sense that we would encrypt for each member of the Oracle Committee.

This is a possibility for allowing Smart Contracts on NEO's public chain to call "restricted anonymous urls". Thus, only the Oracles members would be able to see it and reach an agreement on its value, if they match.

Where in the software does this update applies to?

roman-khimov commented 2 years ago

IIUC you want to encrypt oracle request URLs? Usually they're a part of a contract that makes these requests, so this directly ties contracts with oracle node list that can change any time.