[twitter-dev] Re: php regex for twitter password

2009-08-16 Thread Abraham Williams
Do you mean to verify proper length and character composition? I don't know
of publicized documentation other then passwords have minimum length of 6
characters.

Abraham

On Sat, Aug 15, 2009 at 01:33, Xpineapple kenned...@gmail.com wrote:


 I could probably play with regex all day and get no where (and so far
 am).  While I could make some progress, I don't know all the rules for
 a good password.  My intent is to ensure server (and service) are
 safe.  With that in mind, can anyone provide a fair enough regex
 example of sanatizing a password for twitter service? Thanx.




-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.


[twitter-dev] Re: php regex for twitter password

2009-08-16 Thread Andrew Badera

At least 6
At least one capital letter
At least one non-capital letter
At least on numeric

[Stronger]
At least 8
At least one non-alphanumeric

I'd love to provide a RegEx ... only :
a) I live in the .NET world not PHP, and,
b) There are TONS -- BAJILLIONS -- of password regexes available on
the interwebs that describe every frickin' reasonable permutation of
such.

∞ Andy Badera
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=(andrew+badera)+OR+(andy+badera)



On Sat, Aug 15, 2009 at 2:33 AM, Xpineapplekenned...@gmail.com wrote:

 I could probably play with regex all day and get no where (and so far
 am).  While I could make some progress, I don't know all the rules for
 a good password.  My intent is to ensure server (and service) are
 safe.  With that in mind, can anyone provide a fair enough regex
 example of sanatizing a password for twitter service? Thanx.



[twitter-dev] Re: php regex for twitter password

2009-08-15 Thread Kevin Mesiab

Depending on your deployment scenario, you could let Google do the
heavy lifting for you ;)

https://www.google.com/accounts/RatePassword?Passwd=poopy

On Sat, Aug 15, 2009 at 10:43 AM, Sam Streetsam...@gmail.com wrote:

 http://pastebin.com/m4fd058a4

 This code will be able to determine whether a password is weak, ok or
 strong based on whether it contains lowercase, uppercase + numbers

 hope thats what you were after

 -Sam @sampicli http://twicli.com

 On Aug 15, 7:33 am, Xpineapple kenned...@gmail.com wrote:
 I could probably play with regex all day and get no where (and so far
 am).  While I could make some progress, I don't know all the rules for
 a good password.  My intent is to ensure server (and service) are
 safe.  With that in mind, can anyone provide a fair enough regex
 example of sanatizing a password for twitter service? Thanx.




-- 
Kevin Mesiab
CEO, Mesiab Labs L.L.C.
http://twitter.com/kmesiab
http://mesiablabs.com
http://retweet.com