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
Hi, there currently does not seem to be a way to authenticate with X509 certs with a registry.
The registry does not have password authentication (which seems to be currently supported with the registry config.json that can be passed in via --registry-config flag).
Would it be possible to add a way to specify X509 certs or point to a file path where they are located to authenticate?
There is a dir for each registry domain with the CA & client's cert/key used for authentication. It seems almost standard among these tools and podman does something similar, but the dirs are located here, /etc/containers/certs.d. The certs allow skopeo, podman, crio, and buildah to authenticate.
@bacongobbler
Is there any foreseen timeline for this to get picked up and implemented?
In the environment I'm trying to use helm in there's no easy way to not use x509 authentication for the registry.
@catric96 there is work currently in flight in the upstream ORAS to add this feature. As soon as it is in the dependency library, it can then be integrated into helm
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
@catric96 there is work currently in flight in the upstream ORAS to add this feature. As soon as it is in the dependency library, it can then be integrated into helm
Has this since been merged into helm? I wasn't sure which ORAS issue this was linked to after looking through
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Activity
logan064 commentedon Mar 24, 2022
I noticed this as well. We use x509 client authentication instead of passwords and I am facing the same issue. We can not adopt the OCI features, until we have a way to authenticate with the registry as a client with helm via certificates. Perhaps it makes sense to follow the following approach since other tools like podman/skopeo/docker all use it: https://docs.docker.com/engine/security/certificates/
There is a dir for each registry domain with the CA & client's cert/key used for authentication. It seems almost standard among these tools and podman does something similar, but the dirs are located here, /etc/containers/certs.d. The certs allow skopeo, podman, crio, and buildah to authenticate.
catric333 commentedon May 11, 2022
@bacongobbler
Is there any foreseen timeline for this to get picked up and implemented?
In the environment I'm trying to use helm in there's no easy way to not use x509 authentication for the registry.
sabre1041 commentedon May 12, 2022
@catric96 there is work currently in flight in the upstream ORAS to add this feature. As soon as it is in the dependency library, it can then be integrated into helm
github-actions commentedon Aug 11, 2022
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
catric333 commentedon Aug 11, 2022
Has this since been merged into helm? I wasn't sure which ORAS issue this was linked to after looking through
rdjones517 commentedon Aug 30, 2022
looks like ORAS v2 now supports mTLS
oras-project/oras#491 (comment)
github-actions commentedon Nov 29, 2022
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
github-actions commentedon Feb 28, 2023
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.