You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "jmestwa-coder (via GitHub)" <gi...@apache.org> on 2026/04/30 09:51:34 UTC
[PR] Use SecureRandom for cryptographic operations and remove SHA1PRNG dependency [wicket]
jmestwa-coder opened a new pull request, #1439:
URL: https://github.com/apache/wicket/pull/1439
## Summary
Replace `java.util.Random` with `SecureRandom` in cryptographic usage and remove hardcoded `"SHA1PRNG"`.
## Changes
* Use `SecureRandom` for salt generation in `SunJceCrypt`
* Replace `"SHA1PRNG"` with `new SecureRandom()` in `DefaultSecureRandomSupplier`
## Why
* `Random` is predictable and not suitable for cryptographic use
* Salt generation requires high-entropy randomness
* Avoid hardcoded PRNG and let JVM choose the appropriate provider
## Impact
* No API or behavior changes
* Backward compatible
* Improves randomness quality in security-sensitive paths
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Use SecureRandom for cryptographic operations and remove SHA1PRNG dependency [wicket]
Posted by "reiern70 (via GitHub)" <gi...@apache.org>.
reiern70 commented on PR #1439:
URL: https://github.com/apache/wicket/pull/1439#issuecomment-5006903741
> gentle ping
merged
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Use SecureRandom for cryptographic operations and remove SHA1PRNG dependency [wicket]
Posted by "reiern70 (via GitHub)" <gi...@apache.org>.
reiern70 merged PR #1439:
URL: https://github.com/apache/wicket/pull/1439
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Use SecureRandom for cryptographic operations and remove SHA1PRNG dependency [wicket]
Posted by "jmestwa-coder (via GitHub)" <gi...@apache.org>.
jmestwa-coder commented on PR #1439:
URL: https://github.com/apache/wicket/pull/1439#issuecomment-5000530987
gentle ping
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@wicket.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org