You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optionally support crane/docker style auth for greater compatibility #1239
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).
@tanyabhatnagar Thanks for offering the contribution! Since this issue is in the future backlog, it means we need to discuss its validity before the actual implementation. You are welcome to contribute to the design spec. Once the spec is finalized (for larger features) or the discussion is closed with a consensus (for smaller features), we can proceed to implementation. Otherwise, all related PRs are treated as drafts or demos.
Duplicate of #1892. Both come from the same root cause: oras copy shares one auth cache between source and destination, so separate credentials for the same registry collide (oras-project/oras-go#650). The fix is tracked in #1892 as part of the oras-go v3 migration (#2008), so closing this to keep the discussion in one place.
Activity
ktarplee commentedon Jan 10, 2024
Ideally a flag would not be needed but I do not see how to do that yet.
iambahmanop commentedon Jan 19, 2024
Can I work on this? // @yizha1
Bharadwajshivam28 commentedon Feb 26, 2024
If anyone is not working on this then I can take on this but I need steps to get started
Thanks..
tanyabhatnagar commentedon Jul 2, 2025
@yizha1 @FeynmanZhou hello, i would like to work on this issue. can you please assign it to me?
Added a --simple-auth-flag (oras-project#1239)
shizhMSFT commentedon Jul 4, 2025
@tanyabhatnagar Thanks for offering the contribution! Since this issue is in the future backlog, it means we need to discuss its validity before the actual implementation. You are welcome to contribute to the design spec. Once the spec is finalized (for larger features) or the discussion is closed with a consensus (for smaller features), we can proceed to implementation. Otherwise, all related PRs are treated as drafts or demos.
TerryHowe commentedon Oct 22, 2026
Duplicate of #1892. Both come from the same root cause:
oras copyshares one auth cache between source and destination, so separate credentials for the same registry collide (oras-project/oras-go#650). The fix is tracked in #1892 as part of the oras-go v3 migration (#2008), so closing this to keep the discussion in one place.oras copycan not handle separate authentication for same registry #1892