Skip to content

X509 Authentication with OCI registry #491

Closed

Description

@catric333

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?

Activity

  1. qweeah commented on Aug 15, 2022

    @qweeah
    Contributor

    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?

  2. shizhMSFT commented on Aug 15, 2022

    @shizhMSFT
    Contributor

    oras-go v2 supports mTLS natively.

  3. added this to the future milestone on Aug 31, 2022
  4. TerryHowe commented on Feb 3, 2023

    @TerryHowe
    Member

    If this is don in v2, should this ticket be closed? Sounds like helm needs to upgrade

  5. TerryHowe commented on Feb 3, 2023

    @TerryHowe
    Member

    helm is on oras.land/oras-go v1.2.2 it appears, on their default branch

  6. djmcgreal-cc commented on Mar 9, 2023

    @djmcgreal-cc

    What about the CLI though? I don't see options there.

  7. TerryHowe commented on Mar 9, 2023

    @TerryHowe
    Member

    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?

  8. djmcgreal-cc commented on Mar 10, 2023

    @djmcgreal-cc

    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?

  9. shizhMSFT commented on Mar 22, 2023

    @shizhMSFT
    Contributor

    This feature request is to let oras support client cert for mTLS.

  10. added
    enhancement
    on Mar 22, 2023
  11. shizhMSFT commented on Mar 22, 2023

    @shizhMSFT
    Contributor

    Related implementation: helm/helm#11711

  12. modified the milestones: future, v1.2.0 on Mar 22, 2023
  13. modified the milestones: v1.2.0, future on Jul 17, 2023
  14. modified the milestones: v1.2.0, v1.3.0 on Nov 22, 2023
  15. modified the milestones: v1.3.0, v1.2.0-rc.1 on Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions