3 ms·
> You get the same exact problem, but with the agent permissions rather than the actual keys. This is also importantly wrong in a subtle way. If evillib123 ste
by tialaramex 7y ago
> You get the same exact problem, but with the agent permissions rather than the actual keys.
This is also importantly wrong in a subtle way. If evillib123 steals a SSH private key, that key isn't private any more and my only option is to revoke the key and make a new one. Nothing else works, they have the key and can authenticate as me as often as they like whenever they like until that key's access is revoked.
But if they only have permission to get the agent to do operations their ability to authenticate is limited by the agent. If they lose access to the agent they can't authenticate any more. That would happen if I uninstall their malware, or if the agent locks access of its own accord (e.g. it's common to auto-lock after suspending a machine or locking the screen) or if the machine is just switched off altogether.
- MadWombat 7y agoThis is a good point. Agent still does not solve the "I thought I meant to do it, but I didn't really mean to" problem, but I agree that it does take a step towards minimizing the damage.
- chopin 7y agoIt's a bit like intents on Android where you also don't get direct access to (some) resources. I like that line of thinking very much.