Project

Profile

Help

« Previous | Next » 

Revision b22cf3fa

Added by bmbouter 11 months ago

Adds a wrapper around hashlib.new()

Introducing the new, pulpcore.app.pulp_hashlib which provides the new function, a wrapper around the real hashlib.new(). This checks the ALLOWED_CONTENT_CHECKSUMS setting and raises an Exception if a hasher not declared as allowed is defined.

closes #7984