News for hackers. Stuff that matters.
Re:Read-only deploy keys by DannyBee on Tuesday June 16, 2015 @04:57PM (#9728646)
Re:Read-only deploy keys by bobfunk on Tuesday June 16, 2015 @05:45PM (#9728904)
API access is a lot more permissive. A deploy key only have access to 1 repo, but there's no way to limit API tokens to a single repo (and by default they have access to all repos in all organizations the issuer of a token have access to).
Re:Read-only deploy keys by DannyBee on Tuesday June 16, 2015 @06:26PM (#9729095)
Yes, I didn't realize how bad github's security model of this stuff was.
Re:Read-only deploy keys by Danack on Tuesday June 16, 2015 @08:26PM (#9729461)
Yeah, it's terrible.

You can't give read only Oauth access to private repos....it has to be read/write. Which means if you want to use online CI tools with those private repos....you've got to hope they don't either turn malicious, or they get hacked and have their keys copied.

Re:Read-only deploy keys by icebraining on Tuesday June 16, 2015 @05:51PM (#9728929)
Can you limit the user permissions to only affect tags? Otherwise, I'm not seeing the advantage.

From what I can tell, there's no write:tags scope: https://developer.github.com/v3/oauth/#scopes

Re:Read-only deploy keys by DannyBee on Tuesday June 16, 2015 @06:26PM (#9729093)
Ugh. You are right, it looks like they screwed this up.