Skip to content

Mounting cross-repo blob (on docker.io) UNAUTHORIZED due to missing scopes #235

@TimNN

Description

@TimNN

When mounting blobs, oci-client currently uses a token that has only push,pull permission for the destination repo.

docker.io requires that the token also has pull permissions on the source repo (even if the source repo is public).

I have a very messy patch (not in any state to be published at the moment) that demonstrates that changing the token to include both permissions fixes the problem, and enables successful cross-repo mounting on docker.io.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions