-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Something I noticed when cleaning up my keys here on Github is that gh-auth remove ....
only removes the keys that the API reports the user had, not necessarily all of the keys in the authorized_keys
file that are associated with that user.
For example, if you have 3 auth keys on your Github account, are added to a server, remove one of the keys from your account and then are removed from the server with gh-auth remove ...
, only 2 keys will be removed from the authorized_keys
file.
Does this pose a potential security issue? I would guess not, since you should only be adding people that you trust, but if someone wanted to be sneaky and try to have access to the server after you've removed them, I feel like this could be a problem.
Metadata
Metadata
Assignees
Labels
No labels