[wp-trac] [WordPress Trac] #18201: Verify updates with md5 checks

WordPress Trac noreply at wordpress.org
Wed Sep 4 05:51:45 UTC 2013


#18201: Verify updates with md5 checks
-----------------------------+------------------
 Reporter:  nacin            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  low              |   Milestone:  3.7
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------

Comment (by pento):

 attachment: 18201.diff

 So, here's a first pass.

 I decided not to use an API, instead opting to include a (currently
 imaginary) file that includes the hashes for the file, based on the format
 of the [http://wordpress.org/plugins/exploit-scanner/ Exploit Scanner]
 plugin. The file would be created as part of the build process.

 Format:

 {{{
 array(
         'dir1/file1.foo' => 'hash1',
         'dir2/file2.bar' => 'hash2,
         ...
 );
 }}}

 TODO:
 * Add support for FTP servers that provide MD5 functionality
 * Don't copy files that haven't changed
 * Check files after they're copied, to make sure it all worked

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


More information about the wp-trac mailing list