Skip to content

feat: add mTLS options#1319

Merged
shizhMSFT merged 1 commit into
oras-project:mainfrom
sabre1041:mtls
Apr 16, 2024
Merged

feat: add mTLS options#1319
shizhMSFT merged 1 commit into
oras-project:mainfrom
sabre1041:mtls

Conversation

@sabre1041

Copy link
Copy Markdown
Contributor

Adds support for mTLS to remote registries

Resolves #491

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

@codecov

codecov Bot commented Apr 1, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 80.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 84.55%. Comparing base (67ee100) to head (8d1ee20).

Files Patch % Lines
cmd/oras/internal/option/remote.go 80.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1319      +/-   ##
==========================================
- Coverage   84.56%   84.55%   -0.02%     
==========================================
  Files         103      103              
  Lines        3668     3677       +9     
==========================================
+ Hits         3102     3109       +7     
- Misses        337      338       +1     
- Partials      229      230       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread cmd/oras/internal/option/remote.go Outdated
@qweeah qweeah changed the title Added mTLS options feat: add mTLS options Apr 7, 2024
Comment thread cmd/oras/internal/option/remote.go Outdated
Comment thread cmd/oras/internal/option/remote.go Outdated
Comment thread cmd/oras/internal/option/remote.go
@sabre1041 sabre1041 force-pushed the mtls branch 2 times, most recently from 135ebc2 to 5e52fc0 Compare April 14, 2024 14:29

@qweeah qweeah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread cmd/oras/internal/option/remote.go Outdated
Comment thread cmd/oras/internal/option/remote_test.go
Comment thread cmd/oras/internal/option/remote_test.go Outdated

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread cmd/oras/internal/option/remote_test.go
Signed-off-by: Andrew Block <andy.block@gmail.com>

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shizhMSFT shizhMSFT merged commit 8b5c576 into oras-project:main Apr 16, 2024
FeynmanZhou pushed a commit to FeynmanZhou/oras that referenced this pull request May 11, 2024
Signed-off-by: Andrew Block <andy.block@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

X509 Authentication with OCI registry

5 participants