Skip to content

Fix the way we generate random bytes for LTPA #31218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: integration
Choose a base branch
from

Conversation

wrodrig
Copy link
Contributor

@wrodrig wrodrig commented Apr 9, 2025

In this change, we are looking to update the way we generate random bytes for LTPA keys and audit files. Using generateSeed() does not work for Hardware Crypto z/OS Systems and introduces the following error.

java.lang.UnsupportedOperationException com.ibm.ws.security.token.ltpa.internal.LTPAKeyCreateTask 

In this change, we are looking to update the way we generate random bytes for LTPA keys and audit files.
@wrodrig wrodrig requested a review from Zech-Hein April 9, 2025 17:55
@wrodrig wrodrig self-assigned this Apr 9, 2025
@wrodrig
Copy link
Contributor Author

wrodrig commented Apr 9, 2025

!build
(view Open Liberty Personal Build - ❌ completed with errors/failures.)
spawn.fullfat.buckets=all

Note: Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

LibbyBot commented Apr 9, 2025

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 1 product code files were changed.
  • Please describe in a separate comment how you tested your changes.

@wrodrig wrodrig changed the title Fix Update the way we generate random bytes for LTPA Fix the way we generate random bytes for LTPA Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants