commit | aa6358ee103f25313731d82988e3ea512b18e3eb | [log] [tgz] |
---|---|---|
author | Oleg Gusakov <ogusakov@apache.org> | Wed May 06 21:05:37 2009 +0000 |
committer | Oleg Gusakov <ogusakov@apache.org> | Wed May 06 21:05:37 2009 +0000 |
tree | 97d2e8f724b35b661c3d2588391b40722f6c5fdb | |
parent | 73c0e7ebf56706da7cc2a68cf6878664b26baf21 [diff] |
[MERCURY-128] - upgraded PGP subsystem to SHA-512 digest git-svn-id: https://svn.apache.org/repos/asf/maven/mercury/trunk@772426 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java b/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java index 9707a17..cca0b77 100644 --- a/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java +++ b/mercury-core/src/main/java/org/apache/maven/mercury/crypto/pgp/PgpStreamVerifierFactory.java
@@ -52,7 +52,7 @@ private int algorithm = 0; - private int digestAlgorithm = PGPUtil.SHA1; + private int digestAlgorithm = PGPUtil.SHA512; // -------------------------------------------------------------------------------------------- public PgpStreamVerifierFactory( StreamVerifierAttributes attributes, InputStream trustedPublicKeyRingStream )