sigstore_protobuf_specs 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02bad2eff9265d14d119c2ec7b2331e502782dad310f797a0c256712c4df44d2
4
- data.tar.gz: c1ffb5b06ef4abaaf640d46d188c80df170aee7e8aeae01bcde9c969aa1047db
3
+ metadata.gz: 3c6bdfcc2b705ef217a5cd9cbd1cecdb30816f02185ebb98f93f8e872cb6f518
4
+ data.tar.gz: dae07801ee697747019472cf3e5651afb7d9d73b4067dd7528953bbfa41b243b
5
5
  SHA512:
6
- metadata.gz: 32bf532045d220b6ebaf0b1ab6e27b784dca6745431918a5a16cb2647a85263bfcbb5d36d318e05fb454d6535075565868fd4d8da0e98a2f6bbf03370f24e793
7
- data.tar.gz: a891af5f2449a5322453233ec2dece10062735f90384fefe6e9ff382f7e1fd177ffadea61b47bb3632fd1d90497f8a29a9d0940674bf6e3a6ac7ed8b61e8d6a5
6
+ metadata.gz: 4f44c199140949ba2b055c889439cc0fc33992f4120f8e4bfb341ae9ca5f38ea5c609d54f462e2686e686ee65ddee077719add15a50f65e9a371888f4503890d
7
+ data.tar.gz: ceed36d37e7dbf40fea3472ccbdbe82daa8a6d76f95fcd344d64264b8879eec0c3ab015b229f275c3348aaf1355ebe9b8f65d4031690ca32507962e23b469d51
data/lib/events_pb.rb ADDED
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: events.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/protobuf/any_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("events.proto", :syntax => :proto3) do
11
+ add_message "dev.sigstore.events.v1.CloudEvent" do
12
+ optional :id, :string, 1
13
+ optional :source, :string, 2
14
+ optional :spec_version, :string, 3
15
+ optional :type, :string, 4
16
+ map :attributes, :string, :message, 5, "dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue"
17
+ oneof :data do
18
+ optional :binary_data, :bytes, 6
19
+ optional :text_data, :string, 7
20
+ optional :proto_data, :message, 8, "google.protobuf.Any"
21
+ end
22
+ end
23
+ add_message "dev.sigstore.events.v1.CloudEvent.CloudEventAttributeValue" do
24
+ oneof :attr do
25
+ optional :ce_boolean, :bool, 1
26
+ optional :ce_integer, :int32, 2
27
+ optional :ce_string, :string, 3
28
+ optional :ce_bytes, :bytes, 4
29
+ optional :ce_uri, :string, 5
30
+ optional :ce_uri_ref, :string, 6
31
+ optional :ce_timestamp, :message, 7, "google.protobuf.Timestamp"
32
+ end
33
+ end
34
+ add_message "dev.sigstore.events.v1.CloudEventBatch" do
35
+ repeated :events, :message, 1, "dev.sigstore.events.v1.CloudEvent"
36
+ end
37
+ end
38
+ end
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
49
+ end
50
+ 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.0'
19
+ VERSION = '0.3.0'
20
20
  end
21
- end
21
+ 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.0
4
+ version: 0.3.0
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-07-11 00:00:00.000000000 Z
11
+ date: 2024-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -54,6 +54,7 @@ files:
54
54
  - LICENSE
55
55
  - README.md
56
56
  - lib/envelope_pb.rb
57
+ - lib/events_pb.rb
57
58
  - lib/sigstore_bundle_pb.rb
58
59
  - lib/sigstore_common_pb.rb
59
60
  - lib/sigstore_protobuf_specs.rb
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
84
  - !ruby/object:Gem::Version
84
85
  version: '0'
85
86
  requirements: []
86
- rubygems_version: 3.4.6
87
+ rubygems_version: 3.4.19
87
88
  signing_key:
88
89
  specification_version: 4
89
90
  summary: A library for serializing and deserializing Sigstore messages.