Fwd: passwords in Perl

2015-11-06 Thread shawn wilson
This is a pretty teachable article which is somewhat related to login pages and secure content (just made me think of this discussion when I saw it so figured I'd share - also is about Slack which lots of y'all probably use): https://www.ibuildings.nl/blog/2015/11/hidden-plain-sight-brute-forcing-s

Re: passwords in Perl

2015-10-27 Thread shawn wilson
On Tue, Oct 27, 2015 at 8:19 PM, Kent Fredric wrote: > On 28 October 2015 at 06:26, shawn wilson wrote: >> time*tries*exp is probably more like what you want, and do it before >> you print the error, but yeah > > > Just make sure the backoff can't be exploited by malicious users to > lock out leg

Re: passwords in Perl

2015-10-27 Thread Kent Fredric
On 28 October 2015 at 06:26, shawn wilson wrote: > time*tries*exp is probably more like what you want, and do it before > you print the error, but yeah Just make sure the backoff can't be exploited by malicious users to lock out legitimate users by bombing the login system with failed attempts.

Re: passwords in Perl

2015-10-27 Thread shawn wilson
On Tue, Oct 27, 2015 at 1:15 PM, Shawn H Corey wrote: > On Tue, 27 Oct 2015 12:25:38 -0400 > shawn wilson wrote: > >> Oh, and this is one place where you *don't* give lots of details of >> what went wrong. Don't say "invalid user", don't say "bad password", >> say "Bad username or password". and

Re: passwords in Perl

2015-10-27 Thread Shawn H Corey
On Tue, 27 Oct 2015 12:25:38 -0400 shawn wilson wrote: > Oh, and this is one place where you *don't* give lots of details of > what went wrong. Don't say "invalid user", don't say "bad password", > say "Bad username or password". and exit 1 if your failure is at a cli > - that's it Print the err

Re: passwords in Perl

2015-10-27 Thread shawn wilson
Oh, and this is one place where you *don't* give lots of details of what went wrong. Don't say "invalid user", don't say "bad password", say "Bad username or password". and exit 1 if your failure is at a cli - that's it On Tue, Oct 27, 2015 at 3:36 AM, Kent Fredric wrote: > On 27 October 2015 at

Re: passwords in Perl

2015-10-27 Thread Kent Fredric
On 27 October 2015 at 20:25, shawn wilson wrote: > do to manage policies and prevent users from using weak passwords and > emulate them. And if you want some examples on how *NOT* to restrict passwords, this site catalogues a lot of embarrasing failures. http://password-shaming.tumblr.com/ And

Re: passwords in Perl

2015-10-27 Thread shawn wilson
On Oct 27, 2015 1:45 AM, "Paul.G" wrote: > > Just wondering, what are peoples thoughts on using password authentication in perl. What tools do people use to secure the password or do you just restrict access to the script file so the password cannot be viewed etc. > Don't store plain text passwo

passwords in Perl

2015-10-26 Thread Paul.G
Hello Just wondering, what are peoples thoughts on using password authentication in perl. What tools do people use to secure the password or do you just restrict access to the script file so the password cannot be viewed etc. cheers Paul -- To unsubscribe, e-mail: beginners-unsubscr...@perl.o

Re: passwords in perl: crypt() vs mds5_hex()

2005-05-04 Thread Ing. Branislav Gerzo
JupiterHost.Net [JN], on Tuesday, May 03, 2005 at 17:31 (-0500) made these points: JN> Thanks for the input John! Any other opinions and points anyone? in my point of view is MD5 ok, but I prefer "newer" hash algos, for example SHA1 -- How do you protect mail on web? I use http://www.2pu.net [

Re: passwords in perl: crypt() vs mds5_hex()

2005-05-03 Thread JupiterHost.Net
if(crypt($mypass, $crypted_original_pass) eq $crypted_original_pass) { ... vs. use Digest::MD5 qw(md5_hex); ... if(md5_hex($mypass) eq $md5_hex_of_original_pass) { ... If you use short/easy to guess passwords, such as words found in a dictionary, then the hash you use is irrelevant. If you use g

Re: passwords in perl: crypt() vs mds5_hex()

2005-05-03 Thread John W. Krahn
JupiterHost.Net wrote: Hello list, Hello, I'm working on a script that manages passwords in a database. Does anyone see any benefits/downfalls [in]securities of using crypt() vs. an MD5 sum via Digest::MD5? Like so: if(crypt($mypass, $crypted_original_pass) eq $crypted_original_pass) { ... vs. us

passwords in perl: crypt() vs mds5_hex()

2005-05-03 Thread JupiterHost.Net
Hello list, I'm working on a script that manages passwords in a database. Does anyone see any benefits/downfalls [in]securities of using crypt() vs. an MD5 sum via Digest::MD5? Like so: if(crypt($mypass, $crypted_original_pass) eq $crypted_original_pass) { ... vs. use Digest::MD5 qw(md5_hex); ...