oras icon indicating copy to clipboard operation
oras copied to clipboard

Optionally support crane/docker style auth for greater compatibility

Open ktarplee opened this issue 1 year ago • 5 comments

What is the version of your ORAS CLI

main

What would you like to be added?

I would like a flag called --simple-auth. If the flag is not present then the existing behavior is used. Specifically creating a single auth.newCache() and used for all targets (source and destination). If the flag is present then a new auth.NewSingleContextCache() (definition) is created for each target (source and destination).

Why is this needed for ORAS?

See this issue for the details.

Are you willing to submit PRs to contribute to this feature?

  • [ ] Yes, I am willing to implement it.

ktarplee avatar Jan 10 '24 10:01 ktarplee

Ideally a flag would not be needed but I do not see how to do that yet.

ktarplee avatar Jan 10 '24 10:01 ktarplee

Can I work on this? // @yizha1

amands98 avatar Jan 19 '24 06:01 amands98

If anyone is not working on this then I can take on this but I need steps to get started Thanks..

Bharadwajshivam28 avatar Feb 26 '24 17:02 Bharadwajshivam28