specifications icon indicating copy to clipboard operation
specifications copied to clipboard

Design integration of Trust Stores and Notation Config

Open SteveLasker opened this issue 3 years ago • 5 comments

The notation client currently supports notation cert add and has a config spec As we add Trust Stores and policy support, we'll need a design for how these interact.

SteveLasker avatar Mar 25 '22 18:03 SteveLasker

@SteveLasker , @dtzar - This issue should be in Notation, not in notary project, and I believe we have multiple open issues there to track the UX for configuration of trust store and trust policy. I propose we close this here.

In summary

  • The trust store as specified and implemented today with directory structure, does not need configuration for adding/removing certificates for RC-1.
  • For signature verification, all the configuration goes inside the Trust policy that refers to trust store
  • For signing, configuration has to be done, and lets track it as part of the open issues in Notation repo.

iamsamirzon avatar Jul 13 '22 20:07 iamsamirzon

I think what @SteveLasker is getting at is the design spec on how notation cert add interacts with the config / trust stores / policies. I don't see any relevant item to track this specifically. Agree though it should be an item in notation, not in notaryproject.

dtzar avatar Jul 13 '22 21:07 dtzar

@dtzar - I was thinking we can use one of the "user story" items you recently created or this one https://github.com/notaryproject/notation/issues/225.

We can talk more tomorrow with some live color commentary from implementers, but my understanding is that for RC-1 we do not need any CLI commands for Trust store or Trust policy

iamsamirzon avatar Jul 13 '22 21:07 iamsamirzon

I don't think it needs to be present for RC-1 as long as the usability is reasonable.
I just don't think we should close this item out yet as I don't see it as a duplicate of another item per-se.

dtzar avatar Jul 13 '22 21:07 dtzar

The command of notation cert add is now defined here https://github.com/notaryproject/notation/blob/main/specs/commandline/certificate.md, which is using CLI to manage the trust store.

yizha1 avatar Nov 22 '22 07:11 yizha1