[wp-trac] [WordPress Trac] #12159: Define random keys and salts during setup-config.php

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 10 08:35:18 UTC 2010


#12159: Define random keys and salts during setup-config.php
-------------------------+--------------------------------------------------
 Reporter:  nacin        |       Owner:  ryan            
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  Security     |     Version:                  
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------
Changes (by nacin):

  * keywords:  has-patch needs-testing => has-patch commit


Comment:

 Not unique. At first I thought it was due to line endings, but it's not.

 It's actually because the second patch accounted for a salt I forgot,
 SECURE_AUTH_SALT, which is one character longer than the next longest
 constant, hence every constant got another whitespace of padding. I just
 checked my local copy and I have 28 here. It didn't make it into the patch
 I uploaded, though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12159#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list