develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [DOC PATCH] [perl #1165] crypt accepts any character as salt

Thread Previous | Thread Next
From:
Casey West
Date:
May 9, 2003 12:25
Subject:
Re: [DOC PATCH] [perl #1165] crypt accepts any character as salt
Message ID:
20030509192559.GS49820@geeknest.com
It was Friday, May 09, 2003 when Casey West took the soap box, saying:
: It was Friday, May 09, 2003 when Casey West took the soap box, saying:
: : http://rt.perl.org/rt2/Ticket/Display.html?id=1165
: : 
: : Since Schwern hasn't been able to convince anyone that this should be
: : fixed in the interpreter, I'm going to supply his suggested
: : documentation patch.
: 
: I was given a quick heads-up about some grammar issues.  New patch
: below.

And now a somewhat belated heads-up about some grammar.  :-)



  Casey West

-- 
Shooting yourself in the foot with Windows 95 
Your gun is not compatible with this OS and you must buy an upgrade
and install it before you can continue. Then you will be informed that
you don't have enough memory. 

--- perl-current.orig/pod/perlfunc.pod  Fri May  9 00:58:19 2003
+++ perl-current/pod/perlfunc.pod       Fri May  9 15:20:09 2003
@@ -870,7 +870,10 @@
 
 When choosing a new salt create a random two character string whose
 characters come from the set C<[./0-9A-Za-z]> (like C<join '', ('.',
-'/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64]>).
+'/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64]>).  This set of
+characters is just a recommendation; the characters allowed in
+the salt depend solely on your system's crypt library, and Perl can't
+restrict what salts C<crypt()> accepts.
 
 Here's an example that makes sure that whoever runs this program knows
 their own password:

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About