News for hackers. Stuff that matters.
Re:Deprecating password authentication in GitHub API by noncoml on Sunday April 12, 2020 @10:10AM (#22848341)
Feature request: allow association of the same ssh key with multiple accounts.

In essence stop using git username globally and start supporting user names.

Re:Deprecating password authentication in GitHub API by sleepychu on Sunday April 12, 2020 @10:21AM (#22848413)
Why would you want this though? Your multiple git accounts are not the same identity.
Re:Deprecating password authentication in GitHub API by noncoml on Sunday April 12, 2020 @04:38PM (#22850884)
SSH treats the key as password, you can have the same authorized key associated with multiple accounts.

Not sure why you choose to look at the key as identity.

Re:Deprecating password authentication in GitHub API by sleepychu on Monday April 13, 2020 @08:20AM (#22855174)
SSH treats your key as evidence of your identity.

You can choose to give the public half of your key to multiple entities to allow them to verify your possesion of the private half of the key but that does not translate into multiple identities.

Re:Deprecating password authentication in GitHub API by noncoml on Monday April 13, 2020 @05:55PM (#22860588)
Not sure why I can't get my point across. It's simple really:

Can you use the same ssh key to ssh into different accounts on the same system?

Re:Deprecating password authentication in GitHub API by sleepychu on Wednesday April 15, 2020 @04:43AM (#22875730)
Ah I see, yes, you're right.
Re:Deprecating password authentication in GitHub API by antoncohen on Sunday April 12, 2020 @01:54PM (#22849864)
The main way I've found this to be annoying is GitHub "Deploy Keys"[1]. They treat them similar to users, so you need a unique deploy key per repository. That is pretty annoying when trying to authenticate something like a CI server.

The main alternative is "Machine Users"[1], which are actually normal user accounts. That means they have the same policies as regular users, like mandated 2FA for an organization. And to manage them you have to log-in as that user. That makes it a pain for a team to manage a Machine User.

GitHub really needs to have Service Accounts that belong to an organization, and can be managed by admins of the organization (without having to log-in as the Service Account). The Service Accounts should be able to have SSH keys and API tokens associated with them.

[1] https://developer.github.com/v3/guides/managing-deploy-keys/

Re:Deprecating password authentication in GitHub API by oefrha on Sunday April 12, 2020 @10:33AM (#22848494)
I was once told explicitly by GitHub Support (just as a reminder) that one person having multiple accounts is against their TOS, so there’s that. (This was years ago, not sure if TOS has changed in this aspect.)
Re:Deprecating password authentication in GitHub API by achamayou on Sunday April 12, 2020 @11:22AM (#22848794)
The same person creating separate accounts for automation is explicitly permitted however: https://help.github.com/en/github/getting-started-with-githu...
Re:Deprecating password authentication in GitHub API by smitop on Sunday April 12, 2020 @12:55PM (#22849427)
Their Terms of Service (https://help.github.com/en/github/site-policy/github-terms-o...) say: One person or legal entity may maintain no more than one free Account (if you choose to control a machine account as well, that's fine, but it can only be used for running a machine).
Re:Deprecating password authentication in GitHub API by jakear on Sunday April 12, 2020 @12:04PM (#22849096)
I was told by GitHub Support less than a month ago that in order for Actions to trigger other Actions I'd need to make a new separate account with repo access and have them act using its PAT.
Re:Deprecating password authentication in GitHub API by noncoml on Sunday April 12, 2020 @01:58PM (#22849883)
I have one free personal account and a paid account for work. So I don’t think it’s against their TOS
Re:Deprecating password authentication in GitHub API by chrisweekly on Sunday April 12, 2020 @11:26AM (#22848815)
wat

Never heard such a restriction even mentioned, let alone enforced.

Re:Deprecating password authentication in GitHub API by oefrha on Sunday April 12, 2020 @11:59AM (#22849059)
Well you just heard. At least they say “we do not recommend creating more than one account” at the moment. https://help.github.com/en/github/getting-started-with-githu...

Enforced — of course not (guess why I was told), but it stands to reason that they probably won’t add a feature to facilitate TOS violation.

Re:Deprecating password authentication in GitHub API by noncoml on Sunday April 12, 2020 @04:42PM (#22850906)
GitHub is not what it used to be when this "restriction" was made. These days, where a lot of companies decide to go with github, it's not uncommon for people to have one personal account and one work account.

This becomes messy to manage, as it's not easy(as far as I know) to use the same account on your personal PC to do both personal and work work.

Re:Deprecating password authentication in GitHub API by shim__ on Sunday April 12, 2020 @06:58PM (#22851651)
Wont't work since the user is identified by his public key on the ssh level.