Skip to content

oras blob fetch and oras blob delete accept tags instead of digests #2303

Description

@TanvirTian

What happened in your environment?

oras blob fetch accepts a tag and returns the full image manifest as blob data.

oras blob delete accepts a tag and deletes the image manifest from the OCI layout.

What did you expect to happen?

oras blob fetch and oras blob delete commands should reject tags and require a digest.

How can we reproduce it?

  1. Create an OCI layout artifact tagged test
  2. Run these commands:
oras blob fetch --oci-layout --output - layout:test
  1. Notice that both commands accept the tag instead of requiring a digest.
Image

What is the version of your ORAS CLI?

1.3.6

What is your OS environment?

Linux (CachyOS)

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions