New to GitHub? Secure Your Account in Minutes 🔐 #151380
Replies: 20 comments 14 replies
This comment was marked as spam.
This comment was marked as spam.
|
Hey there! 👋🏾 Missed out on our last community check-in? You can check that out here: Clone, Commit, Conquer: Your New to GitHub Community Check-In 💪. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
If you really wanted to secure the GitHub account, it would not use 2FA, passwords, or API keys. Instead, X.509 client certificates should be used, and it should not require JavaScripts, etc. X.509 certificates can have a passworded private key (and the server never sees the password or the private key). If these certificates are allowed to sign other certificates, then it is possible to create "fine-grained personal access tokens" without an internet connection; this signing certificates is also usable to store a backup on a computer without a internet connection and to use that to sign the certificate that you will actually use, therefore making it more difficult to compromise that certificate (if the one you actually use is compromised, you can revoke it and create and sign a new certificate). However, this is only for securing the GitHub account itself. It is also useful to secure the repositories and supply chain. The stuff you mentioned about ignoring files and not storing secrets is a good advice, although you should also use signed commits and signed releases if you want other users who download the software to verify it, since then it does not require trusting GitHub or Microsoft, that they did not change it or let the government or spies to do so; the users who receive it then only have to trust the author of the software. Fortunately this is already possible. |
|
(Actually, for ignoring, I prefer to instead make a list of files to include in the repository and automatically exclude all others, rather than a list of files to exclude and include all others. This is probably safer, too.) |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
Nice guide, covers the essentials well. Adding a few extra layers from real-world experience:
These steps aren’t theoretical—locked-down credentials and tight workflow hygiene are what let defenders close doors before attackers even knock. |
|
I'm new comer and I need to know can my funds be protected from scammer |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
After linking my Supabase account to my GitHub account but now I am trying to access my Supabase account after formatting my laptop they're asking for MFA which I didn't remember putting it |
This comment was marked as spam.
This comment was marked as spam.
|
Extra high-ROI habits I’d add for new accounts:
Your checklist is solid; the failure mode I still see is people committing secrets once ( |
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
This comment was marked as low quality.
|
Our available AI tools look at a variety of source materials to help answer customer questions including verified answers. By verifying this discussion, it shows up in those materials and is cited to help our users ❤️ . |


Our available AI tools look at a variety of source materials to help answer customer questions including verified answers. By verifying this discussion, it shows up in those materials and is cited to help our users ❤️ .