revault_api 0.1.0-x86_64-linux

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cec83a8d0967a0c8dece431b0a9eef22d2a9bca1878267e3baaac8f897169f87
4
+ data.tar.gz: 4a21c507f664510c7fc7b15ff0beabb425cfb734a87589617424fcfa1bbf4910
5
+ SHA512:
6
+ metadata.gz: 911b4769489be3caf3ec02dbeec341b8da71a2cd43347626214f1c40281291a815eead21904bdf612880077af55c338130ec22e2df0d7c831e44da43a3744a7b
7
+ data.tar.gz: 70231447f44a22dddb5169e2403e914a4402341a9a86788d5932c5aab01b964381ba5e66262280c00ac8aff19661fc8e90d80a24929dc8d3d7ba41bc98e58882
data/LICENSE ADDED
@@ -0,0 +1,87 @@
1
+ reVault Source Available License 1.0
2
+
3
+ Copyright (c) 2021 OnePub IP Pty Ltd
4
+
5
+ This license applies to the reVault software and associated documentation files
6
+ (the "Software").
7
+
8
+ 1. Grant of Rights
9
+
10
+ Subject to this license, you may use, copy, modify, merge, publish, distribute,
11
+ and create derivative works of the Software.
12
+
13
+ You may use the Software for personal, educational, research, evaluation,
14
+ development, testing, and internal business purposes. You may also use the
15
+ Software as an internal component of your own products or services, provided
16
+ that you do not offer the Software itself, or substantially similar
17
+ functionality derived from it, as a hosted, managed, or network-accessible
18
+ service for third parties.
19
+
20
+ 2. Service Restriction
21
+
22
+ You may not, without a separate written license from OnePub IP Pty Ltd:
23
+
24
+ - offer the Software, or a modified version of it, as a hosted or managed
25
+ service;
26
+ - provide access to the Software's vault, key-management, encrypted-storage, or
27
+ related functionality through a SaaS product, API, backend service, or other
28
+ network-accessible service for third parties;
29
+ - build or operate a commercial product or service whose primary purpose is to
30
+ provide functionality substantially similar to the Software to third parties;
31
+ or
32
+ - enable another party to do any of the above.
33
+
34
+ This restriction does not prevent you from using the Software internally to
35
+ operate your own systems, or from building applications that store or process
36
+ their own data with the Software, so long as third parties are not being offered
37
+ the Software's functionality as a service.
38
+
39
+ 3. Publication of Derivative Works
40
+
41
+ If you create a derivative work of the Software, you must publish the complete
42
+ corresponding source code for that derivative work in a publicly accessible
43
+ source code repository, such as GitHub, GitLab, Codeberg, or a substantially
44
+ similar public repository service.
45
+
46
+ The published source code must include the files needed to build, test, and use
47
+ the derivative work, including modifications, build scripts, configuration
48
+ templates, and documentation reasonably necessary to understand the changes. You
49
+ may omit secrets, private keys, credentials, customer data, production
50
+ configuration values, and other sensitive operational data.
51
+
52
+ You must publish the source code before making the derivative work available to
53
+ others, or within 30 days after first creating the derivative work if it is used
54
+ only internally. You must keep the public repository available for as long as
55
+ you use, distribute, or make available the derivative work, unless you have a
56
+ separate written license from OnePub IP Pty Ltd.
57
+
58
+ 4. Redistribution
59
+
60
+ If you distribute the Software or a derivative work, you must include this
61
+ license and the copyright notice above. Any redistribution of the Software or a
62
+ derivative work must be under this license or a later version published by
63
+ OnePub IP Pty Ltd, unless you have a separate written license.
64
+
65
+ 5. No Trademark Rights
66
+
67
+ This license does not grant permission to use the names, trademarks, service
68
+ marks, or logos of OnePub IP Pty Ltd except as required for reasonable and
69
+ customary attribution.
70
+
71
+ 6. Termination
72
+
73
+ Your rights under this license terminate automatically if you violate the
74
+ license and do not cure the violation within 30 days after becoming aware of it.
75
+ After termination, you must stop using, copying, modifying, publishing,
76
+ distributing, and operating the Software, except as permitted by a separate
77
+ written license.
78
+
79
+ 7. Disclaimer of Warranty
80
+
81
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
82
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
83
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NONINFRINGEMENT. IN NO EVENT SHALL
84
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
85
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM,
86
+ OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
87
+ SOFTWARE.
@@ -0,0 +1,305 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: revault_bindings.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("revault_bindings.proto", :syntax => :proto3) do
8
+ add_message "revault.bindings.LockboxEntry" do
9
+ optional :path, :string, 1
10
+ optional :kind, :enum, 2, "revault.bindings.LockboxEntry.Kind"
11
+ optional :length, :uint64, 3
12
+ optional :permissions, :uint32, 4
13
+ end
14
+ add_enum "revault.bindings.LockboxEntry.Kind" do
15
+ value :KIND_UNSPECIFIED, 0
16
+ value :FILE, 1
17
+ value :SYMLINK, 2
18
+ value :DIRECTORY, 3
19
+ end
20
+ add_message "revault.bindings.LockboxEntryList" do
21
+ repeated :entries, :message, 1, "revault.bindings.LockboxEntry"
22
+ end
23
+ add_message "revault.bindings.OptionalLockboxEntry" do
24
+ optional :value, :message, 1, "revault.bindings.LockboxEntry"
25
+ end
26
+ add_message "revault.bindings.StringList" do
27
+ repeated :values, :string, 1
28
+ end
29
+ add_message "revault.bindings.PathMove" do
30
+ optional :source, :string, 1
31
+ optional :destination, :string, 2
32
+ end
33
+ add_message "revault.bindings.PathMoveList" do
34
+ repeated :values, :message, 1, "revault.bindings.PathMove"
35
+ end
36
+ add_message "revault.bindings.ByteList" do
37
+ repeated :values, :bytes, 1
38
+ end
39
+ add_message "revault.bindings.FormField" do
40
+ optional :id, :string, 1
41
+ optional :label, :string, 2
42
+ optional :kind, :string, 3
43
+ optional :required, :bool, 4
44
+ end
45
+ add_message "revault.bindings.FormFieldList" do
46
+ repeated :values, :message, 1, "revault.bindings.FormField"
47
+ end
48
+ add_message "revault.bindings.FormDefinition" do
49
+ optional :type_id, :string, 1
50
+ optional :alias, :string, 2
51
+ optional :revision, :uint32, 3
52
+ optional :name, :string, 4
53
+ optional :description, :string, 5
54
+ repeated :fields, :message, 6, "revault.bindings.FormField"
55
+ end
56
+ add_message "revault.bindings.FormDefinitionList" do
57
+ repeated :values, :message, 1, "revault.bindings.FormDefinition"
58
+ end
59
+ add_message "revault.bindings.FormValue" do
60
+ optional :field_id, :string, 1
61
+ optional :label, :string, 2
62
+ optional :kind, :string, 3
63
+ optional :value, :string, 4
64
+ optional :secret, :bool, 5
65
+ end
66
+ add_message "revault.bindings.FormRecord" do
67
+ optional :path, :string, 1
68
+ optional :name, :string, 2
69
+ optional :type_id, :string, 3
70
+ optional :definition_alias, :string, 4
71
+ optional :definition_revision, :uint32, 5
72
+ repeated :values, :message, 6, "revault.bindings.FormValue"
73
+ end
74
+ add_message "revault.bindings.FormRecordList" do
75
+ repeated :values, :message, 1, "revault.bindings.FormRecord"
76
+ end
77
+ add_message "revault.bindings.OptionalFormRecord" do
78
+ optional :value, :message, 1, "revault.bindings.FormRecord"
79
+ end
80
+ add_message "revault.bindings.OptionalFormValue" do
81
+ optional :value, :message, 1, "revault.bindings.FormValue"
82
+ end
83
+ add_message "revault.bindings.RecoveryReport" do
84
+ repeated :intact_files, :message, 1, "revault.bindings.LockboxEntry"
85
+ optional :intact_file_count, :uint64, 2
86
+ optional :partial_files, :uint64, 3
87
+ optional :corrupt_records, :uint64, 4
88
+ optional :toc_recovered, :bool, 5
89
+ optional :variables_recovered, :bool, 6
90
+ optional :variable_count, :uint64, 7
91
+ optional :forms_recovered, :bool, 8
92
+ optional :form_definition_count, :uint64, 9
93
+ optional :form_record_count, :uint64, 10
94
+ end
95
+ add_message "revault.bindings.KeySlot" do
96
+ optional :id, :uint64, 1
97
+ optional :protection, :string, 2
98
+ optional :algorithm, :string, 3
99
+ end
100
+ add_message "revault.bindings.KeySlotList" do
101
+ repeated :values, :message, 1, "revault.bindings.KeySlot"
102
+ end
103
+ add_message "revault.bindings.CacheStats" do
104
+ optional :limit_bytes, :uint64, 1
105
+ optional :used_bytes, :uint64, 2
106
+ optional :entries, :uint64, 3
107
+ optional :hits, :uint64, 4
108
+ optional :misses, :uint64, 5
109
+ end
110
+ add_message "revault.bindings.ImportStats" do
111
+ optional :host_stat_nanos, :string, 1
112
+ optional :host_read_nanos, :string, 2
113
+ optional :frame_prepare_nanos, :string, 3
114
+ optional :page_write_nanos, :string, 4
115
+ end
116
+ add_message "revault.bindings.PageObject" do
117
+ optional :id, :uint64, 1
118
+ optional :kind, :string, 2
119
+ optional :payload_len, :uint64, 3
120
+ end
121
+ add_message "revault.bindings.PageInspection" do
122
+ optional :offset, :uint64, 1
123
+ optional :page_id, :uint64, 2
124
+ optional :sequence, :uint64, 3
125
+ optional :page_size, :uint64, 4
126
+ optional :encrypted_body_len, :uint64, 5
127
+ optional :unused_bytes, :uint64, 6
128
+ optional :object_count, :uint64, 7
129
+ repeated :objects, :message, 8, "revault.bindings.PageObject"
130
+ end
131
+ add_message "revault.bindings.PageInspectionList" do
132
+ repeated :values, :message, 1, "revault.bindings.PageInspection"
133
+ end
134
+ add_message "revault.bindings.FileInspection" do
135
+ optional :lockbox_id, :bytes, 1
136
+ optional :header_readable, :bool, 2
137
+ optional :key_directory_generation, :uint64, 3
138
+ optional :key_directory_copy_count, :uint64, 4
139
+ optional :owner_signed, :bool, 5
140
+ repeated :key_slots, :message, 6, "revault.bindings.KeySlot"
141
+ end
142
+ add_message "revault.bindings.ProfileGeneration" do
143
+ optional :index, :uint32, 1
144
+ optional :status, :string, 2
145
+ optional :contact_fingerprint, :bytes, 3
146
+ optional :created_at_unix_ms, :uint64, 4
147
+ optional :retired_at_unix_ms, :uint64, 5
148
+ optional :has_retired_at, :bool, 6
149
+ end
150
+ add_message "revault.bindings.ProfileHistory" do
151
+ optional :name, :string, 1
152
+ optional :active_generation, :uint32, 2
153
+ repeated :generations, :message, 3, "revault.bindings.ProfileGeneration"
154
+ end
155
+ add_message "revault.bindings.KnownLockbox" do
156
+ optional :lockbox_id, :bytes, 1
157
+ optional :path, :string, 2
158
+ optional :last_seen_unix_ms, :uint64, 3
159
+ end
160
+ add_message "revault.bindings.KnownLockboxList" do
161
+ repeated :values, :message, 1, "revault.bindings.KnownLockbox"
162
+ end
163
+ add_message "revault.bindings.AccessSlotLabel" do
164
+ optional :lockbox_id, :bytes, 1
165
+ optional :slot_id, :uint64, 2
166
+ optional :name, :string, 3
167
+ optional :updated_at_unix_ms, :uint64, 4
168
+ end
169
+ add_message "revault.bindings.AccessSlotLabelList" do
170
+ repeated :values, :message, 1, "revault.bindings.AccessSlotLabel"
171
+ end
172
+ add_message "revault.bindings.StreamChunk" do
173
+ optional :path, :string, 1
174
+ optional :file_offset, :uint64, 2
175
+ optional :length, :uint64, 3
176
+ optional :physical_offset, :uint64, 4
177
+ optional :sparse, :bool, 5
178
+ optional :data, :bytes, 6
179
+ end
180
+ add_message "revault.bindings.StreamChunkList" do
181
+ repeated :values, :message, 1, "revault.bindings.StreamChunk"
182
+ end
183
+ add_message "revault.bindings.RuntimeOptions" do
184
+ optional :workload_profile, :string, 1
185
+ optional :worker_policy, :string, 2
186
+ end
187
+ add_message "revault.bindings.Variable" do
188
+ optional :name, :string, 1
189
+ optional :sensitivity, :string, 2
190
+ end
191
+ add_message "revault.bindings.VariableList" do
192
+ repeated :values, :message, 1, "revault.bindings.Variable"
193
+ end
194
+ add_message "revault.bindings.OptionalString" do
195
+ optional :present, :bool, 1
196
+ optional :value, :string, 2
197
+ end
198
+ add_message "revault.bindings.OwnerInspection" do
199
+ optional :signed, :bool, 1
200
+ optional :fingerprint, :string, 2
201
+ optional :has_fingerprint, :bool, 3
202
+ end
203
+ add_message "revault.bindings.Contact" do
204
+ optional :name, :string, 1
205
+ optional :key, :bytes, 2
206
+ end
207
+ add_message "revault.bindings.ContactList" do
208
+ repeated :values, :message, 1, "revault.bindings.Contact"
209
+ end
210
+ add_message "revault.bindings.ProfileHistoryList" do
211
+ repeated :values, :message, 1, "revault.bindings.ProfileHistory"
212
+ end
213
+ add_message "revault.bindings.AgentEntry" do
214
+ optional :id, :string, 1
215
+ optional :path, :string, 2
216
+ end
217
+ add_message "revault.bindings.AgentEntryList" do
218
+ repeated :values, :message, 1, "revault.bindings.AgentEntry"
219
+ end
220
+ add_message "revault.bindings.SleepSupport" do
221
+ optional :suspend_notifications, :bool, 1
222
+ optional :sleep_inhibition, :bool, 2
223
+ optional :supported, :bool, 3
224
+ end
225
+ add_message "revault.bindings.PlatformStatus" do
226
+ optional :supported, :bool, 1
227
+ optional :disabled, :bool, 2
228
+ optional :scope, :string, 3
229
+ optional :backend, :string, 4
230
+ optional :item, :string, 5
231
+ end
232
+ add_message "revault.bindings.StringValue" do
233
+ optional :value, :string, 1
234
+ end
235
+ add_message "revault.bindings.VaultBackupManifest" do
236
+ optional :format_version, :uint32, 1
237
+ optional :created_at_unix_ms, :uint64, 2
238
+ optional :vault_file_name, :string, 3
239
+ optional :vault_size, :uint64, 4
240
+ optional :vault_sha256, :string, 5
241
+ end
242
+ add_message "revault.bindings.ErrorDetails" do
243
+ optional :category, :string, 1
244
+ optional :artifact_kind, :string, 2
245
+ optional :found_version, :uint32, 3
246
+ optional :supported_version, :uint32, 4
247
+ optional :message, :string, 5
248
+ optional :guidance, :string, 6
249
+ end
250
+ end
251
+ end
252
+
253
+ module Revault
254
+ module Bindings
255
+ LockboxEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.LockboxEntry").msgclass
256
+ LockboxEntry::Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.LockboxEntry.Kind").enummodule
257
+ LockboxEntryList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.LockboxEntryList").msgclass
258
+ OptionalLockboxEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.OptionalLockboxEntry").msgclass
259
+ StringList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.StringList").msgclass
260
+ PathMove = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.PathMove").msgclass
261
+ PathMoveList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.PathMoveList").msgclass
262
+ ByteList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ByteList").msgclass
263
+ FormField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormField").msgclass
264
+ FormFieldList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormFieldList").msgclass
265
+ FormDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormDefinition").msgclass
266
+ FormDefinitionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormDefinitionList").msgclass
267
+ FormValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormValue").msgclass
268
+ FormRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormRecord").msgclass
269
+ FormRecordList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FormRecordList").msgclass
270
+ OptionalFormRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.OptionalFormRecord").msgclass
271
+ OptionalFormValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.OptionalFormValue").msgclass
272
+ RecoveryReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.RecoveryReport").msgclass
273
+ KeySlot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.KeySlot").msgclass
274
+ KeySlotList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.KeySlotList").msgclass
275
+ CacheStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.CacheStats").msgclass
276
+ ImportStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ImportStats").msgclass
277
+ PageObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.PageObject").msgclass
278
+ PageInspection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.PageInspection").msgclass
279
+ PageInspectionList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.PageInspectionList").msgclass
280
+ FileInspection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.FileInspection").msgclass
281
+ ProfileGeneration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ProfileGeneration").msgclass
282
+ ProfileHistory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ProfileHistory").msgclass
283
+ KnownLockbox = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.KnownLockbox").msgclass
284
+ KnownLockboxList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.KnownLockboxList").msgclass
285
+ AccessSlotLabel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.AccessSlotLabel").msgclass
286
+ AccessSlotLabelList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.AccessSlotLabelList").msgclass
287
+ StreamChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.StreamChunk").msgclass
288
+ StreamChunkList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.StreamChunkList").msgclass
289
+ RuntimeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.RuntimeOptions").msgclass
290
+ Variable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.Variable").msgclass
291
+ VariableList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.VariableList").msgclass
292
+ OptionalString = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.OptionalString").msgclass
293
+ OwnerInspection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.OwnerInspection").msgclass
294
+ Contact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.Contact").msgclass
295
+ ContactList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ContactList").msgclass
296
+ ProfileHistoryList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ProfileHistoryList").msgclass
297
+ AgentEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.AgentEntry").msgclass
298
+ AgentEntryList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.AgentEntryList").msgclass
299
+ SleepSupport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.SleepSupport").msgclass
300
+ PlatformStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.PlatformStatus").msgclass
301
+ StringValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.StringValue").msgclass
302
+ VaultBackupManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.VaultBackupManifest").msgclass
303
+ ErrorDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("revault.bindings.ErrorDetails").msgclass
304
+ end
305
+ end