Skip to content

start using GetRawBlob #1424

Open

Description

@cgwalters

Let's start using https://docs.rs/containers-image-proxy/latest/containers_image_proxy/struct.ImageProxy.html#method.get_raw_blob

Hmm we may want to add a method to that crate which detects when the proxy has a new enough semver so we can do dynamic dispatch.

That will fix two big things:

Activity

  1. added
    good first issue
    area/client
    on Jul 17, 2025
  2. 0verflowme commented on Dec 17, 2025

    @0verflowme

    I’d like to work on this. Are there any preferences for the fallback behavior or minimum proxy version detection?

  3. 0verflowme commented on Dec 19, 2025

    @0verflowme
  4. cgwalters commented on Dec 19, 2025

    @cgwalters
    MemberAuthor

    Hi @0verflowme thanks for your interest!

    Are there any preferences for the fallback behavior or minimum proxy version detection?

    I think indeed we need to fall back if skopeo isn't new enough. There are definitely people pulling newer bootc versions to older OSes.

    This relates to bootc-dev/containers-image-proxy-rs#79 - maybe we can try to drive more of the high level logic into that crate.

  5. andrewdunndev commented on Mar 13, 2026

    @andrewdunndev
    Contributor

    I've been looking at this and wanted to check in on the status. @0verflowme — are you still working on this?

    If the path is open, I'd be interested in taking a crack at Phase 1: adding version detection for GetRawBlob support in the proxy and using it in fetch_layer() with a fallback to get_blob for older skopeo versions. The version detection pattern is already established in containers-image-proxy (e.g. layer_info_proto_version).

    One question on the approach: with get_raw_blob, digest verification moves to the caller. Should that be a sha256 check on the compressed stream as it's read, or is there a preferred pattern for this in the codebase?

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

    area/clientgood first issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions