mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-736: Convert Duo signed cookie to lower case prior to encoding.
This commit is contained in:
@@ -221,7 +221,7 @@ public class SignedDuoCookie extends DuoCookie {
|
||||
mac.init(new SecretKeySpec(key.getBytes("UTF-8"), SIGNATURE_ALGORITHM));
|
||||
|
||||
// Return signature as hex
|
||||
return BaseEncoding.base16().encode(mac.doFinal(data.getBytes("UTF-8"))).toLowerCase();
|
||||
return BaseEncoding.base16().lowerCase().encode(mac.doFinal(data.getBytes("UTF-8")));
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user