Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. password policy

password policy

Scheduled Pinned Locked Moved The Lounge
questioncomtools
65 Posts 31 Posters 0 Views 1 Watching
  • 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.
  • L Lost User

    An encrypted password is as bad as a plaintext one.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

    R Offline
    R Offline
    raddevus
    wrote on last edited by
    #33

    Eddy Vluggen wrote:

    An encrypted password is as bad as a plaintext one.

    Agreed. Also any memorized password has an inherent weakness in that it can be (and has been) memorized by a human. Passwords should be so strong that they cannot be memorized. It's possible. :)

    My book, Launch Your Android App, is available at Amazon.com.

    L 1 Reply Last reply
    0
    • R raddevus

      Eddy Vluggen wrote:

      An encrypted password is as bad as a plaintext one.

      Agreed. Also any memorized password has an inherent weakness in that it can be (and has been) memorized by a human. Passwords should be so strong that they cannot be memorized. It's possible. :)

      My book, Launch Your Android App, is available at Amazon.com.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #34

      Without memorization, you'd need to keep a clear-text version around. I don't think it is possible to extract it from my mind, so feels rather secure there. The fact that something can be memorized does not make it a weak password.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      R 1 Reply Last reply
      0
      • V V 0

        So we have a new password policy here at work and one of the rules is you cannot change it into something that is too similar to the previous one. Question: How is that determined since the hashing value should change significantly if you change just one letter ?

        V.

        (MQOTD rules and previous solutions)

        R Offline
        R Offline
        Rage
        wrote on last edited by
        #35

        Here the hash comparison .NET library[^]

        Do not escape reality : improve reality !

        B 1 Reply Last reply
        0
        • L Lost User

          Without memorization, you'd need to keep a clear-text version around. I don't think it is possible to extract it from my mind, so feels rather secure there. The fact that something can be memorized does not make it a weak password.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

          R Offline
          R Offline
          raddevus
          wrote on last edited by
          #36

          Hyperbole is my favorite of all inventions and must be implemented at all times. :) The point is that when you use a mnemonic then it is based upon words. Words are patterns and patterns can be more easily cracked than non-patterns. What you need is a fully randomized pattern which is strong and less crackable than a weak pattern that you've memorized. Your password itself should be a hash which is so long you cannot memorize it. (Which is hyperbole also, since Daniel Tammet memorized 22,514 digits of pi and recited them[^]). :)

          My book, Launch Your Android App, is available at Amazon.com.

          L 1 Reply Last reply
          0
          • R raddevus

            Hyperbole is my favorite of all inventions and must be implemented at all times. :) The point is that when you use a mnemonic then it is based upon words. Words are patterns and patterns can be more easily cracked than non-patterns. What you need is a fully randomized pattern which is strong and less crackable than a weak pattern that you've memorized. Your password itself should be a hash which is so long you cannot memorize it. (Which is hyperbole also, since Daniel Tammet memorized 22,514 digits of pi and recited them[^]). :)

            My book, Launch Your Android App, is available at Amazon.com.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #37

            raddevus wrote:

            What you need is a fully randomized pattern which is strong and less crackable than a weak pattern that you've memorized.

            Again, that idea is wrong. A non-memorizable password needs to be stored. Yes, words are patterns, but that knowledge isn't going to help much in determining my password. I'll give you another clue; it is based on a single line of a poem, 33 characters.

            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

            R 1 Reply Last reply
            0
            • L Lost User

              raddevus wrote:

              What you need is a fully randomized pattern which is strong and less crackable than a weak pattern that you've memorized.

              Again, that idea is wrong. A non-memorizable password needs to be stored. Yes, words are patterns, but that knowledge isn't going to help much in determining my password. I'll give you another clue; it is based on a single line of a poem, 33 characters.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

              R Offline
              R Offline
              raddevus
              wrote on last edited by
              #38

              Eddy Vluggen wrote:

              Again, that idea is wrong.

              Brrrr....there's a cold wind a blowin'. "Wrong" is such a cold harsh word. It makes me feel like I might not be right. :-D Actually, there is a way to generate a strong password without storing it and without having the user memorize a word-based mnemonic. And, I'm guessing that your poem is Milton's Paradise Lost, right? Here's all of Shakespeare's sonnets first lines so I'm generating your password off of these now: Shakespeare's Sonnets- first lines[^] :laugh:

              My book, Launch Your Android App, is available at Amazon.com.

              L 1 Reply Last reply
              0
              • R Rage

                Here the hash comparison .NET library[^]

                Do not escape reality : improve reality !

                B Offline
                B Offline
                Brisingr Aerowing
                wrote on last edited by
                #39

                Really? Rickrolling? You are going to stoop that low? A*******.

                What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                R 1 Reply Last reply
                0
                • V V 0

                  So we have a new password policy here at work and one of the rules is you cannot change it into something that is too similar to the previous one. Question: How is that determined since the hashing value should change significantly if you change just one letter ?

                  V.

                  (MQOTD rules and previous solutions)

                  P Offline
                  P Offline
                  PeejayAdams
                  wrote on last edited by
                  #40

                  Just a thought: what constitutes a similar password? Okay, we can look at things that are close in terms of characters but there are thousands of sequences that aren't detectable that way. Let's say a user has the following chain of passwords: HunkyD0ry71 Ziggy5tardust72 A1add1nSan373 It's a pretty safe bet that the next one would either be P1nUp573 or D1am0ndD0g574 (depending on whether our user regards Pin Ups as a "proper" Bowie album. There's no way that you're ever going to trap that with software but it's very easy for a human to work out. I guess I'm like most people in my home use in that I use Keepass and never even look at my generated passwords, let alone memorise them (idiot password policies that demand less secure passwords are a complete annoyance here but I'll save that rant for another day). In work-places though, especially if people are working on fixed images or locked-down machines, we're forced into that altogether less secure world where users need a self-made memorable password. This is where highly human-predictable patterns like the Bowie sequence above come into play and also where published restrictions (x-y chars which must include blah, blah and blah) can make it even easier to derive current passwords from old ones. And, let's face it, however many times you tell people to never write their passwords down, you know full well that a search through any office will turn up a fair few scribbled on notebooks and post-its.

                  1 Reply Last reply
                  0
                  • B Brisingr Aerowing

                    Really? Rickrolling? You are going to stoop that low? A*******.

                    What do you get when you cross a joke with a rhetorical question? The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism. Do questions with multiple question marks annoy you???

                    R Offline
                    R Offline
                    Rage
                    wrote on last edited by
                    #41

                    :-D You did not really believe there was a hash comparator, did you ?

                    Do not escape reality : improve reality !

                    1 Reply Last reply
                    0
                    • R raddevus

                      Eddy Vluggen wrote:

                      Again, that idea is wrong.

                      Brrrr....there's a cold wind a blowin'. "Wrong" is such a cold harsh word. It makes me feel like I might not be right. :-D Actually, there is a way to generate a strong password without storing it and without having the user memorize a word-based mnemonic. And, I'm guessing that your poem is Milton's Paradise Lost, right? Here's all of Shakespeare's sonnets first lines so I'm generating your password off of these now: Shakespeare's Sonnets- first lines[^] :laugh:

                      My book, Launch Your Android App, is available at Amazon.com.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #42

                      raddevus wrote:

                      Actually, there is a way to generate a strong password without storing it and without having the user memorize a word-based mnemonic

                      You got a long string that you did not memorize and did not store - in that case, I will start to doubt your ability to produce the same string again. That is something that is kinda required to be used as a password.

                      raddevus wrote:

                      Here's all of Shakespeare's sonnets first lines

                      Not a fan of Shakespeare. So, you already know the length of the string, the pattern, and are assuming English language (yes, it is an English writer, but that does not mean the password has to be). How many possible combinations would there be? xkcd: Password Strength[^]

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                      W 1 Reply Last reply
                      0
                      • L Lost User

                        raddevus wrote:

                        Actually, there is a way to generate a strong password without storing it and without having the user memorize a word-based mnemonic

                        You got a long string that you did not memorize and did not store - in that case, I will start to doubt your ability to produce the same string again. That is something that is kinda required to be used as a password.

                        raddevus wrote:

                        Here's all of Shakespeare's sonnets first lines

                        Not a fan of Shakespeare. So, you already know the length of the string, the pattern, and are assuming English language (yes, it is an English writer, but that does not mean the password has to be). How many possible combinations would there be? xkcd: Password Strength[^]

                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                        W Offline
                        W Offline
                        Worried Brown Eyes
                        wrote on last edited by
                        #43

                        I think this could go alongside Godwin's Law - the longer an on-line debate about passwords continues, the probability of someone linking to xkcd 936 approaches certainty. Won't somebody think of the horses (and staples)?

                        R L K 3 Replies Last reply
                        0
                        • M Mark_Wallace

                          All of my passwords at work are stored as plain text. ... In a text file named "passwords.txt" on my desktop.

                          I wanna be a eunuchs developer! Pass me a bread knife!

                          G Offline
                          G Offline
                          GenJerDan
                          wrote on last edited by
                          #44

                          Cool. I have a file with the very same name. :) That's what they get for making us change passwords every 90 days, unable to reuse the last 24 passwords, and they must be sufficiently gobbledy-gook.

                          We won't sit down. We won't shut up. We won't go quietly away. YouTube and My Mu[sic], Films and Windows Programs, etc.

                          M X M 3 Replies Last reply
                          0
                          • W Worried Brown Eyes

                            I think this could go alongside Godwin's Law - the longer an on-line debate about passwords continues, the probability of someone linking to xkcd 936 approaches certainty. Won't somebody think of the horses (and staples)?

                            R Offline
                            R Offline
                            raddevus
                            wrote on last edited by
                            #45

                            Stewart Judson wrote:

                            the longer an on-line debate about passwords continues, the probability of someone linking to xkcd 936 approaches certainty.

                            It's an absolute certainty of the most high probability. :) It really is true.

                            My book, Launch Your Android App, is available at Amazon.com.

                            1 Reply Last reply
                            0
                            • W Worried Brown Eyes

                              I think this could go alongside Godwin's Law - the longer an on-line debate about passwords continues, the probability of someone linking to xkcd 936 approaches certainty. Won't somebody think of the horses (and staples)?

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #46

                              Stewart Judson wrote:

                              I think this could go alongside Godwin's Law

                              A Godwin is not a valid argument, but the comic explains an argument in simple terms. So yes, it is bound to be referenced. Now, if any popular reference is a Godwin, then we might better stop using them, starting with the academics.

                              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                              1 Reply Last reply
                              0
                              • J Johnny J

                                Well, not necessarily. If the encryption worked like this (just an example of course): Pass1word => #¤%"AsdfY2g&Po*qQs Pass2word => #¤%"Asdf7Xg&Po*qQs it would still be comparable even encrypted... You only need to know how much that is changed - not WHAT EXACTLY is changed... :doh:

                                Anything that is unrelated to elephants is irrelephant
                                Anonymous
                                -----
                                The problem with quotes on the internet is that you can never tell if they're genuine
                                Winston Churchill, 1944
                                -----
                                I'd just like a chance to prove that money can't make me happy.
                                Me, all the time

                                R Offline
                                R Offline
                                raddevus
                                wrote on last edited by
                                #47

                                The idea you are talking about would be more of an encoding instead of an encryption. Compare Base64 encoding to AES encryption, for example. Any modern and accepted cryptographic algorithm will operate on bits, not bytes. But, alas, many-a-programmer has thought s/he has written an encryption algorithm and accidentally created an encoding algorithm without noticing and marked him/herself as a genius of encryption. :laugh:

                                My book, Launch Your Android App, is available at Amazon.com.

                                1 Reply Last reply
                                0
                                • V V 0

                                  Richard MacCutchan wrote:

                                  and did not like being challenged.

                                  Funny, same thing here ... :-\

                                  V.

                                  (MQOTD rules and previous solutions)

                                  R Offline
                                  R Offline
                                  raddevus
                                  wrote on last edited by
                                  #48

                                  This is IT!!! Dilbert Comic Strip on 2007-11-16 | Dilbert by Scott Adams[^] :laugh: :laugh:

                                  My book, Launch Your Android App, is available at Amazon.com.

                                  1 Reply Last reply
                                  0
                                  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                    Richard MacCutchan wrote:

                                    and did not like being challenged

                                    Most of the 'challenged' people get angry when challenged...

                                    Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.

                                    R Offline
                                    R Offline
                                    raddevus
                                    wrote on last edited by
                                    #49

                                    Here's an explanation... :laugh: :laugh: Dilbert Comic Strip on 2007-12-13 | Dilbert by Scott Adams[^]

                                    My book, Launch Your Android App, is available at Amazon.com.

                                    1 Reply Last reply
                                    0
                                    • D Dan Neely

                                      If they have enough hashing capacity (trivial if SHA*, needs a cluster if using a slow hash), they could mutate your new password making every possible 1 character addition/subtraction/substitution and see if any of them match the old hash.

                                      Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                      N Offline
                                      N Offline
                                      Nathan Minier
                                      wrote on last edited by
                                      #50

                                      True. But unlikely.

                                      "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                      1 Reply Last reply
                                      0
                                      • G GenJerDan

                                        Cool. I have a file with the very same name. :) That's what they get for making us change passwords every 90 days, unable to reuse the last 24 passwords, and they must be sufficiently gobbledy-gook.

                                        We won't sit down. We won't shut up. We won't go quietly away. YouTube and My Mu[sic], Films and Windows Programs, etc.

                                        M Offline
                                        M Offline
                                        Mark_Wallace
                                        wrote on last edited by
                                        #51

                                        That's an idea: we should assemble a CP password.txt file, for general use in the MoronicKneeJerkPasswordPolicy domain. It would save us the trouble of creating our own. [edit] If you think 90 days is bad, I worked at one place that had a holiday-booking webapp where they required a new password every 30 days. How often do you book holidays, for Arbuthnot's sake! Essentially, every time you opened the app, you had to change your password. [/edit] [edit2] Holiday = vacation, to blasted colonials. [/edit2]

                                        I wanna be a eunuchs developer! Pass me a bread knife!

                                        1 Reply Last reply
                                        0
                                        • V V 0

                                          Well, we don't need to re-enter the old password and assuming it does not save it in clear text, how is it comparing the old (encrypted) password to the new (encrypted) one? example: OLD password text: god_123 encryped: &#HDSW NEW password text: god_124 encrypted: )#@^Y@ it should not save the text version and it should not be able to compare the encrypted version, right? [EDIT]We are "logged in" though, (LDAP), but I'm assuming, equally, the password is not saved in memory either...[/EDIT]

                                          V.

                                          (MQOTD rules and previous solutions)

                                          N Offline
                                          N Offline
                                          Nelek
                                          wrote on last edited by
                                          #52

                                          what about comparing it before encrypting and saving? :rolleyes: :rolleyes:

                                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups