srowen commented on code in PR #43402:
URL: https://github.com/apache/spark/pull/43402#discussion_r1363054822


##########
sql/hive-thriftserver/src/main/java/org/apache/hive/service/CookieSigner.java:
##########
@@ -81,8 +81,7 @@ public String verifyAndExtract(String signedStr) {
       LOG.debug("Signature generated for " + rawValue + " inside verify is " + 
currentSignature);
     }
     if (!MessageDigest.isEqual(originalSignature.getBytes(), 
currentSignature.getBytes())) {
-      throw new IllegalArgumentException("Invalid sign, original = " + 
originalSignature +
-        " current = " + currentSignature);
+      throw new IllegalArgumentException("Invalid sign");

Review Comment:
   I went for minimal change here. This is copied from Hive and meant to be a 
stopgap until Hive addresses an ongoing discussion about a potential security 
issue here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to