Dstack-TEE / Dstack-TEE/dstack-examples

oauth login example

オープン
#30 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
app-idea
主要言語
Python
スター
27
フォーク
26
平均マージ
1時間 25分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。