Figured out, the source code says 16 bytes. 

Yan

On Friday, January 6, 2017 at 12:04:10 PM UTC-5, Yan Zhou wrote:
>
> Hi there, 
>
>
> CAS Overlay 4.1.9,   I generated webflow encryption key below. 
>
>  
>
> java -jar json-web-key-generator-0.4-SNAPSHOT-jar-with-dependencies.jar -t 
> oct -s 256
>
>
> I can generate another TGC signing key that works fine, but Webflow 
> signing key gives me this error.
>
>  
>
> SEVERE: Servlet.service() for servlet [cas] in context with path [/cas] 
> threw exception [Request processing failed; nested exception is 
> org.springframework.webflow.execution.FlowExecutionException: Exception 
> thrown in state 'viewLoginForm' of flow 'login'] with root cause
>
> java.security.InvalidKeyException: Invalid AES key length: 43 bytes
>
>         at 
> com.sun.crypto.provider.AESCipher.engineGetKeySize(AESCipher.java:495)
>
>  
>
> webflow.encryption.key=LqWoZsHfEYQZ3KIzWiC_KE8iUoKXK48FgTiIDpTZs80
>
> what am I missing?
>
> Thx!
> Yan
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/a701e73e-6ce3-40c2-bcb2-a0ce69673cf4%40apereo.org.

Reply via email to