[JIRA] (JSSH-24) Random getInstanceStrong method may return only blocking PNRG
Scott Cantor (Jira)
jira at shibboleth.atlassian.net
Wed Feb 8 15:28:19 UTC 2023
Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) *created* an issue
Shibboleth Shared - Java ( https://shibboleth.atlassian.net/browse/JSSH?atlOrigin=eyJpIjoiNDdkYTU3MGZmYWVlNDZjNzlmZDMzNjMwNDY0MmYwMzUiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/JSSH-24?atlOrigin=eyJpIjoiNDdkYTU3MGZmYWVlNDZjNzlmZDMzNjMwNDY0MmYwMzUiLCJwIjoiaiJ9 ) JSSH-24 ( https://shibboleth.atlassian.net/browse/JSSH-24?atlOrigin=eyJpIjoiNDdkYTU3MGZmYWVlNDZjNzlmZDMzNjMwNDY0MmYwMzUiLCJwIjoiaiJ9 ) Random getInstanceStrong method may return only blocking PNRG ( https://shibboleth.atlassian.net/browse/JSSH-24?atlOrigin=eyJpIjoiNDdkYTU3MGZmYWVlNDZjNzlmZDMzNjMwNDY0MmYwMzUiLCJwIjoiaiJ9 )
Issue Type: Bug Assignee: Unassigned Components: Security Created: 08/Feb/23 10:28 AM Fix Versions: 9.0.0 Priority: Trivial Reporter: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 )
I adjusted the PNRG acquisition code to use the getInstanceStrong abstraction but there is discussion online that it returns a blocking PNRG that doesn’t honor the java.security.egd property to use /dev/urandom, which would be a problem.
Santuario also implemented a change like this in (I think) the V3 branch, not ours yet, but may also need to be addressed. They might change it back, I don’t know yet, https://issues.apache.org/jira/browse/SANTUARIO-598 ( https://issues.apache.org/jira/browse/SANTUARIO-598 )
This obviously sucks because we don’t want to hardwire it, so at minimum we’re probably looking at a property-driven bean to control the algorithm and we’ll have to at least bake it into the config if not the code.
( https://shibboleth.atlassian.net/browse/JSSH-24#add-comment?atlOrigin=eyJpIjoiNDdkYTU3MGZmYWVlNDZjNzlmZDMzNjMwNDY0MmYwMzUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JSSH-24#add-comment?atlOrigin=eyJpIjoiNDdkYTU3MGZmYWVlNDZjNzlmZDMzNjMwNDY0MmYwMzUiLCJwIjoiaiJ9 )
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#100214- sha1:6795dbd )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230208/fc17502f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-eab47db4-37d3-4312-81b5-3a5afc624546
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230208/fc17502f/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-c4761535-1ff7-48dd-8bea-03765db49ad2
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230208/fc17502f/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-a2449bc4-1066-45c8-92d1-dadb9c08b9cf
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230208/fc17502f/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-2a905b9a-af38-418f-b879-5fd00c832790
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230208/fc17502f/attachment-0007.png>
More information about the commits
mailing list