Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2511

Add parser function digest: uses digest_algorithm to hash, not strictly md5

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.7.0
    • Compiler

    Description

      Puppet has an md5 parser function, which returns the MD5 digest of its
      argument. On hosts configured for compliance with U.S. Federal
      Information Processing Standard (FIPS) 140-2, attempts to use the MD5
      algorithm cause errors, because MD5 is no longer FIPS Approved. This
      patch adds a parser function called digest, which returns the digest
      of its argument using the algorithm named by the digest_algorithm
      setting in puppet.conf. Therefore, where md5 may fail on some hosts,
      the digest function should always return a value; but the value may
      vary if the digest_algorithm setting is changed.

      Attachments

        Issue Links

          Activity

            People

              andy Andrew Parker
              rob Rob Reynolds
              Kurt Wall Kurt Wall
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support