Dstack-TEE / Dstack-TEE/dstack

Alternative to RATLS

Đang mở
#113 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
security security: roadmap
Ngôn ngữ chính
Rust
Star
544
Fork
96
Merge trung bình
17 giờ 57 phút
Pull request đã merge (30 ngày)
117

Mô tả

## Summary
There's [discussion](https://github.com/Dstack-TEE/dstack/pull/91#discussion_r1937196136) about moving away from relying solely on Remote Attestation TLS (RATLS) and considering alternative approaches for secure communication between services.

## Current Approach
Currently using RATLS for several services:
- KMS: onboarding RPC, key providing RPC
- tproxy: registering RPC
- CVM: Inter-App Secure Communication (WIP)

## Concerns
- Performance issues with RATLS (~1s for Azure to establish connection, longer if PCCS fetch needed)
- RATLS hides some implementation details which may be less transparent

## Alternative Approaches
- **Application-level attestation**: Exchange regular TLS certificates along with their attestations
- **Pre-registration approach**: Have each KMS instance register locally generated TLS cert+attestation on boot

## Considerations
- Remote attestation must happen at some level (TLS, HTTP, or Application)
- TLS-level attestation is easier to abstract and reuse across services
- Application-level attestation makes the security more visible but requires additional MITM protections
- Performance is critical for inter-app communication, less so for registration/onboarding

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.