-
Notifications
You must be signed in to change notification settings - Fork 474
Any plans to add content trust or is it not the concern of Portus? #807
Comments
Well, both notary and Portus support authentication schemes but with different targets. Notary supports signing of images. The decision whether a push is allowed or not depends on the key used to sign the image. With the mentioned delegation it is possible to allow additional keys to be used for signing. Notary itself does neither provides authorisation for pulls or a web frontend for management. It is designed to work with Docker Trusted Registry (AFAIK), while Portus is targeted at the open source registry. Thus neither use cases confilct nor I see any use case where Portus and notary work together. I don't see a use case where they fit together. |
@holgerreif thanks for the explanation, good summary 👍 |
FYI Harbor has support https://github.com/goharbor/harbor/blob/master/docs/user_guide.md#content-trust |
Ok, so let me sum this up :
In other words, If I sum up what you are saying, we are allowed to push images if and only if we are authenticated as Hey you know what, it was already the case with So, how much of Content Trust Management is there in your described scenario ? To make it clear :
So, preventing the docker push based on signature does not make any sense ... unless you have Identity Federation between What do you think ? (I am really asking, I am working on understanding every detail of the whole TUF) |
Update to my previous messageAlright, Now I believe I have now the definitive arguments to show that preventing image push is non-sense regarding content trust :
Here you go :
It's just that they don't see the non signed image. They don't see it but it's there, the unsigned images were not prevented from bieng push in the registry, based on anything coming from TUF, like notary. Now, do we have a consensus on that? @ArcticSnowman @dsmalko @ereslibre @dmacvicar @rds13 @codemedic Your opinion ? |
So my take away would be that the feature request for Portus would be for it to have an integration with Notary (or other trust agents) such that only trusted images can be pulled. Correct? |
Absolutely correct, and there I found a massive proof of the validity of my somewhat energiful reaction : https://github.com/IBM/portieris Content Trust Management in Kubernetes is for example here implemented using a What I will work with on the project I am working on currently, is that managers validating UAT for example, add their notary signatures, one after the other, and the images shift from namespace to namespace, Truth is I just got the idea of the name, out of describing it to you. So I bought the domain name, and created github org : https://github.com/air-lock :) p.s.: I want to say I think there is not a lot to do to get this integration, including modifying a little the portus source code so that it does not crash on notary webhooks, (really not a lot) |
There seem to be some conflict of use-cases between Portus and notary 0.2, i.e delegations.
Is this something that you have plan to add, or is it that it is completely transparent to Portus.
The text was updated successfully, but these errors were encountered: