Skip to content

auth-scheme missing from Authorization header when talking to registryΒ #4989

@sfackler

Description

@sfackler

We currently generate a header that looks like Authorization: asdfasdfasdfasdf:

headers.append(&format!("Authorization: {}", token))?;

This does not match up with the grammar specified in RFC 7235, however:

credentials = auth-scheme [ 1*SP ( token68 / #auth-param ) ]
Authorization = credentials

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-registriesArea: registriesA-registry-authenticationArea: registry authentication and authorization (authn authz)S-needs-team-inputStatus: Needs input from team on whether/how to proceed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions