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 +4 -4
- data/lib/events_pb.rb +50 -0
- data/lib/sigstore_bundle_pb.rb +1 -0
- data/lib/sigstore_common_pb.rb +16 -1
- data/lib/sigstore_protobuf_specs/version.rb +2 -2
- data/lib/sigstore_verification_pb.rb +12 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c6bdfcc2b705ef217a5cd9cbd1cecdb30816f02185ebb98f93f8e872cb6f518
|
4
|
+
data.tar.gz: dae07801ee697747019472cf3e5651afb7d9d73b4067dd7528953bbfa41b243b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/sigstore_bundle_pb.rb
CHANGED
@@ -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
|
data/lib/sigstore_common_pb.rb
CHANGED
@@ -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 :
|
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
|
@@ -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.
|
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:
|
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.
|
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.
|