revault_api 0.1.0-aarch64-linux → 0.3.12-aarch64-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 +4 -4
- data/LICENSE +2 -2
- data/README.md +419 -0
- metadata +11 -27
- data/generated/revault_bindings_pb.rb +0 -305
- data/lib/revault/binding_operations.rb +0 -1093
- data/lib/revault/native_library.rb +0 -40
- data/lib/revault/vault.rb +0 -906
- data/native/linux-aarch64-gnu/librevault_api.so +0 -0
- data/native/linux-aarch64-gnu/librevault_ruby_shim.so +0 -0
- data/native/revault_ruby_shim.c +0 -341
- data/revault_api.rb +0 -3
|
@@ -1,305 +0,0 @@
|
|
|
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
|