Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-4016

Remove the use of MD5 in org.apache.avro.file.DataFileWriter#generateSync

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.11.3
    • 1.12.0
    • java

    Description

      In the chat, someone mentioned using a FIPS environment, which disallows the use of insecure cryptographic hash functions, like MD5.

      The DataFileWriter class uses an MD5 hash of a random UUID and a timestamp to generate what's essentially 16 random bytes.

      This can more easily be done with SecureRandom.

      Attachments

        Issue Links

          Activity

            People

              opwvhk Oscar Westra van Holthe - Kind
              opwvhk Oscar Westra van Holthe - Kind
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m