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

Trustless *and* convenient secret sharing, via new DT template via (a) Sapphire OR (b) threshold cryptography #1459

Open
trentmc opened this issue Aug 2, 2023 · 0 comments
Labels
Type: Enhancement New feature or request

Comments

@trentmc
Copy link
Member

trentmc commented Aug 2, 2023

This is a possible future feature. Not planned yet.

Use cases

There are many possible applications where the user just wants to share a (small) secret. Including:

  • Web2-style data sharing, where the secret = Oauth2 tokens, that combines with a public url. Like we see with all REST APIs
  • sharing passwords, LastPass style
  • Predict-ETH / challenge DF results sharing . Right now we need to use data NFTs & encrypting with judges' public keys. It's sloppy
  • small AI models
  • sharing urls, Ocean-style. Caveat: only for applications where DDOS is not a problem. Currently Ocean solves this by using Provider to stream.

Status quo

Right now Ocean offers either trustless, or convenient, but not both

  • convenient: Provider run by 3rd party (OPF or other) using DT template 1 or 2. You need to trust the Provider runner because they see the decrypted url
  • trustless: Provider run by you "". Inconvenient because you have to run it.

What we want

  • trustless and convenient
  • but for many possible use cases, not just sharing urls
  • bonus: shouldn't need Provider at all. This makes it more reliable / web3-native (and that counts for a lot!)

How

  • A new DT template
  • That uses either (a) Sapphire , (b) threshold cryptography via Lit Protocol or Keep Network, or (c) Emblem Vault or maybe EIP6551
  • With appropriate support in ocean.py, then ocean.js. Putting it in ocean.py first (this github issue) because we can prototype it here
@trentmc trentmc added the Type: Enhancement New feature or request label Aug 2, 2023
@trentmc trentmc changed the title Trustless *and* convenient secret sharing, via new DT template with threshold cryptography Trustless *and* convenient secret sharing, via new DT template via (a) Sapphire OR (b) threshold cryptography Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant