Hello,

I am using cas overlay template and i have configured cas as oauth2 server. 
it works perfectly. but, when i change the jwt sign key size (default 512 
https://github.com/apereo/cas/blob/master/api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/crypto/CipherExecutor.java)
 
to 256, this changes are not reflected. 

here is the config
cas.authn.oauth.access-token.crypto.signing.key=
bBUhVvw9c2h2qwJd8hPRYatugQGGI4Xd
cas.authn.oauth.accessToken.crypto.signing.key-size=256

here is the error log
*Caused by: org.jose4j.lang.InvalidKeyException: A key of the same size as 
the hash output (i.e. 512 bits for HS512) or larger MUST be used with the 
HMAC SHA algorithms but this key is only 256 bits*

where am i missing? is it bug? thanks for response

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1919bcb6-f7e6-4547-b1e7-a043511c38c6n%40apereo.org.

Reply via email to