Repository: hive
Updated Branches:
  refs/heads/branch-2 5c2e3b4d8 -> c634b6813


HIVE-17514 : Use SHA-256 for cookie signer to improve security (Tao Li reviewed 
by Thejas Nair)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/c634b681
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/c634b681
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/c634b681

Branch: refs/heads/branch-2
Commit: c634b681357174a74628953784df509b91982cc8
Parents: 5c2e3b4
Author: Thejas M Nair <the...@hortonworks.com>
Authored: Fri Sep 15 15:57:36 2017 -0700
Committer: Thejas M Nair <the...@hortonworks.com>
Committed: Thu Sep 28 17:05:08 2017 -0700

----------------------------------------------------------------------
 service/src/java/org/apache/hive/service/CookieSigner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/c634b681/service/src/java/org/apache/hive/service/CookieSigner.java
----------------------------------------------------------------------
diff --git a/service/src/java/org/apache/hive/service/CookieSigner.java 
b/service/src/java/org/apache/hive/service/CookieSigner.java
index 046de7c..9c8bd56 100644
--- a/service/src/java/org/apache/hive/service/CookieSigner.java
+++ b/service/src/java/org/apache/hive/service/CookieSigner.java
@@ -32,7 +32,7 @@ import org.slf4j.LoggerFactory;
  */
 public class CookieSigner {
   private static final String SIGNATURE = "&s=";
-  private static final String SHA_STRING = "SHA";
+  private static final String SHA_STRING = "SHA-256";
   private byte[] secretBytes;
   private static final Logger LOG = 
LoggerFactory.getLogger(CookieSigner.class);
 

Reply via email to