Replies: 5 comments 6 replies
-
There is a difference between |
Beta Was this translation helpful? Give feedback.
-
Indeed, there is a difference between If we iterate every possible value of those two flags, we can get four combinations:
Case 3 is invalid because you cannot do cert verification when no TLS connect established, which means when So, it's possible to combine those 2 flags into one and following below workflow when
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Below was discussed in today community meeting. See detail in the meeting records.
|
Beta Was this translation helpful? Give feedback.
-
I think we are concentrating on the wrong thing. In what scenario will the user be interested whether it is plain HTTP or not secure TLS? In both cases the communication channel should not be trusted. Both, plain-http and untrusted TLS are testing scenarios only. Cluttering the UI with multiple flags is not necessary IMHO. |
Beta Was this translation helpful? Give feedback.
-
When using ORAS to access plain-HTTP registry service, users need to specify
--plain-http
. ORAS CLI should be able to do automatic https-to-http handling via specifying--insecure
. Similar user experience is already provided common registry clients like Docker CLI, skopeo and nerdctl.The ultimate goal is to remove
--plain-http
flag to reduce the number of flags used by ORAS. However, there are some edge cases when the registry has DNS rules configured using the ORAS flag--resolve
. This doc outlines the edge cases and provides options for open discussion.We would like to hear from the community to find an appropriate choice from the given options. All comments are highly appreciated.
P.S. The proposed change is breaking and won't be introduced before CLI v2 release.
7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions