This is an automated email from the ASF dual-hosted git repository.

aldrin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi.git

commit 2fe3897619baa83864468cb224eef4044280b4e1
Author: Nenad V. Nikolić <[email protected]>
AuthorDate: Fri Jul 19 13:51:47 2019 +0200

    MINIFI-505 Change digest algorithm to SHA-512
    
    The reason for this change is that SHA-512 its 50% faster than SHA-256 
64-bit platforms that are common nowadays.
    https://crypto.stackexchange.com/questions/26336/sha512-faster-than-sha256
    
    This closes #163.
    
    Signed-off-by: Aldrin Piri <[email protected]>
---
 minifi-assembly/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/minifi-assembly/pom.xml b/minifi-assembly/pom.xml
index 18b3760..557cd7f 100644
--- a/minifi-assembly/pom.xml
+++ b/minifi-assembly/pom.xml
@@ -80,8 +80,8 @@ limitations under the License.
                                         <property name="commons.daemon.file" 
value="commons-daemon-1.2.0-bin-windows.zip" />
                                         <get 
src="https://apache.claz.org/commons/daemon/binaries/windows/${commons.daemon.file}";
 dest="${java.io.tmpdir}/${commons.daemon.file}" skipexisting="true" />
                                         <local name="checksum.matches" />
-                                        <property name="sha256sum" 
value="9e632e6b7d8cb3d575639a299150037fdca88f9567f91586e55f234dd627e7c3" />
-                                        <checksum 
file="${java.io.tmpdir}/${commons.daemon.file}" algorithm="SHA-256" 
property="${sha256sum}" verifyProperty="checksum.matches" />
+                                        <property name="sha512sum" 
value="8b6e0bb4172861338e0cb3238f6da715c3cef04a88e8bfab0cbb487ef638aa69fd34de9407b0b2ed54451fbbcbff8a999324289052a581a5d07d6f6ff84a83b6"
 />
+                                        <checksum 
file="${java.io.tmpdir}/${commons.daemon.file}" algorithm="SHA-512" 
property="${sha512sum}" verifyProperty="checksum.matches" />
                                         <echo message="Checksum match = 
${checksum.matches}" />
                                         <condition 
property="checksum.matches.fail">
                                             <equals arg1="${checksum.matches}" 
arg2="false" />

Reply via email to