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

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

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.7.0
    • Component/s: Compiler
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-6-18 to 2014-6-25

      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

              jsd-sla-details-panel

                People

                • Assignee:
                  andy Andrew Parker
                  Reporter:
                  rob Rob Reynolds
                  QA Contact:
                  Kurt Wall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: