Hacker News new | past | comments | ask | show | jobs | submit login

I am not really sure how this works exactly but since they are receiving my email and ssh keys from GitHub, can't they simply use it for malicious purpose?



The SSH key that github has is considered public. The public key can't be used maliciously. The private key is on your machine. The two keys have to be used together to make anything happen.

https://en.wikipedia.org/wiki/Public-key_cryptography

https://www.youtube.com/watch?v=GSIDS_lvRv4


They have access to the public key, not the private key. If you're sufficiently paranoid you could imagine someone acquiring gtihub.com and waiting for `git origin add` typos (let's hope you're also paranoid enough to not ignore new/unknown server keys being added to your known_hosts file).





Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: