Dstack-TEE / Dstack-TEE/dstack-examples

Example of Letsencrypt handling

未關閉
#6 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
encumbrance enhancement
主要語言
Python
星號
27
分支
26
平均合併
1 小時 25 分鐘
30 天內合併 PR
7

描述

There are a few ways of automating domain handling from within an enclave.

- [x] 1. A starting point is the approach taken in teleport "trust but verify"...

The private key used to generate the certificate signing request is generated from within the enclave.

The owner of the DNS record isn't proactively prevented from issuing a non-TEE domain, but because certificate transparency provides a list of every issued certificate, we can show a remote attestation to explain every certificate that has been issued.

- [x] 2. Another improvement is a DNS feature called CAA, https://letsencrypt.org/docs/caa/ which limits the CAs that are authorized to issue certificates for a domain. This significantly reduces the potential for rogue CAs to create MITM attacks - only letsencrypt could do that. This is what is implemented here https://docs.phala.network/dstack/design-documents/tee-controlled-domain-certificates

- [ ] 3. Encumbered DNS: a final step (still to research) would be to encumber the account with the registrar that owns the account. In this way, a smart contract would practically control the DNS records.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。