Bug #20512
closed
Use a proper CSPRNG to generate API tokens
Added by Alexis Mousset almost 3 years ago.
Updated over 1 year ago.
Description
We currently use scala.util.Random
(which is actually based on java.util.Random
) but it is not suitable for such use cases, we should really use a CSPRNG here, like java.security.SecureRandom
.
- Target version set to 6.1.19
- Status changed from New to In progress
- Assignee set to Alexis Mousset
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4084
- Status changed from Pending technical review to Pending release
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.19, 6.2.13, 7.0.2 and 7.1.0~rc1 which were released today.
- Private changed from Yes to No
Also available in: Atom
PDF