Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosign | Add support for client to configure a proxy to pull signatures #392

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Xynnn007
Copy link
Member

This is still in draft. We will wait for a new release of oci-client to include oras-project/rust-oci-client#160

Summary

In some special cases, client needs to connect a proxy to pull signature via a proxy. This PR mainly accomplishes this.

Release Note

  • Config changes: Add proxy related items to ClientConfig
  • Dep changes: update oci-distribution to oci-client

Documentation

TODO

oci-client is the succeeder of oci-distribution crate.

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
The new `https_proxy` and `no_proxy` option gives ability for the users
to set a proxy to pull signature manifest from the registry. This is
useful in some cases where access to the registry depends on a proxy.

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant