Skip to content

Commit

Permalink
Updated verification options for tlog integrated time
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Skogman <[email protected]>
  • Loading branch information
kommendorkapten committed Dec 21, 2023
1 parent 51f6dd9 commit 79c2501
Show file tree
Hide file tree
Showing 9 changed files with 225 additions and 157 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"properties": {
"threshold": {
"type": "integer",
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and SETs from a transparency log"
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and integrated timestamps from a transparency log"
},
"disable": {
"type": "boolean",
Expand Down Expand Up @@ -269,10 +269,6 @@
"disable": {
"type": "boolean",
"description": "Disable verification for transparency logs."
},
"verifySet": {
"type": "boolean",
"description": "Verify SET indicates that the timestamp from the SET should be used when verifying the X.509 certifiacte chain. Note that inclusion promises (SETs) are optional in a bundle, and so requiring SET may render bundles invalid during verification if SET is not present."
}
},
"additionalProperties": false,
Expand Down
6 changes: 1 addition & 5 deletions gen/jsonschema/schemas/Input.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@
"properties": {
"threshold": {
"type": "integer",
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and SETs from a transparency log"
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and integrated timestamps from a transparency log"
},
"disable": {
"type": "boolean",
Expand Down Expand Up @@ -769,10 +769,6 @@
"disable": {
"type": "boolean",
"description": "Disable verification for transparency logs."
},
"verifySet": {
"type": "boolean",
"description": "Verify SET indicates that the timestamp from the SET should be used when verifying the X.509 certifiacte chain. Note that inclusion promises (SETs) are optional in a bundle, and so requiring SET may render bundles invalid during verification if SET is not present."
}
},
"additionalProperties": false,
Expand Down
273 changes: 167 additions & 106 deletions gen/pb-go/verification/v1/sigstore_verification.pb.go

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion gen/pb-ruby/lib/sigstore_verification_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions gen/pb-rust/schemas/ArtifactVerificationOptions.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"properties": {
"threshold": {
"type": "integer",
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and SETs from a transparency log"
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and integrated timestamps from a transparency log"
},
"disable": {
"type": "boolean",
Expand Down Expand Up @@ -269,10 +269,6 @@
"disable": {
"type": "boolean",
"description": "Disable verification for transparency logs."
},
"verifySet": {
"type": "boolean",
"description": "Verify SET indicates that the timestamp from the SET should be used when verifying the X.509 certifiacte chain. Note that inclusion promises (SETs) are optional in a bundle, and so requiring SET may render bundles invalid during verification if SET is not present."
}
},
"additionalProperties": false,
Expand Down
6 changes: 1 addition & 5 deletions gen/pb-rust/schemas/Input.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@
"properties": {
"threshold": {
"type": "integer",
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and SETs from a transparency log"
"description": "The number of external ovservers of the timestamp, this is a union of RFC3161 signed timestamps, and integrated timestamps from a transparency log"
},
"disable": {
"type": "boolean",
Expand Down Expand Up @@ -769,10 +769,6 @@
"disable": {
"type": "boolean",
"description": "Disable verification for transparency logs."
},
"verifySet": {
"type": "boolean",
"description": "Verify SET indicates that the timestamp from the SET should be used when verifying the X.509 certifiacte chain. Note that inclusion promises (SETs) are optional in a bundle, and so requiring SET may render bundles invalid during verification if SET is not present."
}
},
"additionalProperties": false,
Expand Down
43 changes: 30 additions & 13 deletions gen/pb-typescript/src/__generated__/sigstore_verification.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions protos/sigstore_verification.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ message ArtifactVerificationOptions {
bool perform_online_verification = 2;
// Disable verification for transparency logs.
bool disable = 3;
// Verify SET indicates that the timestamp from
// the SET should be used when verifying the X.509
// certificate chain. Note that inclusion promises (SETs)
// are optional in a bundle, and so requiring SET may render
// bundles invalid during verification if SET is not present.
bool verify_set = 4;
}
message CtlogOptions {
// The number of ct transparency logs the certificate must
Expand All @@ -78,10 +72,16 @@ message ArtifactVerificationOptions {
// Disable signed timestamp verification.
bool disable = 2;
}
message TlogIntegratedTimestampOptions{
// The number of integrated timestamps that are expected.
int32 threshold = 1;
// Disable integrated timestamp verification.
bool disable = 2;
}
message ObserverTimestampOptions {
// The number of external ovservers of the timestamp,
// this is a union of RFC3161 signed timestamps, and SETs
// from a transparency log
// this is a union of RFC3161 signed timestamps, and
// integrated timestamps from a transparency log
int32 threshold = 1;
// Disable signed timestamp verification.
bool disable = 2;
Expand Down

0 comments on commit 79c2501

Please sign in to comment.