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

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 9 04:34:10 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 needs-testing
-------------------------+--------------------------------------------------
Changes (by blepoxp):

 * cc: glenn@… (added)
  * keywords:  has-patch => has-patch needs-testing


Comment:

 I changed the start position of the substr on line 215 by one char because
 it kept creating syntax errors on my installation.[[BR]]
 It was resulting in the following code without my patch.

 {{{
 define('AUTH_KEY',         ''%Gk-O^(Rn-U&@|a (KsjWQtXaK-
 tYck<gNrP}sn0ttd5b9yu[VpA+3i>Va Lj&$$');
 define('SECURE_AUTH_KEY',
 ''Mm~Ki0B(kY at op_,$To:=O:IhT`!F5/zMR&YY<$:Uh|;2]=.(n_$d7TVK Z$Q{iGC');
 define('LOGGED_IN_KEY',
 ''yylln)Lo^|?W0LYV)AiCxti%!pL|5uoGwn|^>*Q.}si_zAIRW)G^*AmPpj9:Y(/&');
 define('NONCE_KEY',
 ''VN7E{mGQgP3mZ.R>naE)@*-/@-B/TQO7L;Rd`JjVlblFE)M7-8&7bZt.Aj!P,}gA');
 define('AUTH_SALT',
 ''!_WMY`}W,xCtfSL{fJ.=uRAmQD]8*|3;Llw=af99]+Xlko:E@|,gOaH5k/[#;9jo');
 define('SECURE_AUTH_SALT',
 ''OnO}*U:S&i4Sr9jvj+[|P{x*-j$s|5w;|@6(uO%FQC[qN&k Q}?0f6z|)`uk/ycI');
 define('LOGGED_IN_SALT',
 ''R|>7=]<vYWY&zEk[6,=s^k%a(RKy}~2g`bVD8Bo6({r++Xhs{hX}# TRT$)#+H-q');
 define('NONCE_SALT',
 ''JEbE<ihN_t)rfQX<3LRXd?Ozf%MAH{WBOO6z=cKL.-Z#T7U_R&o63UDJ6`iEG!dj');
 }}}

 Is this unique to my machine? If so, I can give you specs on my
 installation.

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


More information about the wp-trac mailing list