Dstack-TEE / Dstack-TEE/dstack-examples

oauth login example

Abierto
#30 1 comentario 0 reacciones 0 asignados Ver en GitHub
app-idea
Lenguaje dominante
Python
Estrellas
27
Forks
26
Merge medio
1 h 25 min
PR fusionados (30 d)
7

Descripción

Would be neat to show how to use an ordinary oauth (like login with Twitter) to create an on chain attestation that can be used to claim a reward. This can be used for example to send crypto as a tip to a social media account, where the owner of the social media account can later log in to claim it.

I can think of two main ways to do this. One is using the key manager. An address associated with the application would be created, the secret key for this address would only be shared with TEE instances running the given program (subject to update policies imposed by the key manager itself).
The other way could work with just remote attestation, which would have to be checked on chain (or to be more efficient, zkp of the remote Attestation).

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.