Actions
Story #7984
closedTask #7960: FIPS and support for ALLOWED_CONTENT_CHECKSUMS
As a user, Pulp will error if a disallowed hasher is attempted to be used
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 90
Quarter:
Description
- Consolidate our calls to a new area that checks
ALLOWED_CONTENT_CHECKSUMS
in one place - Make that available to plugin writers in the plugin API
- Add docs for plugin writers.
Actions
Adds a wrapper around hashlib.new()
Introducing the new,
pulpcore.app.pulp_hashlib
which provides thenew
function, a wrapper around the realhashlib.new()
. This checks theALLOWED_CONTENT_CHECKSUMS
setting and raises an Exception if a hasher not declared as allowed is defined.closes #7984