-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Description
Discussed in #170
Originally posted by jimmyraywv May 5, 2022
I am using the CNCF ORAS registry distribution in k8s. I have setup basic auth with htpasswd. The oras CLI can authenticate with the registry using -u ... -p ... flags. However, the notation 0.7.1-alpha.1 CLI fails auth with the same -u ... -p ... flags. Can someone suggest what I am missing? The command I am using is below:
This succeeds:
oras discover -o tree $IMAGE -u <USERNAME> -p <PASSWORD>
This does not succeed:
notation sign $IMAGE -u <USERNAME> -p <PASSWORD>
2022/05/04 19:03:32 https://<HOST>:443/v2/<REPO>/manifests/<VERSION>: 401 Unauthorized
```</div>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done