Skip to content

deprecate sha1() Puppet function#382

Draft
silug wants to merge 1 commit intoOpenVoxProject:mainfrom
silug:openvox-9/deprecate-sha1-function
Draft

deprecate sha1() Puppet function#382
silug wants to merge 1 commit intoOpenVoxProject:mainfrom
silug:openvox-9/deprecate-sha1-function

Conversation

@silug
Copy link
Copy Markdown
Contributor

@silug silug commented Apr 7, 2026

SHA1 is no longer considered safe for new use. Emit a puppet_deprecation_warning on every call to sha1() directing users to the sha256() function from puppetlabs-stdlib.

Short description

SHA1 is no longer considered safe for new use. Emit a puppet_deprecation_warning on every call to sha1() directing users to the sha256() function from puppetlabs-stdlib.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • read and accepted the Developer Certificate of Origin document and added a Signed-off-by annotation to each of my commits
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)

SHA1 is no longer considered safe for new use. Emit a
puppet_deprecation_warning on every call to sha1() directing users to
the sha256() function from puppetlabs-stdlib.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Steven Pritchard <steven.pritchard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant