HomePhorge

(PUP-2511) Add parser function digest: uses digest_algorithm to hash, not…
64af2e856c5bUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2511) Add parser function digest: uses digest_algorithm to hash, not strictly md5

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.

Details

Event Timeline

Jared Jennings <jared.jennings.ctr@us.af.mil> committed rPU64af2e856c5b: (PUP-2511) Add parser function digest: uses digest_algorithm to hash, not… (authored by Jared Jennings <jared.jennings.ctr@us.af.mil>).May 7 2014, 11:59 PM