News for hackers. Stuff that matters.
Re:CS 189: Introduction to Machine Learning by jolmg on Friday May 11, 2018 @07:37PM (#17051485)
> The data is encrypted with Github's private key (thus decrypted with their public cert).

I don't think that's how it works, because then anyone could decrypt the data since the decryption key is public.

Rather, I think how asymmetric crypto works is you pass your public key to them so they can encrypt stuff with it and send it to you to decrypt with your private key. Then, to send stuff to them, you use their public key to encrypt the data for them so they can decrypt with their private key. That said, I think TLS works differently by using asymmetric crypto only to negotiate a symmetric key for the actual encryption of data.

EDIT: made wording more precise

There are no comments on this comment yet.