Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1071

Replace java.util.Random with SecureRandom

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      This task is to replace java.util.Random with SecureRandom. As pointed out on the mailing list by Larry McCay, this is not really necessary from a security POV, but it doesn't hurt either. Also replacing the associated StringBuffers with StringBuilders in this patch, as well as another minor change to avoid casting.

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              coheigea Colm O hEigeartaigh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: