Skip to content

Add CAI Parameters to Image Parameters#83

Merged
RichardKennedy1 merged 8 commits intomainfrom
richard/add_support_for_cai
Jun 14, 2023
Merged

Add CAI Parameters to Image Parameters#83
RichardKennedy1 merged 8 commits intomainfrom
richard/add_support_for_cai

Conversation

@RichardKennedy1
Copy link
Contributor

@RichardKennedy1 RichardKennedy1 commented Jun 5, 2023

Stability should sign image artifacts using the C2PA tool if CAI Parameters are set in the request. This commit creates a new CAI Parameters message, which allows users to specify the type of information to attach as providence data. Currently the only option is to attach the engine id. This message can be optionally included in Image Parameters to get C2PA signing of the returned image artifacts.

Stability should sign image artifacts using the C2PA tool if
CAI Parameters are set in the request. This commit creates a new CAI Parameters
message, which contains the model name and version. This message can be optionally
included in Image Parameters to get C2PA signing of the returned image artifacts.
@RichardKennedy1 RichardKennedy1 force-pushed the richard/add_support_for_cai branch from b950dcd to 1deb933 Compare June 5, 2023 16:34
RichardKennedy1 and others added 3 commits June 5, 2023 16:49
Model name and version can be extracted from the engine id. Consequently,
we should not make it a parameter in the request. Instead CAI Parameters
allows users to specify the type of parameters which can be passed in. Currently
the only option is an enum representing the type of model metadata
which will be attatched to the image.
Richard Kennedy and others added 2 commits June 6, 2023 18:50
This commit also introduces an unspecified enum value as the default.
This will make the code safer in the future while also adhering to
common API guidelines.
Richard Kennedy and others added 2 commits June 13, 2023 16:19
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@RichardKennedy1 RichardKennedy1 removed the request for review from cruhl June 14, 2023 18:27
@RichardKennedy1 RichardKennedy1 merged commit 1944724 into main Jun 14, 2023
@RichardKennedy1 RichardKennedy1 deleted the richard/add_support_for_cai branch June 14, 2023 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants