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
I previously opened this issue in helm and was directed to this repo as it is upstream to helm's OCI registry features.
However, I wasn't able to find a related issue here. Would anyone be able to point me in the right direction or link me to the updates to ORAS facilitating x509 mTLS authentication?
What about the CLI though? I don't see options there.
Depending on what command you are using, there should be a --ca-file or a from/to version of that option. There is also a --insecure option. What were you looking for?
The m in mTLS is mutual. --ca-file gives the client a way of trusting a bespoke certificate on the server, but there don't seem to be any arguments where the client can provide a certificate and key for the server to authenticate the client. This is what the linked to issue in helm is also asking. It's about authentication, not trust.
Is this supported in oras-go v2 or is it limited to certificate authority trust?
Activity
qweeah commentedon Aug 15, 2022
Looks like HELM 3.8.0 is still using oras-go v1. This should goes to v1 branch of oras-project/oras-go.
@shizhMSFT @Wwwsylvia Does oras-go v2 support mTLS auth?
shizhMSFT commentedon Aug 15, 2022
oras-go v2supports mTLS natively.TerryHowe commentedon Feb 3, 2023
If this is don in v2, should this ticket be closed? Sounds like helm needs to upgrade
TerryHowe commentedon Feb 3, 2023
helm is on
oras.land/oras-go v1.2.2it appears, on their default branchdjmcgreal-cc commentedon Mar 9, 2023
What about the CLI though? I don't see options there.
TerryHowe commentedon Mar 9, 2023
Depending on what command you are using, there should be a
--ca-fileor a from/to version of that option. There is also a--insecureoption. What were you looking for?djmcgreal-cc commentedon Mar 10, 2023
The m in mTLS is mutual.
--ca-filegives the client a way of trusting a bespoke certificate on the server, but there don't seem to be any arguments where the client can provide a certificate and key for the server to authenticate the client. This is what the linked to issue in helm is also asking. It's about authentication, not trust.Is this supported in oras-go v2 or is it limited to certificate authority trust?
shizhMSFT commentedon Mar 22, 2023
This feature request is to let
orassupport client cert for mTLS.shizhMSFT commentedon Mar 22, 2023
Related implementation: helm/helm#11711