[JIRA] (IDP-2059) Property to set AES key size setting for the Data Sealer Key Store
Vlad Mencl (Jira)
jira at shibboleth.atlassian.net
Sun May 14 21:24:37 UTC 2023
Vlad Mencl ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A9e33c654-fa34-43c9-a1c1-fcc1c32d3528 ) *commented* on IDP-2059 ( https://shibboleth.atlassian.net/browse/IDP-2059?atlOrigin=eyJpIjoiNzkwMWI2YWM4NGNlNDUxOTgwZjcwOWJiYjgzYTBhNTMiLCJwIjoiaiJ9 )
Re: Property to set AES key size setting for the Data Sealer Key Store ( https://shibboleth.atlassian.net/browse/IDP-2059?atlOrigin=eyJpIjoiNzkwMWI2YWM4NGNlNDUxOTgwZjcwOWJiYjgzYTBhNTMiLCJwIjoiaiJ9 )
Hi Rod Widdowson ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=59fb32bbc24efb3c4ed3c977 ) ,
Thanks for looking into this!
I believe these are isolated from each other. The idp.keysize property is about RSA key sizes - while my request (dropped as a comment in https://shibboleth.atlassian.net/browse/IDP-2056 ) was about the AES key sizes used by the DataSealer.
The installer task generateSealer invokes the changeKey() method on net.shibboleth.utilities.java.support.security.BasicKeystoreKeyStrategyTool , which maintains its own key settings (for the generated AES key).
And the AES key size defaults to 128 (in net.shibboleth.utilities.java.support.security.BasicKeystoreKeyStrategyTool.CommandLineArgs - and while it could be overridden via a setKeySize, the installer ( V4Install.generateSealer ) does not expose that - and that’s what my request was about.
The bottom line is: AES key sizes are separate from RSA key sizes - and are restricted to "128, 192 or 256" ).
Hope this clarifies it.
Cheers,
Vlad
( https://shibboleth.atlassian.net/browse/IDP-2059#add-comment?atlOrigin=eyJpIjoiNzkwMWI2YWM4NGNlNDUxOTgwZjcwOWJiYjgzYTBhNTMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2059#add-comment?atlOrigin=eyJpIjoiNzkwMWI2YWM4NGNlNDUxOTgwZjcwOWJiYjgzYTBhNTMiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:e4eb869 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230514/a8c0808a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-2d08789c-d407-4059-b29c-d001a2d54187
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230514/a8c0808a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-207580e7-b51f-445f-8c8f-16af5fec15db
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230514/a8c0808a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-aa8b21d4-de1b-4061-9ff7-dc92a0245080
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230514/a8c0808a/attachment-0005.png>
More information about the commits
mailing list