Project

Profile

Help

Task #7853

Task #7960: FIPS and support for ALLOWED_CONTENT_CHECKSUMS

FIPS: downloader needs to notice if expected-digest-algorithm is FORBIDDEN

Added by ggainey 7 months ago. Updated 3 months ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

See https://github.com/pulp/pulpcore/blob/master/pulpcore/app/models/repository.py#L302

If a RemoteArtifact has a digest-algorithm specified that is NOT in Artifact.DIGEST_FIELDS, current behavior is to ignore it and just build the rest of the digests. We need instead to notice an empty expected_digests, check for specified-algorithms in Artifact.FORBIDDEN_DIGESTS, and raise an exception when that happens.

See https://hackmd.io/d5y1IaW_QaSJ-DsosMDkjg?view for more discussion.

History

#1 Updated by fao89 7 months ago

  • Tracker changed from Issue to Task
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)

#2 Updated by ppicka 7 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

#3 Updated by daviddavis 6 months ago

  • Parent task set to #7960

#4 Updated by pulpbot 6 months ago

  • Status changed from ASSIGNED to POST

edit: accidentally tagged wrong issue

#5 Updated by dalley 5 months ago

  • Status changed from POST to ASSIGNED

#6 Updated by daviddavis 4 months ago

  • Sprint/Milestone set to 3.11.0

#7 Updated by daviddavis 4 months ago

  • Assignee changed from ppicka to daviddavis

#8 Updated by daviddavis 4 months ago

  • Sprint/Milestone changed from 3.11.0 to 3.12.0

#9 Updated by daviddavis 3 months ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (daviddavis)

#10 Updated by daviddavis 3 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#11 Updated by pulpbot 3 months ago

  • Status changed from ASSIGNED to POST

#12 Updated by daviddavis 3 months ago

Closing in favor of #8435

#13 Updated by daviddavis 3 months ago

  • Status changed from POST to CLOSED - WONTFIX

Please register to edit this issue

Also available in: Atom PDF