[Draft] Trust Policy and Trust Store Configuration #100
sudo-bmitch
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Out of scope
Requirements
Trust Store Requirements
Deployers who consumes and executes the signed artifact from a registry needs a mechanism to specify the trusted producers. This is where deployer will use Trust Store.
Trust Policy Requirements
Deployers who consumes and executes the signed artifact from a registry needs a mechanism to specify how the artifacts should be evaluated for trust. This is where deployer will use Trust Policy.
Design
Trust Store
trustStore
: Parent node containing trust store information. Each named entry can be referenced in the trust policy.identities
: The identities that deployer trusts.x5c
: The PEM representation of signing certificate.tsaX5c
: The PEM representation of timestamp certificate.key
: The Base64 encoded verification key.keyId
: The ASCII representation of keyId.Evaluation
scope
, then only the identities associated with scope are trusted for that artifact. e.g., Forwabbit-networks2.io
registry onlyrootCertificate3
is trusted.scope
, then the identities without anyscope
node are trusted for that artifact. e.g., Forwabbit-networks999.io
registry onlyrootCertificate5, rootCertificate5, exampleKey1...
are trusted.Trust Policy
Compact mode
Detailed mode
Artifact Integrity Validation
trustPolicy
.Artifact Expiry Validation
Revoked Artifact Validation
Since revocation requires network call, the trustPolicy should provide option to either fail-open or fail-close in case the revocation URLs are not reachable.
enabledWithFailOpen
mode and revocation URL is unreachable, the system continues to allow the artifact.enabledWithFailClose
mode and revocation URL is unreachable, the system MUST rejects the artifact.Extensibility
TBD
Evaluation
Signature evaluation steps(in-progress)
Open Questions
scope
we should support? Isregistry
sufficient?Glossary
Original HackMD Doc: https://hackmd.io/s2mrFDOLQuWrV8Ib7ad7Ag
Beta Was this translation helpful? Give feedback.
All reactions