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

Replace java.util.Random with SecureRandom

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      This task is to replace java.util.Random with SecureRandom. As pointed out on the mailing list by lmccay, 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

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

            Dates

              Created:
              Updated:
              Resolved: