Project

Profile

Help

Issue #7113

closed

wrong content-type is reported on schema conversion v2 -> v1

Added by mdellweg over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

mdellweg:

Seems like we are returning 'application/vnd.docker.distribution.manifest.v1+prettyjws; charset=utf-8' when asking for 'application/vnd.docker.distribution.manifest.v1+json'. Is this intended?

dkliban:

We probably shouldn't be doing that unless we are actually signing the manifest. Let's file a bug about it.

Actions #1

Updated by ipanova@redhat.com over 3 years ago

it is intended to return signed manifest. Unsigned manifests are undesirable and unsafe. The signature payload is happening here https://github.com/pulp/pulp_container/blob/996a8cd44317d7ee320414bd968c8f536860ab26/pulp_container/app/schema_convert.py#L209

We should close this issue.

Actions #2

Updated by ipanova@redhat.com over 3 years ago

  • Status changed from NEW to CLOSED - NOTABUG

Also available in: Atom PDF