Task #7960: FIPS and support for ALLOWED_CONTENT_CHECKSUMS
Remote artifacts are being rejected by the artifact checksum check
As of today, the check for remote content has not been added (see #8423). However, it appears that remote content with forbidden checksums is getting rejected. This is problematic because the criteria for rejecting artifacts and remote artifacts differs and it appears that the criteria for artifacts is being applied to remote artifacts.
Steps to reproduce:
name="md5-$RANDOM" url="https://fixtures.pulpproject.org/rpm-with-md5/" policy="on_demand" pulp rpm remote create --name $name --url $url --policy $policy pulp rpm repository create --name $name --remote $name pulp rpm repository sync --name $name
Error: Task /pulp/api/v3/tasks/5696b620-2965-414c-967f-fd6adb1f8aea/ failed: 'Artifact contains forbidden checksum type md5. You can allow it with 'ALLOWED_CONTENT_CHECKSUMS' setting.'
#3 Updated by daviddavis 4 months ago
This seems to have fixed the problem for me but no idea if it's the correct solution:
Please register to edit this issue