Dstack-TEE / Dstack-TEE/dstack-examples

oauth login example

未关闭
#30 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
app-idea
主要语言
Python
星标
27
派生
26
平均合并
1 小时 25 分钟
30 天内合并 PR
7

描述

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).

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。