Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Is Github storing passwords in plaintext?

    Scheduled Pinned Locked Moved Discussion
    5 Posts 4 Posters 182 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      alabamamercy
      last edited by

      Just got an official email informing me I should change my password because it is weak and easily guessed.

      How would they know that, unless they are saving data about my password? I'm no security expert, but I'm fairly certain best practice involves not retaining that info.

      1 Reply Last reply Reply Quote 0
      • H Offline
        haresfur
        last edited by

        Maybe they guessed your password :-)

        1 Reply Last reply Reply Quote 0
        • A Offline
          andreas
          last edited by andreas

          They probably compared the hashed password against a list of hashed passwords easily to guess. The password you have been using is probably within the list published at https://haveibeenpwned.com/Passwords.

          The procedure employed by GitHub has been recommended by the NIST the other day, see also [1] and [2]. It is even being developed in the open [3].

          [1] https://security.stackexchange.com/questions/191681/how-to-understand-githubs-password-policy/191684#191684
          [2] https://www.nist.gov/itl/tig/projects/special-publication-800-63
          [3] https://github.com/usnistgov/800-63-3

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jcaron @andreas
            last edited by

            @andreas You can't compare a (properly salted) hashed password against a hashed password, as the salt will be different (or inexistant in one instance), the hash will be different, so no match.

            What you can do however:

            • Do the check whenever you create an account or log in, but they would probably show the warning right at that time rather than send an e-mail
            • Try a list of easily guessable/very common passwords against the salted password. Basically, a (friendly) dictionary attack.

            There are lists of millions of "common" passwords (based on previous leaks of passwords stored in cleartext). It's then a matter of deciding whether you consider a password weak only if it's in the top X most common, or if it's ever been leaked anywhere.

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              andreas @jcaron
              last edited by

              @jcaron Thanks for clarifying my imprecise answer and for outlining how the procedure might have been implemented within GitHub. Appreciate it!

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post

              Pycom on Twitter

              Pycom