sigstore_protobuf_specs 0.2.1 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21d50c7183252dd3da0fd65257850dea149a7fac2b6c7173315b6418f2c0f9f9
4
- data.tar.gz: 21f40377ccb5a1e6c177c6c5ec88819334d5a20ce4a4a2ab2855346eebdd0fc4
3
+ metadata.gz: faf1d558d1aa8f86393b7dd6c996bc4605aa0cb2860a8f0dbe563b7463485d27
4
+ data.tar.gz: 54772b9ea92055f7f4d76502e18c088e210132f1ce491ff27775af86c17ff554
5
5
  SHA512:
6
- metadata.gz: 3031e33c57827c80429e7280edb895fb42f2b0a453e5b45af44685b5a352e22d5910f0da2dfd1d6ca0faacc03d871d32606481f836ec192e5e1f48a39ac3e8c4
7
- data.tar.gz: e33fb60196af075d5d757e0cbcb1d668a44317350f5fa6607634ccd8aac7c88e15381ee6b717aeae041ba04f639b4ef2cd40996de36fe02c53aaca65b36ebfa5
6
+ metadata.gz: f0aed97d8aa3315d56e70c26bec82c036005e244a89bd6eb56d454c9dc398dc0c47558e0b74eb0aee3ef209e84056f1f9173d6d46af2e8c5e5451ec99622bc19
7
+ data.tar.gz: 9571a10b8fc818abe14bf4aad2032d9bd845a91435bce606aa625e8dacdbb8c4033ce8a26482e6fe2be451e5a6bc72923a800ef26eb72e2c0f27859a49b8a0a7
data/lib/events_pb.rb CHANGED
@@ -37,14 +37,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
37
37
  end
38
38
  end
39
39
 
40
- module Dev
41
- module Sigstore
42
- module Events
43
- module V1
44
- CloudEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEvent").msgclass
45
- CloudEvent::CloudEventAttributeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue").msgclass
46
- CloudEventBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEventBatch").msgclass
47
- end
48
- end
40
+ module Sigstore
41
+ module Events
42
+ CloudEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEvent").msgclass
43
+ CloudEvent::CloudEventAttributeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue").msgclass
44
+ CloudEventBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.events.v1.CloudEventBatch").msgclass
49
45
  end
50
46
  end
@@ -19,6 +19,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  oneof :content do
20
20
  optional :public_key, :message, 1, "dev.sigstore.common.v1.PublicKeyIdentifier"
21
21
  optional :x509_certificate_chain, :message, 2, "dev.sigstore.common.v1.X509CertificateChain"
22
+ optional :certificate, :message, 5, "dev.sigstore.common.v1.X509Certificate"
22
23
  end
23
24
  end
24
25
  add_message "dev.sigstore.bundle.v1.Bundle" do
@@ -61,6 +61,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
61
  add_enum "dev.sigstore.common.v1.HashAlgorithm" do
62
62
  value :HASH_ALGORITHM_UNSPECIFIED, 0
63
63
  value :SHA2_256, 1
64
+ value :SHA2_384, 2
65
+ value :SHA2_512, 3
66
+ value :SHA3_256, 4
67
+ value :SHA3_384, 5
64
68
  end
65
69
  add_enum "dev.sigstore.common.v1.PublicKeyDetails" do
66
70
  value :PUBLIC_KEY_DETAILS_UNSPECIFIED, 0
@@ -68,9 +72,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
68
72
  value :PKCS1_RSA_PSS, 2
69
73
  value :PKIX_RSA_PKCS1V5, 3
70
74
  value :PKIX_RSA_PSS, 4
71
- value :PKIX_ECDSA_P256_SHA_256, 5
75
+ value :PKIX_RSA_PKCS1V15_2048_SHA256, 9
76
+ value :PKIX_RSA_PKCS1V15_3072_SHA256, 10
77
+ value :PKIX_RSA_PKCS1V15_4096_SHA256, 11
78
+ value :PKIX_RSA_PSS_2048_SHA256, 16
79
+ value :PKIX_RSA_PSS_3072_SHA256, 17
80
+ value :PKIX_RSA_PSS_4096_SHA256, 18
72
81
  value :PKIX_ECDSA_P256_HMAC_SHA_256, 6
82
+ value :PKIX_ECDSA_P256_SHA_256, 5
83
+ value :PKIX_ECDSA_P384_SHA_384, 12
84
+ value :PKIX_ECDSA_P521_SHA_512, 13
73
85
  value :PKIX_ED25519, 7
86
+ value :PKIX_ED25519_PH, 8
87
+ value :LMS_SHA256, 14
88
+ value :LMOTS_SHA256, 15
74
89
  end
75
90
  add_enum "dev.sigstore.common.v1.SubjectAlternativeNameType" do
76
91
  value :SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED, 0
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Dev
18
18
  module Sigstore
19
- VERSION = '0.2.1'
19
+ VERSION = '0.3.1'
20
20
  end
21
- end
21
+ end
@@ -14,5 +14,5 @@
14
14
  # See the License for the specific language governing permissions and
15
15
  # limitations under the License.
16
16
 
17
- require 'sigstore_protobuf_specs/version'
18
- Dir[File.join(__dir__, '*.rb')].each { |file| require file }
17
+ require_relative 'sigstore_protobuf_specs/version'
18
+ Dir['*_pb.rb', base: __dir__].each { |file| require_relative file }
@@ -3,6 +3,7 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/field_behavior_pb'
6
7
  require 'sigstore_common_pb'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -26,6 +27,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
27
  repeated :ctlogs, :message, 4, "dev.sigstore.trustroot.v1.TransparencyLogInstance"
27
28
  repeated :timestamp_authorities, :message, 5, "dev.sigstore.trustroot.v1.CertificateAuthority"
28
29
  end
30
+ add_message "dev.sigstore.trustroot.v1.SigningConfig" do
31
+ optional :ca_url, :string, 1
32
+ optional :oidc_url, :string, 2
33
+ repeated :tlog_urls, :string, 3
34
+ repeated :tsa_urls, :string, 4
35
+ end
36
+ add_message "dev.sigstore.trustroot.v1.ClientTrustConfig" do
37
+ optional :media_type, :string, 1
38
+ optional :trusted_root, :message, 2, "dev.sigstore.trustroot.v1.TrustedRoot"
39
+ optional :signing_config, :message, 3, "dev.sigstore.trustroot.v1.SigningConfig"
40
+ end
29
41
  end
30
42
  end
31
43
 
@@ -35,6 +47,8 @@ module Sigstore
35
47
  TransparencyLogInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.trustroot.v1.TransparencyLogInstance").msgclass
36
48
  CertificateAuthority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.trustroot.v1.CertificateAuthority").msgclass
37
49
  TrustedRoot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.trustroot.v1.TrustedRoot").msgclass
50
+ SigningConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.trustroot.v1.SigningConfig").msgclass
51
+ ClientTrustConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.trustroot.v1.ClientTrustConfig").msgclass
38
52
  end
39
53
  end
40
54
  end
@@ -24,6 +24,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
24
  proto3_optional :tlog_options, :message, 3, "dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogOptions"
25
25
  proto3_optional :ctlog_options, :message, 4, "dev.sigstore.verification.v1.ArtifactVerificationOptions.CtlogOptions"
26
26
  proto3_optional :tsa_options, :message, 5, "dev.sigstore.verification.v1.ArtifactVerificationOptions.TimestampAuthorityOptions"
27
+ proto3_optional :integrated_ts_options, :message, 6, "dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogIntegratedTimestampOptions"
28
+ proto3_optional :observer_options, :message, 7, "dev.sigstore.verification.v1.ArtifactVerificationOptions.ObserverTimestampOptions"
27
29
  oneof :signers do
28
30
  optional :certificate_identities, :message, 1, "dev.sigstore.verification.v1.CertificateIdentities"
29
31
  optional :public_keys, :message, 2, "dev.sigstore.verification.v1.PublicKeyIdentities"
@@ -36,13 +38,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
36
38
  end
37
39
  add_message "dev.sigstore.verification.v1.ArtifactVerificationOptions.CtlogOptions" do
38
40
  optional :threshold, :int32, 1
39
- optional :detached_sct, :bool, 2
40
41
  optional :disable, :bool, 3
41
42
  end
42
43
  add_message "dev.sigstore.verification.v1.ArtifactVerificationOptions.TimestampAuthorityOptions" do
43
44
  optional :threshold, :int32, 1
44
45
  optional :disable, :bool, 2
45
46
  end
47
+ add_message "dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogIntegratedTimestampOptions" do
48
+ optional :threshold, :int32, 1
49
+ optional :disable, :bool, 2
50
+ end
51
+ add_message "dev.sigstore.verification.v1.ArtifactVerificationOptions.ObserverTimestampOptions" do
52
+ optional :threshold, :int32, 1
53
+ optional :disable, :bool, 2
54
+ end
46
55
  add_message "dev.sigstore.verification.v1.Artifact" do
47
56
  oneof :data do
48
57
  optional :artifact_uri, :string, 1
@@ -68,6 +77,8 @@ module Sigstore
68
77
  ArtifactVerificationOptions::TlogOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogOptions").msgclass
69
78
  ArtifactVerificationOptions::CtlogOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.ArtifactVerificationOptions.CtlogOptions").msgclass
70
79
  ArtifactVerificationOptions::TimestampAuthorityOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.ArtifactVerificationOptions.TimestampAuthorityOptions").msgclass
80
+ ArtifactVerificationOptions::TlogIntegratedTimestampOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.ArtifactVerificationOptions.TlogIntegratedTimestampOptions").msgclass
81
+ ArtifactVerificationOptions::ObserverTimestampOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.ArtifactVerificationOptions.ObserverTimestampOptions").msgclass
71
82
  Artifact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.Artifact").msgclass
72
83
  Input = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dev.sigstore.verification.v1.Input").msgclass
73
84
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigstore_protobuf_specs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sigstore Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-16 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.4.10
87
+ rubygems_version: 3.4.19
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: A library for serializing and deserializing Sigstore messages.