r/github • • Feb 22 '25

SECURE YOUR GITHUB ACCOUNT!!!

so my pc system got corrupted and i completely did a reformat erasing everything and completely forgot that my github recovery codes are also there (authy on my old phone old email registered didnt have access). realizing i fucked up. why i fucked up? cause even github cant help if you dont have access to those 2FA’s. like your account will be totally lost forever. (realizing your projects you worked for years is lost cant imagine). I realized i have an old laptop used to use so i checked and luckily retrieved my github code in recycle bin (mistakenly deleted) gonna cry fr. So guys secure your recovery codes find it and store it somewhere safe we never know what happen in future. Github is where all our arsenals are kept.

491 Upvotes

106 comments sorted by

View all comments

Show parent comments

24

u/4everYoung45 Feb 22 '25

We'll have the exact same post but in r/bitwarden

4

u/Silent-Treat-6512 Feb 22 '25

I don’t use 2fa in BitWarden but my master password is 52 chars long, almost paragraph, good luck guessing that.

9

u/Fzetski Feb 22 '25

Mentioning that it is 52 characters long really helps reduce how many options I have to go through, thank you.

Bruteforcing as we speak. We'll be in touch-

0

u/Silent-Treat-6512 Feb 22 '25 edited Feb 22 '25

The total number of possible passwords for a 52-character alphanumeric password is:

1.6 \times 10{92}

This is an astronomically large number, making brute-force attacks completely infeasible with current computing power. Even if an attacker could try one trillion (10¹²) passwords per second, it would take far longer than the age of the universe to crack it. 

Source: ChatGPT.

Update. ChatGPT forgot that I had spaces as well, which makes it 26+26+11 (a-zA-Z0-9) plus space and punctuations - as I am using a paragraph that I can remember

8

u/carsncode Feb 22 '25

Well since we're clearly all taking the joke too get here... You're using a paragraph you can remember, which reduces the problem space to 52 characters of legible, grammatical text, eliminating all but a miniscule fraction of the problem space.

0

u/Silent-Treat-6512 Feb 22 '25

NOW this is getting somewhere.. actually not 52, thats ChatGPT counting it wrong. Let me give you real charspace and see if you can guess it.

A-Z a-z 0-9 (comma) (double quote) (period) (space) 66 chars

Even with an optimistic quantum computer capable of 10¹⁸ guesses per second, it would take:

  • 4.13×10764.13 \times 10^{76}4.13×1076 seconds

  • 1.31×10691.31 \times 10^{69}1.31×1069 years

to brute-force your 52-character password.

For context, the age of the universe is only about 1.38×10101.38 \times 10^{10}1.38×1010 years—so even quantum computing wouldn't make a dent in cracking your password! ​

4

u/carsncode Feb 22 '25

Again, you're looking at it wrong. It's not brute forcing the full character space across 52 characters, it's the tiny, tiny fraction of that space that makes up legible grammatical text.

→ More replies (0)

3

u/[deleted] Feb 22 '25

ChatGPT fried your ability to form cohesive thoughts

→ More replies (0)

2

u/Lewissunn Feb 24 '25

Hang on "That's chatGPT counting it wrong". You didn't paste your master password into chatGPT did you?