Uploaded image for project: 'Commons Crypto'
  1. Commons Crypto
  2. CRYPTO-96

OpenSSL Random implementation silently falls back to Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The OpensslRandom class silently falls back to using the Java implementation if the native code is loaded but the nextRandBytes method fails.

      This seems wrong as it can cause unexpected results and mask problems.

      The corresponding OpensslCipher class does not fall back to JCE.

      Attachments

        Activity

          People

            dapengsun Dapeng Sun
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: