Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: "special characters" in passwords: defined how? Pin
trønderen20-Oct-23 10:40
trønderen20-Oct-23 10:40 
GeneralRe: "special characters" in passwords: defined how? Pin
PIEBALDconsult20-Oct-23 11:32
mvePIEBALDconsult20-Oct-23 11:32 
GeneralRe: "special characters" in passwords: defined how? Pin
trønderen20-Oct-23 12:05
trønderen20-Oct-23 12:05 
GeneralRe: "special characters" in passwords: defined how? Pin
raddevus20-Oct-23 12:24
mvaraddevus20-Oct-23 12:24 
GeneralRe: "special characters" in passwords: defined how? Pin
RussellT23-Oct-23 1:57
professionalRussellT23-Oct-23 1:57 
GeneralRe: "special characters" in passwords: defined how? Pin
raddevus23-Oct-23 2:02
mvaraddevus23-Oct-23 2:02 
GeneralRe: "special characters" in passwords: defined how? Pin
trønderen20-Oct-23 10:36
trønderen20-Oct-23 10:36 
GeneralRe: "special characters" in passwords: defined how? Pin
raddevus20-Oct-23 10:50
mvaraddevus20-Oct-23 10:50 
All great points and I agree with you.

trønderen wrote:
Maybe the restrictions on special characters is because they do password processing by some sort of regex processing.

Yes, that is my guess at why they limit it to 20. I'm guessing that their algorithm would get stuck or they would possibly incur some regex backtracking[^] and they would hit some limitation which would cause their pattern matching to blow up.

That's all I can think because surely they aren't saving cleartext password. WTF | :WTF:
Like you said, they're trying to give the user a good kick in the seat of the pants and insure they aren't using a bad password so they're looking at what the password contains, but it just seems bad.

I mean they could just
1. hash the cleartext
2. look up the hash in a known bad passwords table

If the hash isn't in the known bads then save it as the user's hash (which can be matched later).
GeneralRe: "special characters" in passwords: defined how? Pin
englebart21-Oct-23 7:16
professionalenglebart21-Oct-23 7:16 
GeneralRe: "special characters" in passwords: defined how? Pin
jschell20-Oct-23 11:44
jschell20-Oct-23 11:44 
GeneralRe: "special characters" in passwords: defined how? Pin
trønderen20-Oct-23 12:03
trønderen20-Oct-23 12:03 
GeneralRe: "special characters" in passwords: defined how? Pin
Gerry Schmitz20-Oct-23 20:04
mveGerry Schmitz20-Oct-23 20:04 
GeneralRe: "special characters" in passwords: defined how? Pin
trønderen21-Oct-23 5:37
trønderen21-Oct-23 5:37 
GeneralRe: "special characters" in passwords: defined how? Pin
Gerry Schmitz21-Oct-23 8:05
mveGerry Schmitz21-Oct-23 8:05 
GeneralRe: "special characters" in passwords: defined how? Pin
jschell23-Oct-23 5:06
jschell23-Oct-23 5:06 
GeneralRe: "special characters" in passwords: defined how? Pin
trønderen23-Oct-23 7:21
trønderen23-Oct-23 7:21 
GeneralRe: "special characters" in passwords: defined how? Pin
englebart21-Oct-23 7:30
professionalenglebart21-Oct-23 7:30 
GeneralRe: "special characters" in passwords: defined how? Pin
theoldfool21-Oct-23 0:47
professionaltheoldfool21-Oct-23 0:47 
GeneralRe: "special characters" in passwords: defined how? Pin
englebart21-Oct-23 7:03
professionalenglebart21-Oct-23 7:03 
GeneralRe: "special characters" in passwords: defined how? Pin
raddevus21-Oct-23 12:31
mvaraddevus21-Oct-23 12:31 
GeneralRe: "special characters" in passwords: defined how? Pin
englebart21-Oct-23 17:26
professionalenglebart21-Oct-23 17:26 
GeneralRe: "special characters" in passwords: defined how? Pin
Harrison Pratt23-Oct-23 1:36
professionalHarrison Pratt23-Oct-23 1:36 
GeneralRe: "special characters" in passwords: defined how? Pin
raddevus23-Oct-23 2:04
mvaraddevus23-Oct-23 2:04 
GeneralRe: "special characters" in passwords: defined how? Pin
Harrison Pratt23-Oct-23 5:53
professionalHarrison Pratt23-Oct-23 5:53 
GeneralRe: "special characters" in passwords: defined how? Pin
raddevus23-Oct-23 7:42
mvaraddevus23-Oct-23 7:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.