Rendered at 05:49:05 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
sbszllr 10 hours ago [-]
Quite unfortunate that the post confuses privacy with confidentiality and secrecy which are well-defined and separate terms.
Also, the trust model of the NVIDA CC solution is quite different from something like SGX. They aren't drop in replacements for each other but the post certainly seems that way. Then "attestation" that you're really trying to promise here is remote attestation which even further complicates this.
I'm mostly confident that you guys know these things but the way the post is written is both too low-level for a person that doesn't know about CC and too hand-wavy for a person that does; so I'm not sure who your audience is.
Are there any parts missing from Nito's encrypted inference that is still being worked on?
richrines 3 days ago [-]
I’m one of the people behind Nito, a private AI platform: a chat app, plus an API and coding-agent plugins for developers. After a run of provider incidents last week, we wrote down how our setup actually works and how to check it, including the parts that aren’t perfect.
Short version: every model we serve runs in a TEE (a confidential VM plus NVIDIA confidential computing on the GPU). Encrypted requests are sealed on your device to a key the enclave proves it holds, so our gateway relays ciphertext it can’t open. The guide covers attestation step by step, what our router can still see (account, model, timing, size, token counts), and the trust model, including physical attacks like TEE.fail.
Happy to answer any/all questions
lil-kernel 14 hours ago [-]
This is really neat!
On your assistant product, I see that you can interact via iMessage - how are you doing that while maintaining privacy?
My impression is that iMessage API providers run services on apple hardware to then relay them over iMessage - so somewhere in that chain, a user's messages are decrypted on an apple device before being sent/received. I can see a case where that's marketed as "secure" due to the provider's controls, but not truly E2E
gavinray 14 hours ago [-]
Isn't this the use case that Homomorphic Encryption was practically designed for?
> ... a form of encryption that allows computations to be performed on encrypted data without first having to decrypt it. The result of the computations are left in an encrypted form which, when decrypted, result in an output that is identical to that of the operations performed on the unencrypted data.
teraflop 13 hours ago [-]
Well, yes, in theory. But the problem is that fully homomorphic encryption (currently) has extremely high overhead. It typically doesn't make sense to outsource a computation to somebody else if doing so is going to be 100x slower than you could perform it yourself.
This service instead uses hardware-level trusted execution. Basically that means step 1 is that the CPU/GPU performs the computation "natively", i.e. with full visibility of the plaintext, with only a small amount of overhead. Step 2 is that the hardware encrypts the output so only the intended recipient can read it. And the chip designed pinky promises that they've disabled every possible means of introspection and debugging, so that the hardware owner can't see what's happening between steps 1 and 2.
fc417fc802 9 hours ago [-]
> And the chip designed pinky promises that they've disabled every possible means of introspection and debugging, so that the hardware owner can't see what's happening between steps 1 and 2.
Just want to add, on modern chips (IIUC) the implementation is nearly bulletproof against rogue neighbors (ie other guests of the hosting or service provider including someone who breaks in remotely and gains root). It also categorically rules out your information leaking due to an inadvertent misconfiguration by the service operator.
Where it currently fails (in many different ways over the years) is in the face of a technically capable malicious party with physical access to the hardware.
yubblegum 14 hours ago [-]
Does inference within the enclave affect mods to the model(s)?
More generally, is it not true that a process in a secure enclave is under no restriction to chat with other systems? Your architecture guarantees that your router is in the dark but once we hit the GPUs, it's wide open again.
fc417fc802 9 hours ago [-]
Doesn't that depend entirely on the configuration of the image that's being run? Attestation merely gives you a way to confirm that the image is the one you expect.
Which is to say, it would only be wide open if the image is configured in an insecure manner. I assume that's not the case though.
Also, the trust model of the NVIDA CC solution is quite different from something like SGX. They aren't drop in replacements for each other but the post certainly seems that way. Then "attestation" that you're really trying to promise here is remote attestation which even further complicates this.
I'm mostly confident that you guys know these things but the way the post is written is both too low-level for a person that doesn't know about CC and too hand-wavy for a person that does; so I'm not sure who your audience is.
Are there any parts missing from Nito's encrypted inference that is still being worked on?
Short version: every model we serve runs in a TEE (a confidential VM plus NVIDIA confidential computing on the GPU). Encrypted requests are sealed on your device to a key the enclave proves it holds, so our gateway relays ciphertext it can’t open. The guide covers attestation step by step, what our router can still see (account, model, timing, size, token counts), and the trust model, including physical attacks like TEE.fail.
Happy to answer any/all questions
https://en.wikipedia.org/wiki/Homomorphic_encryption
This service instead uses hardware-level trusted execution. Basically that means step 1 is that the CPU/GPU performs the computation "natively", i.e. with full visibility of the plaintext, with only a small amount of overhead. Step 2 is that the hardware encrypts the output so only the intended recipient can read it. And the chip designed pinky promises that they've disabled every possible means of introspection and debugging, so that the hardware owner can't see what's happening between steps 1 and 2.
Just want to add, on modern chips (IIUC) the implementation is nearly bulletproof against rogue neighbors (ie other guests of the hosting or service provider including someone who breaks in remotely and gains root). It also categorically rules out your information leaking due to an inadvertent misconfiguration by the service operator.
Where it currently fails (in many different ways over the years) is in the face of a technically capable malicious party with physical access to the hardware.
More generally, is it not true that a process in a secure enclave is under no restriction to chat with other systems? Your architecture guarantees that your router is in the dark but once we hit the GPUs, it's wide open again.
Which is to say, it would only be wide open if the image is configured in an insecure manner. I assume that's not the case though.