|
|
|
|
|
by est31
1345 days ago
|
|
You mean HTTPS access tokens that are sent in the clear and accessible to any proxy server in the middle? They are a good replacement of password based auth, and yes they are new. But that doesn't mean they are better than ssh keys. Each time you authenticate to github you send that token in the clear (inside the TLS session, but there it's in the clear). This means that any proxy server on the way, anyone with access to github's infrastructure who gets to read logs of traffic, etc. can get a means to impersonate you. That's a major problem with this authentication protocol, and a step back from signature based ed25519 keys that ssh uses. There are HTTP auth schemes 10 times better than that (TLS-SRP, etc). I'm not saying that HTTPS access tokens were a bad addition, they are better than doing the same thing you do with these tokens but with passwords. But they are worse than ssh keys. FTR you can also specify different users with ssh keys, by having custom hosts in ~/.ssh/config that point to different identity files. |
|
They are worse than ssh keys but I think are still acceptable as I don’t use any proxies that MITM my ssl sessions and I’d be able to detect if someone tried (assuming the root CA don’t go crazy and start allowing it).