Author: ogusakov
Date: Wed May  6 21:05:30 2009
New Revision: 772426

URL: http://svn.apache.org/viewvc?rev=772426&view=rev
Log:
[MERCURY-128] - upgraded PGP subsystem to SHA-512 digest

Modified:
    
maven/mercury/trunk/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java

Modified: 
maven/mercury/trunk/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java
URL: 
http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java?rev=772426&r1=772425&r2=772426&view=diff
==============================================================================
--- 
maven/mercury/trunk/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java
 (original)
+++ 
maven/mercury/trunk/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java
 Wed May  6 21:05:30 2009
@@ -52,7 +52,7 @@
 
     private int algorithm = 0;
 
-    private int digestAlgorithm = PGPUtil.SHA1;
+    private int digestAlgorithm = PGPUtil.SHA512;
 
     // 
--------------------------------------------------------------------------------------------
     public PgpStreamVerifierFactory( StreamVerifierAttributes attributes, 
InputStream trustedPublicKeyRingStream )


Reply via email to