mithril-security / blindai

Confidential AI deployment with secure enclaves :lock:
https://www.mithrilsecurity.io/
Apache License 2.0
502 stars 36 forks source link

Telemetry #7

Closed cchudant closed 2 years ago

cchudant commented 2 years ago

User identifier is created in the untrusted side, and passed to the enclave afterwards. This is because systemcalls to get hostnames & other infos are not available in the enclave.

Events are put in a queue (an unbounded mpsc channel currently) to be sent later. A background task batches all the events and sends them every 30 minutes.

JoFrost commented 2 years ago

Great work @cchudant. As we discussed, the CI needs to be adjusted for nightly Rust, so this time we'll ignore the CI checks. Will be tested during the week-end and merged quickly afterwards.