[wp-trac] [WordPress Trac] #20074: Attempt MD5 checksum verification in upgrader if available

WordPress Trac noreply at wordpress.org
Tue Sep 17 04:41:14 UTC 2013


#20074: Attempt MD5 checksum verification in upgrader if available
-----------------------------+------------------
 Reporter:  sivel            |       Owner:
     Type:  task (blessed)   |      Status:  new
 Priority:  normal           |   Milestone:  3.7
Component:  Upgrade/Install  |     Version:  2.8
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------
Changes (by dd32):

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


Comment:

 Needs patch, anyone feel like whipping up something which does:
 * Separate function
 * Accepts md5 or base64(md5_raw) - Check the string length, md5 = 32,
 base64(md5_raw) = 24
 * Accepts filename
 * returns a error w/ the octal values
 * performs least amount of calculations in the most-used path
 * performs the check in download_url() if the header is present.

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


More information about the wp-trac mailing list