Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention SDK trust list for test certs in docs #152

Open
crandmck opened this issue Jun 17, 2024 · 3 comments
Open

Mention SDK trust list for test certs in docs #152

crandmck opened this issue Jun 17, 2024 · 3 comments
Labels
waiting Can't start on this until something else happens

Comments

@crandmck
Copy link
Collaborator

crandmck commented Jun 17, 2024

Per Maurice:

The Rust SDK ships with trust list for the test certificates. It can be found at: https://github.com/contentauth/c2pa-rs/tree/main/sdk/tests/fixtures/certs/trust.

You can use this with c2patool to configure the trust support. You can also use your own trust list if required. See: https://opensource.contentauthenticity.org/docs/c2patool/#using-the-temporary-contentcredentialsorg--verify-trust-settings

We need to clarify the diff between the Verify trust list and the SDK trust list you mentioned. Currently, docs don't even mention the SDK trust list or explain how to use it (except for c2patool).

If we explain the sample certs they may as well know how to use the trust list via c2patool. The one issue we need to figure out is how/when we want to expose the settings APIs. There are still in flux but that is how you would do it with the SDK.

@crandmck crandmck changed the title Mention Mention SDK trust list for test certs in docs Jun 17, 2024
@mauricefisher64
Copy link
Collaborator

There is nothing special about trust lists, the one used by Verify or the the ones included in the SDK. It is just a set of certs you are willing to trust. We supply that list for our test certs so users can verify their test assets using c2patool. Verify uses a list we made up today but will be some other list tomorrow. Other companies can and will have other trust lists.

@crandmck
Copy link
Collaborator Author

crandmck commented Jun 19, 2024

Right but we don't explain that anywhere other than in the context of Verify.

We don't say that you can set up a trust list using the SDK.

Other companies can and will have other trust lists.

And how do they know how to set up their trust list if we don't explain it?

@crandmck
Copy link
Collaborator Author

NOTE: This is not exposed in the Rust SDK yet. Once it is, need to document.

@crandmck crandmck added the waiting Can't start on this until something else happens label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Can't start on this until something else happens
Projects
None yet
Development

No branches or pull requests

2 participants