Skip to content

Conversation

@sgettys
Copy link

@sgettys sgettys commented Nov 22, 2025

Description

  • adds new modifier to NewOrasRemote that allows setting the transport for the remote. This enables mTLS when using this library

Signed-off-by: Steven Gettys <steven.gettys@defenseunicorns.com>
@sgettys sgettys requested review from a team as code owners November 22, 2025 00:05
@Racer159 Racer159 changed the title feat: added transport modifier to NewOrasRemote feat: add transport modifier to NewOrasRemote Nov 22, 2025
Signed-off-by: Steven Gettys <steven.gettys@defenseunicorns.com>
o.progTransport = helpers.NewTransport(transport, nil)
client, ok := o.repo.Client.(*auth.Client)
if ok {
client.Client.Transport = o.progTransport
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
client.Client.Transport = o.progTransport
client.Client.Transport = transport

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.

3 participants