Enforce a password strength requirement for the team on GitHub

githubpasswords

I am concerned to let any team member in with a weak password on my dev team but I do not see a way to enforce that as a requirement in GitHub. Is this possible?

The concern is that a team members account gets hacked and then private source code becomes accessible to the world or competitors.

Best Answer

GitHub does not provide any way to set custom password policies; all accounts are independent. (Implementing such support would require the passwords to be stored in a plaintext/decryptable form, which is even worse for security.)

You could set up your own Git server – using Gitolite if you need detailed access control, but even pushing over plain SSH would allow you to set up your own policies.

GitHub being Git, however, it's next to impossible to do any permanent damage to the data – every team member has a copy of the entire version history.