@ledgerhq/revault-sdk 0.28.5 → 0.28.8
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.
- package/lib/bake.cjs +5 -4
- package/lib/bake.cjs.map +1 -1
- package/lib/bake.d.cts +3 -3
- package/lib/bake.d.ts +3 -3
- package/lib/bake.js +3 -2
- package/lib/bake.js.map +1 -1
- package/lib/{crypto-B4xS0N1u.cjs → crypto-BTN8FS8v.cjs} +5 -3
- package/lib/crypto-BTN8FS8v.cjs.map +1 -0
- package/lib/{crypto-BZw0pZ1Z.js → crypto-BcqzGi2f.js} +4 -2
- package/lib/{crypto-BZw0pZ1Z.js.map → crypto-BcqzGi2f.js.map} +1 -1
- package/lib/crypto.cjs +1 -1
- package/lib/crypto.js +1 -1
- package/lib/{device-dbZH_1Pt.cjs → device-CTYTWL2K.cjs} +6 -5
- package/lib/device-CTYTWL2K.cjs.map +1 -0
- package/lib/{device-Bo6m3O1I.js → device-WXLkORvV.js} +6 -5
- package/lib/device-WXLkORvV.js.map +1 -0
- package/lib/device.cjs +1 -1
- package/lib/device.d.cts +1 -1
- package/lib/device.d.ts +1 -1
- package/lib/device.js +1 -1
- package/lib/engine.cjs +53 -80
- package/lib/engine.cjs.map +1 -1
- package/lib/engine.d.cts +2 -2
- package/lib/engine.d.ts +2 -2
- package/lib/engine.js +51 -78
- package/lib/engine.js.map +1 -1
- package/lib/{index-aYbRTZvr.d.ts → index-BOGRCryj.d.ts} +2 -3
- package/lib/{index-D_EED8aS.d.cts → index-DhsFtPU0.d.cts} +2 -3
- package/lib/{index-Ds_t9ilJ.d.ts → index-OGfo9h6i.d.ts} +1 -4
- package/lib/{index-C5AAKtIf.d.cts → index-XIIQ2731.d.cts} +1 -4
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +2 -5
- package/lib/index.d.ts +2 -5
- package/lib/onboarding.cjs +2 -2
- package/lib/onboarding.cjs.map +1 -1
- package/lib/onboarding.d.cts +151 -884
- package/lib/onboarding.d.ts +151 -884
- package/lib/onboarding.js +1 -1
- package/lib/{rolldown-runtime-emK7D4bc.cjs → rolldown-runtime-y5ARvAq5.cjs} +1 -1
- package/lib/{trpc-DBU35NJq.d.ts → trpc-BCwyqVKi.d.cts} +0 -1
- package/lib/{trpc-DBU35NJq.d.cts → trpc-BCwyqVKi.d.ts} +0 -1
- package/lib/{types-ALsH_YtN.d.ts → types-BF0VbAJ_.d.ts} +2 -3
- package/lib/{types-DP-rmxvy.d.cts → types-D-dTS1te.d.cts} +2 -3
- package/lib/types.d.cts +2 -6
- package/lib/types.d.ts +2 -6
- package/lib/{utils-CavXJGCh.cjs → utils-qv4hwX4J.cjs} +2 -2
- package/lib/{utils-CavXJGCh.cjs.map → utils-qv4hwX4J.cjs.map} +1 -1
- package/package.json +11 -11
- package/lib/crypto-B4xS0N1u.cjs.map +0 -1
- package/lib/device-Bo6m3O1I.js.map +0 -1
- package/lib/device-dbZH_1Pt.cjs.map +0 -1
package/lib/onboarding.d.cts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { t as Logger } from "./logger-DHtgWA66.cjs";
|
|
2
|
-
import { d as Engine, y as WithOnboarding } from "./types-
|
|
2
|
+
import { d as Engine, y as WithOnboarding } from "./types-D-dTS1te.cjs";
|
|
3
3
|
import { OnboardingFullStateResponse, OnboardingStep } from "@ledgerhq/revault-api";
|
|
4
|
-
|
|
5
4
|
//#region src/onboarding.d.ts
|
|
6
5
|
declare const STEPS: {
|
|
7
6
|
/**
|
|
8
7
|
* Devices claiming
|
|
9
8
|
*/
|
|
10
|
-
readonly PENDING_DEVICE_CLAIMS: ({
|
|
11
|
-
state,
|
|
12
|
-
engine
|
|
13
|
-
}: {
|
|
9
|
+
readonly PENDING_DEVICE_CLAIMS: ({ state, engine }: {
|
|
14
10
|
engine: Engine<WithOnboarding>;
|
|
15
11
|
state: OnboardingFullStateResponse;
|
|
16
12
|
debugAuthToken?: string;
|
|
@@ -29,21 +25,11 @@ declare const STEPS: {
|
|
|
29
25
|
}[];
|
|
30
26
|
wrappingKey: {
|
|
31
27
|
ephemeralPubKey: string;
|
|
32
|
-
ephemeralCertificate:
|
|
33
|
-
codeHash: string;
|
|
34
|
-
attestationPub: string;
|
|
35
|
-
certificate: string;
|
|
36
|
-
signature: string;
|
|
37
|
-
};
|
|
28
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
38
29
|
fragments: {
|
|
39
30
|
pubKey: string;
|
|
40
31
|
ephemeralPubKey: string;
|
|
41
|
-
ephemeralCertificate:
|
|
42
|
-
codeHash: string;
|
|
43
|
-
attestationPub: string;
|
|
44
|
-
certificate: string;
|
|
45
|
-
signature: string;
|
|
46
|
-
};
|
|
32
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
47
33
|
blob: string;
|
|
48
34
|
}[];
|
|
49
35
|
} | null;
|
|
@@ -54,30 +40,15 @@ declare const STEPS: {
|
|
|
54
40
|
registrationChallenge: {
|
|
55
41
|
challenge: string;
|
|
56
42
|
ephemeralPublicKey: string;
|
|
57
|
-
ephemeralPublicKeyAttestation:
|
|
58
|
-
codeHash: string;
|
|
59
|
-
attestationPub: string;
|
|
60
|
-
certificate: string;
|
|
61
|
-
signature: string;
|
|
62
|
-
};
|
|
43
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
63
44
|
handshake: string;
|
|
64
|
-
handshakeAttestation:
|
|
65
|
-
codeHash: string;
|
|
66
|
-
attestationPub: string;
|
|
67
|
-
certificate: string;
|
|
68
|
-
signature: string;
|
|
69
|
-
};
|
|
45
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
70
46
|
u2fRegisterData: string;
|
|
71
47
|
ciphertext: string;
|
|
72
48
|
requestId: string;
|
|
73
49
|
};
|
|
74
50
|
registrationResponse: {
|
|
75
|
-
certificate:
|
|
76
|
-
codeHash: string;
|
|
77
|
-
attestationPub: string;
|
|
78
|
-
certificate: string;
|
|
79
|
-
signature: string;
|
|
80
|
-
};
|
|
51
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
81
52
|
u2fRegister: string;
|
|
82
53
|
u2fKeyHandle: string;
|
|
83
54
|
registerData: string;
|
|
@@ -90,12 +61,7 @@ declare const STEPS: {
|
|
|
90
61
|
challengeType: "PSD";
|
|
91
62
|
wActions: string[];
|
|
92
63
|
handshake: string;
|
|
93
|
-
handshakeAttestation:
|
|
94
|
-
codeHash: string;
|
|
95
|
-
attestationPub: string;
|
|
96
|
-
certificate: string;
|
|
97
|
-
signature: string;
|
|
98
|
-
};
|
|
64
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
99
65
|
partitionId: string;
|
|
100
66
|
};
|
|
101
67
|
signature: string | null;
|
|
@@ -105,12 +71,7 @@ declare const STEPS: {
|
|
|
105
71
|
challengeType: "PSD";
|
|
106
72
|
wActions: string[];
|
|
107
73
|
handshake: string;
|
|
108
|
-
handshakeAttestation:
|
|
109
|
-
codeHash: string;
|
|
110
|
-
attestationPub: string;
|
|
111
|
-
certificate: string;
|
|
112
|
-
signature: string;
|
|
113
|
-
};
|
|
74
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
114
75
|
partitionId: string;
|
|
115
76
|
};
|
|
116
77
|
signature: string | null;
|
|
@@ -123,30 +84,15 @@ declare const STEPS: {
|
|
|
123
84
|
registrationChallenge: {
|
|
124
85
|
challenge: string;
|
|
125
86
|
ephemeralPublicKey: string;
|
|
126
|
-
ephemeralPublicKeyAttestation:
|
|
127
|
-
codeHash: string;
|
|
128
|
-
attestationPub: string;
|
|
129
|
-
certificate: string;
|
|
130
|
-
signature: string;
|
|
131
|
-
};
|
|
87
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
132
88
|
handshake: string;
|
|
133
|
-
handshakeAttestation:
|
|
134
|
-
codeHash: string;
|
|
135
|
-
attestationPub: string;
|
|
136
|
-
certificate: string;
|
|
137
|
-
signature: string;
|
|
138
|
-
};
|
|
89
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
139
90
|
u2fRegisterData: string;
|
|
140
91
|
ciphertext: string;
|
|
141
92
|
requestId: string;
|
|
142
93
|
};
|
|
143
94
|
registrationResponse: {
|
|
144
|
-
certificate:
|
|
145
|
-
codeHash: string;
|
|
146
|
-
attestationPub: string;
|
|
147
|
-
certificate: string;
|
|
148
|
-
signature: string;
|
|
149
|
-
};
|
|
95
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
150
96
|
u2fRegister: string;
|
|
151
97
|
u2fKeyHandle: string;
|
|
152
98
|
registerData: string;
|
|
@@ -159,39 +105,19 @@ declare const STEPS: {
|
|
|
159
105
|
challengeType: "PSD";
|
|
160
106
|
wActions: string[];
|
|
161
107
|
handshake: string;
|
|
162
|
-
handshakeAttestation:
|
|
163
|
-
codeHash: string;
|
|
164
|
-
attestationPub: string;
|
|
165
|
-
certificate: string;
|
|
166
|
-
signature: string;
|
|
167
|
-
};
|
|
108
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
168
109
|
partitionId: string;
|
|
169
110
|
kkHandshake: string;
|
|
170
|
-
kkHandshakeAttestation:
|
|
171
|
-
codeHash: string;
|
|
172
|
-
attestationPub: string;
|
|
173
|
-
certificate: string;
|
|
174
|
-
signature: string;
|
|
175
|
-
};
|
|
111
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
176
112
|
ephemeralPublicKey: string;
|
|
177
|
-
certificate:
|
|
178
|
-
codeHash: string;
|
|
179
|
-
attestationPub: string;
|
|
180
|
-
certificate: string;
|
|
181
|
-
signature: string;
|
|
182
|
-
};
|
|
113
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
183
114
|
blob: string;
|
|
184
115
|
};
|
|
185
116
|
seedFragment: {
|
|
186
117
|
approverBlob: string;
|
|
187
118
|
challengeResponse: string;
|
|
188
119
|
handshake: string;
|
|
189
|
-
handshakeAttestation:
|
|
190
|
-
codeHash: string;
|
|
191
|
-
attestationPub: string;
|
|
192
|
-
certificate: string;
|
|
193
|
-
signature: string;
|
|
194
|
-
};
|
|
120
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
195
121
|
} | null;
|
|
196
122
|
} | null;
|
|
197
123
|
}[];
|
|
@@ -201,10 +127,7 @@ declare const STEPS: {
|
|
|
201
127
|
/**
|
|
202
128
|
* Wrapping Key provisioning
|
|
203
129
|
*/
|
|
204
|
-
readonly PENDING_WRAPPING_KEY_PROVISIONING: ({
|
|
205
|
-
state,
|
|
206
|
-
engine
|
|
207
|
-
}: {
|
|
130
|
+
readonly PENDING_WRAPPING_KEY_PROVISIONING: ({ state, engine }: {
|
|
208
131
|
engine: Engine<WithOnboarding>;
|
|
209
132
|
state: OnboardingFullStateResponse;
|
|
210
133
|
debugAuthToken?: string;
|
|
@@ -223,21 +146,11 @@ declare const STEPS: {
|
|
|
223
146
|
}[];
|
|
224
147
|
wrappingKey: {
|
|
225
148
|
ephemeralPubKey: string;
|
|
226
|
-
ephemeralCertificate:
|
|
227
|
-
codeHash: string;
|
|
228
|
-
attestationPub: string;
|
|
229
|
-
certificate: string;
|
|
230
|
-
signature: string;
|
|
231
|
-
};
|
|
149
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
232
150
|
fragments: {
|
|
233
151
|
pubKey: string;
|
|
234
152
|
ephemeralPubKey: string;
|
|
235
|
-
ephemeralCertificate:
|
|
236
|
-
codeHash: string;
|
|
237
|
-
attestationPub: string;
|
|
238
|
-
certificate: string;
|
|
239
|
-
signature: string;
|
|
240
|
-
};
|
|
153
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
241
154
|
blob: string;
|
|
242
155
|
}[];
|
|
243
156
|
} | null;
|
|
@@ -248,30 +161,15 @@ declare const STEPS: {
|
|
|
248
161
|
registrationChallenge: {
|
|
249
162
|
challenge: string;
|
|
250
163
|
ephemeralPublicKey: string;
|
|
251
|
-
ephemeralPublicKeyAttestation:
|
|
252
|
-
codeHash: string;
|
|
253
|
-
attestationPub: string;
|
|
254
|
-
certificate: string;
|
|
255
|
-
signature: string;
|
|
256
|
-
};
|
|
164
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
257
165
|
handshake: string;
|
|
258
|
-
handshakeAttestation:
|
|
259
|
-
codeHash: string;
|
|
260
|
-
attestationPub: string;
|
|
261
|
-
certificate: string;
|
|
262
|
-
signature: string;
|
|
263
|
-
};
|
|
166
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
264
167
|
u2fRegisterData: string;
|
|
265
168
|
ciphertext: string;
|
|
266
169
|
requestId: string;
|
|
267
170
|
};
|
|
268
171
|
registrationResponse: {
|
|
269
|
-
certificate:
|
|
270
|
-
codeHash: string;
|
|
271
|
-
attestationPub: string;
|
|
272
|
-
certificate: string;
|
|
273
|
-
signature: string;
|
|
274
|
-
};
|
|
172
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
275
173
|
u2fRegister: string;
|
|
276
174
|
u2fKeyHandle: string;
|
|
277
175
|
registerData: string;
|
|
@@ -284,12 +182,7 @@ declare const STEPS: {
|
|
|
284
182
|
challengeType: "PSD";
|
|
285
183
|
wActions: string[];
|
|
286
184
|
handshake: string;
|
|
287
|
-
handshakeAttestation:
|
|
288
|
-
codeHash: string;
|
|
289
|
-
attestationPub: string;
|
|
290
|
-
certificate: string;
|
|
291
|
-
signature: string;
|
|
292
|
-
};
|
|
185
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
293
186
|
partitionId: string;
|
|
294
187
|
};
|
|
295
188
|
signature: string | null;
|
|
@@ -299,12 +192,7 @@ declare const STEPS: {
|
|
|
299
192
|
challengeType: "PSD";
|
|
300
193
|
wActions: string[];
|
|
301
194
|
handshake: string;
|
|
302
|
-
handshakeAttestation:
|
|
303
|
-
codeHash: string;
|
|
304
|
-
attestationPub: string;
|
|
305
|
-
certificate: string;
|
|
306
|
-
signature: string;
|
|
307
|
-
};
|
|
195
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
308
196
|
partitionId: string;
|
|
309
197
|
};
|
|
310
198
|
signature: string | null;
|
|
@@ -317,30 +205,15 @@ declare const STEPS: {
|
|
|
317
205
|
registrationChallenge: {
|
|
318
206
|
challenge: string;
|
|
319
207
|
ephemeralPublicKey: string;
|
|
320
|
-
ephemeralPublicKeyAttestation:
|
|
321
|
-
codeHash: string;
|
|
322
|
-
attestationPub: string;
|
|
323
|
-
certificate: string;
|
|
324
|
-
signature: string;
|
|
325
|
-
};
|
|
208
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
326
209
|
handshake: string;
|
|
327
|
-
handshakeAttestation:
|
|
328
|
-
codeHash: string;
|
|
329
|
-
attestationPub: string;
|
|
330
|
-
certificate: string;
|
|
331
|
-
signature: string;
|
|
332
|
-
};
|
|
210
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
333
211
|
u2fRegisterData: string;
|
|
334
212
|
ciphertext: string;
|
|
335
213
|
requestId: string;
|
|
336
214
|
};
|
|
337
215
|
registrationResponse: {
|
|
338
|
-
certificate:
|
|
339
|
-
codeHash: string;
|
|
340
|
-
attestationPub: string;
|
|
341
|
-
certificate: string;
|
|
342
|
-
signature: string;
|
|
343
|
-
};
|
|
216
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
344
217
|
u2fRegister: string;
|
|
345
218
|
u2fKeyHandle: string;
|
|
346
219
|
registerData: string;
|
|
@@ -353,39 +226,19 @@ declare const STEPS: {
|
|
|
353
226
|
challengeType: "PSD";
|
|
354
227
|
wActions: string[];
|
|
355
228
|
handshake: string;
|
|
356
|
-
handshakeAttestation:
|
|
357
|
-
codeHash: string;
|
|
358
|
-
attestationPub: string;
|
|
359
|
-
certificate: string;
|
|
360
|
-
signature: string;
|
|
361
|
-
};
|
|
229
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
362
230
|
partitionId: string;
|
|
363
231
|
kkHandshake: string;
|
|
364
|
-
kkHandshakeAttestation:
|
|
365
|
-
codeHash: string;
|
|
366
|
-
attestationPub: string;
|
|
367
|
-
certificate: string;
|
|
368
|
-
signature: string;
|
|
369
|
-
};
|
|
232
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
370
233
|
ephemeralPublicKey: string;
|
|
371
|
-
certificate:
|
|
372
|
-
codeHash: string;
|
|
373
|
-
attestationPub: string;
|
|
374
|
-
certificate: string;
|
|
375
|
-
signature: string;
|
|
376
|
-
};
|
|
234
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
377
235
|
blob: string;
|
|
378
236
|
};
|
|
379
237
|
seedFragment: {
|
|
380
238
|
approverBlob: string;
|
|
381
239
|
challengeResponse: string;
|
|
382
240
|
handshake: string;
|
|
383
|
-
handshakeAttestation:
|
|
384
|
-
codeHash: string;
|
|
385
|
-
attestationPub: string;
|
|
386
|
-
certificate: string;
|
|
387
|
-
signature: string;
|
|
388
|
-
};
|
|
241
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
389
242
|
} | null;
|
|
390
243
|
} | null;
|
|
391
244
|
}[];
|
|
@@ -395,10 +248,7 @@ declare const STEPS: {
|
|
|
395
248
|
/**
|
|
396
249
|
* Init Master Admins registration
|
|
397
250
|
*/
|
|
398
|
-
readonly PENDING_MASTER_ADMINS_REGISTRATION_INIT: ({
|
|
399
|
-
engine,
|
|
400
|
-
state
|
|
401
|
-
}: {
|
|
251
|
+
readonly PENDING_MASTER_ADMINS_REGISTRATION_INIT: ({ engine, state }: {
|
|
402
252
|
engine: Engine<WithOnboarding>;
|
|
403
253
|
state: OnboardingFullStateResponse;
|
|
404
254
|
debugAuthToken?: string;
|
|
@@ -417,21 +267,11 @@ declare const STEPS: {
|
|
|
417
267
|
}[];
|
|
418
268
|
wrappingKey: {
|
|
419
269
|
ephemeralPubKey: string;
|
|
420
|
-
ephemeralCertificate:
|
|
421
|
-
codeHash: string;
|
|
422
|
-
attestationPub: string;
|
|
423
|
-
certificate: string;
|
|
424
|
-
signature: string;
|
|
425
|
-
};
|
|
270
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
426
271
|
fragments: {
|
|
427
272
|
pubKey: string;
|
|
428
273
|
ephemeralPubKey: string;
|
|
429
|
-
ephemeralCertificate:
|
|
430
|
-
codeHash: string;
|
|
431
|
-
attestationPub: string;
|
|
432
|
-
certificate: string;
|
|
433
|
-
signature: string;
|
|
434
|
-
};
|
|
274
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
435
275
|
blob: string;
|
|
436
276
|
}[];
|
|
437
277
|
} | null;
|
|
@@ -442,30 +282,15 @@ declare const STEPS: {
|
|
|
442
282
|
registrationChallenge: {
|
|
443
283
|
challenge: string;
|
|
444
284
|
ephemeralPublicKey: string;
|
|
445
|
-
ephemeralPublicKeyAttestation:
|
|
446
|
-
codeHash: string;
|
|
447
|
-
attestationPub: string;
|
|
448
|
-
certificate: string;
|
|
449
|
-
signature: string;
|
|
450
|
-
};
|
|
285
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
451
286
|
handshake: string;
|
|
452
|
-
handshakeAttestation:
|
|
453
|
-
codeHash: string;
|
|
454
|
-
attestationPub: string;
|
|
455
|
-
certificate: string;
|
|
456
|
-
signature: string;
|
|
457
|
-
};
|
|
287
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
458
288
|
u2fRegisterData: string;
|
|
459
289
|
ciphertext: string;
|
|
460
290
|
requestId: string;
|
|
461
291
|
};
|
|
462
292
|
registrationResponse: {
|
|
463
|
-
certificate:
|
|
464
|
-
codeHash: string;
|
|
465
|
-
attestationPub: string;
|
|
466
|
-
certificate: string;
|
|
467
|
-
signature: string;
|
|
468
|
-
};
|
|
293
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
469
294
|
u2fRegister: string;
|
|
470
295
|
u2fKeyHandle: string;
|
|
471
296
|
registerData: string;
|
|
@@ -478,12 +303,7 @@ declare const STEPS: {
|
|
|
478
303
|
challengeType: "PSD";
|
|
479
304
|
wActions: string[];
|
|
480
305
|
handshake: string;
|
|
481
|
-
handshakeAttestation:
|
|
482
|
-
codeHash: string;
|
|
483
|
-
attestationPub: string;
|
|
484
|
-
certificate: string;
|
|
485
|
-
signature: string;
|
|
486
|
-
};
|
|
306
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
487
307
|
partitionId: string;
|
|
488
308
|
};
|
|
489
309
|
signature: string | null;
|
|
@@ -493,12 +313,7 @@ declare const STEPS: {
|
|
|
493
313
|
challengeType: "PSD";
|
|
494
314
|
wActions: string[];
|
|
495
315
|
handshake: string;
|
|
496
|
-
handshakeAttestation:
|
|
497
|
-
codeHash: string;
|
|
498
|
-
attestationPub: string;
|
|
499
|
-
certificate: string;
|
|
500
|
-
signature: string;
|
|
501
|
-
};
|
|
316
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
502
317
|
partitionId: string;
|
|
503
318
|
};
|
|
504
319
|
signature: string | null;
|
|
@@ -511,30 +326,15 @@ declare const STEPS: {
|
|
|
511
326
|
registrationChallenge: {
|
|
512
327
|
challenge: string;
|
|
513
328
|
ephemeralPublicKey: string;
|
|
514
|
-
ephemeralPublicKeyAttestation:
|
|
515
|
-
codeHash: string;
|
|
516
|
-
attestationPub: string;
|
|
517
|
-
certificate: string;
|
|
518
|
-
signature: string;
|
|
519
|
-
};
|
|
329
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
520
330
|
handshake: string;
|
|
521
|
-
handshakeAttestation:
|
|
522
|
-
codeHash: string;
|
|
523
|
-
attestationPub: string;
|
|
524
|
-
certificate: string;
|
|
525
|
-
signature: string;
|
|
526
|
-
};
|
|
331
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
527
332
|
u2fRegisterData: string;
|
|
528
333
|
ciphertext: string;
|
|
529
334
|
requestId: string;
|
|
530
335
|
};
|
|
531
336
|
registrationResponse: {
|
|
532
|
-
certificate:
|
|
533
|
-
codeHash: string;
|
|
534
|
-
attestationPub: string;
|
|
535
|
-
certificate: string;
|
|
536
|
-
signature: string;
|
|
537
|
-
};
|
|
337
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
538
338
|
u2fRegister: string;
|
|
539
339
|
u2fKeyHandle: string;
|
|
540
340
|
registerData: string;
|
|
@@ -547,39 +347,19 @@ declare const STEPS: {
|
|
|
547
347
|
challengeType: "PSD";
|
|
548
348
|
wActions: string[];
|
|
549
349
|
handshake: string;
|
|
550
|
-
handshakeAttestation:
|
|
551
|
-
codeHash: string;
|
|
552
|
-
attestationPub: string;
|
|
553
|
-
certificate: string;
|
|
554
|
-
signature: string;
|
|
555
|
-
};
|
|
350
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
556
351
|
partitionId: string;
|
|
557
352
|
kkHandshake: string;
|
|
558
|
-
kkHandshakeAttestation:
|
|
559
|
-
codeHash: string;
|
|
560
|
-
attestationPub: string;
|
|
561
|
-
certificate: string;
|
|
562
|
-
signature: string;
|
|
563
|
-
};
|
|
353
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
564
354
|
ephemeralPublicKey: string;
|
|
565
|
-
certificate:
|
|
566
|
-
codeHash: string;
|
|
567
|
-
attestationPub: string;
|
|
568
|
-
certificate: string;
|
|
569
|
-
signature: string;
|
|
570
|
-
};
|
|
355
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
571
356
|
blob: string;
|
|
572
357
|
};
|
|
573
358
|
seedFragment: {
|
|
574
359
|
approverBlob: string;
|
|
575
360
|
challengeResponse: string;
|
|
576
361
|
handshake: string;
|
|
577
|
-
handshakeAttestation:
|
|
578
|
-
codeHash: string;
|
|
579
|
-
attestationPub: string;
|
|
580
|
-
certificate: string;
|
|
581
|
-
signature: string;
|
|
582
|
-
};
|
|
362
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
583
363
|
} | null;
|
|
584
364
|
} | null;
|
|
585
365
|
}[];
|
|
@@ -589,10 +369,7 @@ declare const STEPS: {
|
|
|
589
369
|
/**
|
|
590
370
|
* Master Admins registration
|
|
591
371
|
*/
|
|
592
|
-
readonly PENDING_MASTER_ADMINS_REGISTRATION: ({
|
|
593
|
-
state,
|
|
594
|
-
engine
|
|
595
|
-
}: {
|
|
372
|
+
readonly PENDING_MASTER_ADMINS_REGISTRATION: ({ state, engine }: {
|
|
596
373
|
engine: Engine<WithOnboarding>;
|
|
597
374
|
state: OnboardingFullStateResponse;
|
|
598
375
|
debugAuthToken?: string;
|
|
@@ -611,21 +388,11 @@ declare const STEPS: {
|
|
|
611
388
|
}[];
|
|
612
389
|
wrappingKey: {
|
|
613
390
|
ephemeralPubKey: string;
|
|
614
|
-
ephemeralCertificate:
|
|
615
|
-
codeHash: string;
|
|
616
|
-
attestationPub: string;
|
|
617
|
-
certificate: string;
|
|
618
|
-
signature: string;
|
|
619
|
-
};
|
|
391
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
620
392
|
fragments: {
|
|
621
393
|
pubKey: string;
|
|
622
394
|
ephemeralPubKey: string;
|
|
623
|
-
ephemeralCertificate:
|
|
624
|
-
codeHash: string;
|
|
625
|
-
attestationPub: string;
|
|
626
|
-
certificate: string;
|
|
627
|
-
signature: string;
|
|
628
|
-
};
|
|
395
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
629
396
|
blob: string;
|
|
630
397
|
}[];
|
|
631
398
|
} | null;
|
|
@@ -636,30 +403,15 @@ declare const STEPS: {
|
|
|
636
403
|
registrationChallenge: {
|
|
637
404
|
challenge: string;
|
|
638
405
|
ephemeralPublicKey: string;
|
|
639
|
-
ephemeralPublicKeyAttestation:
|
|
640
|
-
codeHash: string;
|
|
641
|
-
attestationPub: string;
|
|
642
|
-
certificate: string;
|
|
643
|
-
signature: string;
|
|
644
|
-
};
|
|
406
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
645
407
|
handshake: string;
|
|
646
|
-
handshakeAttestation:
|
|
647
|
-
codeHash: string;
|
|
648
|
-
attestationPub: string;
|
|
649
|
-
certificate: string;
|
|
650
|
-
signature: string;
|
|
651
|
-
};
|
|
408
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
652
409
|
u2fRegisterData: string;
|
|
653
410
|
ciphertext: string;
|
|
654
411
|
requestId: string;
|
|
655
412
|
};
|
|
656
413
|
registrationResponse: {
|
|
657
|
-
certificate:
|
|
658
|
-
codeHash: string;
|
|
659
|
-
attestationPub: string;
|
|
660
|
-
certificate: string;
|
|
661
|
-
signature: string;
|
|
662
|
-
};
|
|
414
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
663
415
|
u2fRegister: string;
|
|
664
416
|
u2fKeyHandle: string;
|
|
665
417
|
registerData: string;
|
|
@@ -672,12 +424,7 @@ declare const STEPS: {
|
|
|
672
424
|
challengeType: "PSD";
|
|
673
425
|
wActions: string[];
|
|
674
426
|
handshake: string;
|
|
675
|
-
handshakeAttestation:
|
|
676
|
-
codeHash: string;
|
|
677
|
-
attestationPub: string;
|
|
678
|
-
certificate: string;
|
|
679
|
-
signature: string;
|
|
680
|
-
};
|
|
427
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
681
428
|
partitionId: string;
|
|
682
429
|
};
|
|
683
430
|
signature: string | null;
|
|
@@ -687,12 +434,7 @@ declare const STEPS: {
|
|
|
687
434
|
challengeType: "PSD";
|
|
688
435
|
wActions: string[];
|
|
689
436
|
handshake: string;
|
|
690
|
-
handshakeAttestation:
|
|
691
|
-
codeHash: string;
|
|
692
|
-
attestationPub: string;
|
|
693
|
-
certificate: string;
|
|
694
|
-
signature: string;
|
|
695
|
-
};
|
|
437
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
696
438
|
partitionId: string;
|
|
697
439
|
};
|
|
698
440
|
signature: string | null;
|
|
@@ -705,30 +447,15 @@ declare const STEPS: {
|
|
|
705
447
|
registrationChallenge: {
|
|
706
448
|
challenge: string;
|
|
707
449
|
ephemeralPublicKey: string;
|
|
708
|
-
ephemeralPublicKeyAttestation:
|
|
709
|
-
codeHash: string;
|
|
710
|
-
attestationPub: string;
|
|
711
|
-
certificate: string;
|
|
712
|
-
signature: string;
|
|
713
|
-
};
|
|
450
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
714
451
|
handshake: string;
|
|
715
|
-
handshakeAttestation:
|
|
716
|
-
codeHash: string;
|
|
717
|
-
attestationPub: string;
|
|
718
|
-
certificate: string;
|
|
719
|
-
signature: string;
|
|
720
|
-
};
|
|
452
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
721
453
|
u2fRegisterData: string;
|
|
722
454
|
ciphertext: string;
|
|
723
455
|
requestId: string;
|
|
724
456
|
};
|
|
725
457
|
registrationResponse: {
|
|
726
|
-
certificate:
|
|
727
|
-
codeHash: string;
|
|
728
|
-
attestationPub: string;
|
|
729
|
-
certificate: string;
|
|
730
|
-
signature: string;
|
|
731
|
-
};
|
|
458
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
732
459
|
u2fRegister: string;
|
|
733
460
|
u2fKeyHandle: string;
|
|
734
461
|
registerData: string;
|
|
@@ -741,39 +468,19 @@ declare const STEPS: {
|
|
|
741
468
|
challengeType: "PSD";
|
|
742
469
|
wActions: string[];
|
|
743
470
|
handshake: string;
|
|
744
|
-
handshakeAttestation:
|
|
745
|
-
codeHash: string;
|
|
746
|
-
attestationPub: string;
|
|
747
|
-
certificate: string;
|
|
748
|
-
signature: string;
|
|
749
|
-
};
|
|
471
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
750
472
|
partitionId: string;
|
|
751
473
|
kkHandshake: string;
|
|
752
|
-
kkHandshakeAttestation:
|
|
753
|
-
codeHash: string;
|
|
754
|
-
attestationPub: string;
|
|
755
|
-
certificate: string;
|
|
756
|
-
signature: string;
|
|
757
|
-
};
|
|
474
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
758
475
|
ephemeralPublicKey: string;
|
|
759
|
-
certificate:
|
|
760
|
-
codeHash: string;
|
|
761
|
-
attestationPub: string;
|
|
762
|
-
certificate: string;
|
|
763
|
-
signature: string;
|
|
764
|
-
};
|
|
476
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
765
477
|
blob: string;
|
|
766
478
|
};
|
|
767
479
|
seedFragment: {
|
|
768
480
|
approverBlob: string;
|
|
769
481
|
challengeResponse: string;
|
|
770
482
|
handshake: string;
|
|
771
|
-
handshakeAttestation:
|
|
772
|
-
codeHash: string;
|
|
773
|
-
attestationPub: string;
|
|
774
|
-
certificate: string;
|
|
775
|
-
signature: string;
|
|
776
|
-
};
|
|
483
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
777
484
|
} | null;
|
|
778
485
|
} | null;
|
|
779
486
|
}[];
|
|
@@ -783,10 +490,7 @@ declare const STEPS: {
|
|
|
783
490
|
/**
|
|
784
491
|
* Init Shared Owners registration
|
|
785
492
|
*/
|
|
786
|
-
readonly PENDING_SHARED_OWNERS_REGISTRATION_INIT: ({
|
|
787
|
-
engine,
|
|
788
|
-
state
|
|
789
|
-
}: {
|
|
493
|
+
readonly PENDING_SHARED_OWNERS_REGISTRATION_INIT: ({ engine, state }: {
|
|
790
494
|
engine: Engine<WithOnboarding>;
|
|
791
495
|
state: OnboardingFullStateResponse;
|
|
792
496
|
debugAuthToken?: string;
|
|
@@ -805,21 +509,11 @@ declare const STEPS: {
|
|
|
805
509
|
}[];
|
|
806
510
|
wrappingKey: {
|
|
807
511
|
ephemeralPubKey: string;
|
|
808
|
-
ephemeralCertificate:
|
|
809
|
-
codeHash: string;
|
|
810
|
-
attestationPub: string;
|
|
811
|
-
certificate: string;
|
|
812
|
-
signature: string;
|
|
813
|
-
};
|
|
512
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
814
513
|
fragments: {
|
|
815
514
|
pubKey: string;
|
|
816
515
|
ephemeralPubKey: string;
|
|
817
|
-
ephemeralCertificate:
|
|
818
|
-
codeHash: string;
|
|
819
|
-
attestationPub: string;
|
|
820
|
-
certificate: string;
|
|
821
|
-
signature: string;
|
|
822
|
-
};
|
|
516
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
823
517
|
blob: string;
|
|
824
518
|
}[];
|
|
825
519
|
} | null;
|
|
@@ -830,30 +524,15 @@ declare const STEPS: {
|
|
|
830
524
|
registrationChallenge: {
|
|
831
525
|
challenge: string;
|
|
832
526
|
ephemeralPublicKey: string;
|
|
833
|
-
ephemeralPublicKeyAttestation:
|
|
834
|
-
codeHash: string;
|
|
835
|
-
attestationPub: string;
|
|
836
|
-
certificate: string;
|
|
837
|
-
signature: string;
|
|
838
|
-
};
|
|
527
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
839
528
|
handshake: string;
|
|
840
|
-
handshakeAttestation:
|
|
841
|
-
codeHash: string;
|
|
842
|
-
attestationPub: string;
|
|
843
|
-
certificate: string;
|
|
844
|
-
signature: string;
|
|
845
|
-
};
|
|
529
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
846
530
|
u2fRegisterData: string;
|
|
847
531
|
ciphertext: string;
|
|
848
532
|
requestId: string;
|
|
849
533
|
};
|
|
850
534
|
registrationResponse: {
|
|
851
|
-
certificate:
|
|
852
|
-
codeHash: string;
|
|
853
|
-
attestationPub: string;
|
|
854
|
-
certificate: string;
|
|
855
|
-
signature: string;
|
|
856
|
-
};
|
|
535
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
857
536
|
u2fRegister: string;
|
|
858
537
|
u2fKeyHandle: string;
|
|
859
538
|
registerData: string;
|
|
@@ -866,12 +545,7 @@ declare const STEPS: {
|
|
|
866
545
|
challengeType: "PSD";
|
|
867
546
|
wActions: string[];
|
|
868
547
|
handshake: string;
|
|
869
|
-
handshakeAttestation:
|
|
870
|
-
codeHash: string;
|
|
871
|
-
attestationPub: string;
|
|
872
|
-
certificate: string;
|
|
873
|
-
signature: string;
|
|
874
|
-
};
|
|
548
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
875
549
|
partitionId: string;
|
|
876
550
|
};
|
|
877
551
|
signature: string | null;
|
|
@@ -881,12 +555,7 @@ declare const STEPS: {
|
|
|
881
555
|
challengeType: "PSD";
|
|
882
556
|
wActions: string[];
|
|
883
557
|
handshake: string;
|
|
884
|
-
handshakeAttestation:
|
|
885
|
-
codeHash: string;
|
|
886
|
-
attestationPub: string;
|
|
887
|
-
certificate: string;
|
|
888
|
-
signature: string;
|
|
889
|
-
};
|
|
558
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
890
559
|
partitionId: string;
|
|
891
560
|
};
|
|
892
561
|
signature: string | null;
|
|
@@ -899,30 +568,15 @@ declare const STEPS: {
|
|
|
899
568
|
registrationChallenge: {
|
|
900
569
|
challenge: string;
|
|
901
570
|
ephemeralPublicKey: string;
|
|
902
|
-
ephemeralPublicKeyAttestation:
|
|
903
|
-
codeHash: string;
|
|
904
|
-
attestationPub: string;
|
|
905
|
-
certificate: string;
|
|
906
|
-
signature: string;
|
|
907
|
-
};
|
|
571
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
908
572
|
handshake: string;
|
|
909
|
-
handshakeAttestation:
|
|
910
|
-
codeHash: string;
|
|
911
|
-
attestationPub: string;
|
|
912
|
-
certificate: string;
|
|
913
|
-
signature: string;
|
|
914
|
-
};
|
|
573
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
915
574
|
u2fRegisterData: string;
|
|
916
575
|
ciphertext: string;
|
|
917
576
|
requestId: string;
|
|
918
577
|
};
|
|
919
578
|
registrationResponse: {
|
|
920
|
-
certificate:
|
|
921
|
-
codeHash: string;
|
|
922
|
-
attestationPub: string;
|
|
923
|
-
certificate: string;
|
|
924
|
-
signature: string;
|
|
925
|
-
};
|
|
579
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
926
580
|
u2fRegister: string;
|
|
927
581
|
u2fKeyHandle: string;
|
|
928
582
|
registerData: string;
|
|
@@ -935,39 +589,19 @@ declare const STEPS: {
|
|
|
935
589
|
challengeType: "PSD";
|
|
936
590
|
wActions: string[];
|
|
937
591
|
handshake: string;
|
|
938
|
-
handshakeAttestation:
|
|
939
|
-
codeHash: string;
|
|
940
|
-
attestationPub: string;
|
|
941
|
-
certificate: string;
|
|
942
|
-
signature: string;
|
|
943
|
-
};
|
|
592
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
944
593
|
partitionId: string;
|
|
945
594
|
kkHandshake: string;
|
|
946
|
-
kkHandshakeAttestation:
|
|
947
|
-
codeHash: string;
|
|
948
|
-
attestationPub: string;
|
|
949
|
-
certificate: string;
|
|
950
|
-
signature: string;
|
|
951
|
-
};
|
|
595
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
952
596
|
ephemeralPublicKey: string;
|
|
953
|
-
certificate:
|
|
954
|
-
codeHash: string;
|
|
955
|
-
attestationPub: string;
|
|
956
|
-
certificate: string;
|
|
957
|
-
signature: string;
|
|
958
|
-
};
|
|
597
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
959
598
|
blob: string;
|
|
960
599
|
};
|
|
961
600
|
seedFragment: {
|
|
962
601
|
approverBlob: string;
|
|
963
602
|
challengeResponse: string;
|
|
964
603
|
handshake: string;
|
|
965
|
-
handshakeAttestation:
|
|
966
|
-
codeHash: string;
|
|
967
|
-
attestationPub: string;
|
|
968
|
-
certificate: string;
|
|
969
|
-
signature: string;
|
|
970
|
-
};
|
|
604
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
971
605
|
} | null;
|
|
972
606
|
} | null;
|
|
973
607
|
}[];
|
|
@@ -977,10 +611,7 @@ declare const STEPS: {
|
|
|
977
611
|
/**
|
|
978
612
|
* Shared Owners registration
|
|
979
613
|
*/
|
|
980
|
-
readonly PENDING_SHARED_OWNERS_REGISTRATION: ({
|
|
981
|
-
state,
|
|
982
|
-
engine
|
|
983
|
-
}: {
|
|
614
|
+
readonly PENDING_SHARED_OWNERS_REGISTRATION: ({ state, engine }: {
|
|
984
615
|
engine: Engine<WithOnboarding>;
|
|
985
616
|
state: OnboardingFullStateResponse;
|
|
986
617
|
debugAuthToken?: string;
|
|
@@ -999,21 +630,11 @@ declare const STEPS: {
|
|
|
999
630
|
}[];
|
|
1000
631
|
wrappingKey: {
|
|
1001
632
|
ephemeralPubKey: string;
|
|
1002
|
-
ephemeralCertificate:
|
|
1003
|
-
codeHash: string;
|
|
1004
|
-
attestationPub: string;
|
|
1005
|
-
certificate: string;
|
|
1006
|
-
signature: string;
|
|
1007
|
-
};
|
|
633
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1008
634
|
fragments: {
|
|
1009
635
|
pubKey: string;
|
|
1010
636
|
ephemeralPubKey: string;
|
|
1011
|
-
ephemeralCertificate:
|
|
1012
|
-
codeHash: string;
|
|
1013
|
-
attestationPub: string;
|
|
1014
|
-
certificate: string;
|
|
1015
|
-
signature: string;
|
|
1016
|
-
};
|
|
637
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1017
638
|
blob: string;
|
|
1018
639
|
}[];
|
|
1019
640
|
} | null;
|
|
@@ -1024,30 +645,15 @@ declare const STEPS: {
|
|
|
1024
645
|
registrationChallenge: {
|
|
1025
646
|
challenge: string;
|
|
1026
647
|
ephemeralPublicKey: string;
|
|
1027
|
-
ephemeralPublicKeyAttestation:
|
|
1028
|
-
codeHash: string;
|
|
1029
|
-
attestationPub: string;
|
|
1030
|
-
certificate: string;
|
|
1031
|
-
signature: string;
|
|
1032
|
-
};
|
|
648
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1033
649
|
handshake: string;
|
|
1034
|
-
handshakeAttestation:
|
|
1035
|
-
codeHash: string;
|
|
1036
|
-
attestationPub: string;
|
|
1037
|
-
certificate: string;
|
|
1038
|
-
signature: string;
|
|
1039
|
-
};
|
|
650
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1040
651
|
u2fRegisterData: string;
|
|
1041
652
|
ciphertext: string;
|
|
1042
653
|
requestId: string;
|
|
1043
654
|
};
|
|
1044
655
|
registrationResponse: {
|
|
1045
|
-
certificate:
|
|
1046
|
-
codeHash: string;
|
|
1047
|
-
attestationPub: string;
|
|
1048
|
-
certificate: string;
|
|
1049
|
-
signature: string;
|
|
1050
|
-
};
|
|
656
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1051
657
|
u2fRegister: string;
|
|
1052
658
|
u2fKeyHandle: string;
|
|
1053
659
|
registerData: string;
|
|
@@ -1060,12 +666,7 @@ declare const STEPS: {
|
|
|
1060
666
|
challengeType: "PSD";
|
|
1061
667
|
wActions: string[];
|
|
1062
668
|
handshake: string;
|
|
1063
|
-
handshakeAttestation:
|
|
1064
|
-
codeHash: string;
|
|
1065
|
-
attestationPub: string;
|
|
1066
|
-
certificate: string;
|
|
1067
|
-
signature: string;
|
|
1068
|
-
};
|
|
669
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1069
670
|
partitionId: string;
|
|
1070
671
|
};
|
|
1071
672
|
signature: string | null;
|
|
@@ -1075,12 +676,7 @@ declare const STEPS: {
|
|
|
1075
676
|
challengeType: "PSD";
|
|
1076
677
|
wActions: string[];
|
|
1077
678
|
handshake: string;
|
|
1078
|
-
handshakeAttestation:
|
|
1079
|
-
codeHash: string;
|
|
1080
|
-
attestationPub: string;
|
|
1081
|
-
certificate: string;
|
|
1082
|
-
signature: string;
|
|
1083
|
-
};
|
|
679
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1084
680
|
partitionId: string;
|
|
1085
681
|
};
|
|
1086
682
|
signature: string | null;
|
|
@@ -1093,30 +689,15 @@ declare const STEPS: {
|
|
|
1093
689
|
registrationChallenge: {
|
|
1094
690
|
challenge: string;
|
|
1095
691
|
ephemeralPublicKey: string;
|
|
1096
|
-
ephemeralPublicKeyAttestation:
|
|
1097
|
-
codeHash: string;
|
|
1098
|
-
attestationPub: string;
|
|
1099
|
-
certificate: string;
|
|
1100
|
-
signature: string;
|
|
1101
|
-
};
|
|
692
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1102
693
|
handshake: string;
|
|
1103
|
-
handshakeAttestation:
|
|
1104
|
-
codeHash: string;
|
|
1105
|
-
attestationPub: string;
|
|
1106
|
-
certificate: string;
|
|
1107
|
-
signature: string;
|
|
1108
|
-
};
|
|
694
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1109
695
|
u2fRegisterData: string;
|
|
1110
696
|
ciphertext: string;
|
|
1111
697
|
requestId: string;
|
|
1112
698
|
};
|
|
1113
699
|
registrationResponse: {
|
|
1114
|
-
certificate:
|
|
1115
|
-
codeHash: string;
|
|
1116
|
-
attestationPub: string;
|
|
1117
|
-
certificate: string;
|
|
1118
|
-
signature: string;
|
|
1119
|
-
};
|
|
700
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1120
701
|
u2fRegister: string;
|
|
1121
702
|
u2fKeyHandle: string;
|
|
1122
703
|
registerData: string;
|
|
@@ -1129,39 +710,19 @@ declare const STEPS: {
|
|
|
1129
710
|
challengeType: "PSD";
|
|
1130
711
|
wActions: string[];
|
|
1131
712
|
handshake: string;
|
|
1132
|
-
handshakeAttestation:
|
|
1133
|
-
codeHash: string;
|
|
1134
|
-
attestationPub: string;
|
|
1135
|
-
certificate: string;
|
|
1136
|
-
signature: string;
|
|
1137
|
-
};
|
|
713
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1138
714
|
partitionId: string;
|
|
1139
715
|
kkHandshake: string;
|
|
1140
|
-
kkHandshakeAttestation:
|
|
1141
|
-
codeHash: string;
|
|
1142
|
-
attestationPub: string;
|
|
1143
|
-
certificate: string;
|
|
1144
|
-
signature: string;
|
|
1145
|
-
};
|
|
716
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1146
717
|
ephemeralPublicKey: string;
|
|
1147
|
-
certificate:
|
|
1148
|
-
codeHash: string;
|
|
1149
|
-
attestationPub: string;
|
|
1150
|
-
certificate: string;
|
|
1151
|
-
signature: string;
|
|
1152
|
-
};
|
|
718
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1153
719
|
blob: string;
|
|
1154
720
|
};
|
|
1155
721
|
seedFragment: {
|
|
1156
722
|
approverBlob: string;
|
|
1157
723
|
challengeResponse: string;
|
|
1158
724
|
handshake: string;
|
|
1159
|
-
handshakeAttestation:
|
|
1160
|
-
codeHash: string;
|
|
1161
|
-
attestationPub: string;
|
|
1162
|
-
certificate: string;
|
|
1163
|
-
signature: string;
|
|
1164
|
-
};
|
|
725
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1165
726
|
} | null;
|
|
1166
727
|
} | null;
|
|
1167
728
|
}[];
|
|
@@ -1171,10 +732,7 @@ declare const STEPS: {
|
|
|
1171
732
|
/**
|
|
1172
733
|
* Review by master admins
|
|
1173
734
|
*/
|
|
1174
|
-
readonly PENDING_REVIEW_BY_MASTER_ADMINS: ({
|
|
1175
|
-
state,
|
|
1176
|
-
engine
|
|
1177
|
-
}: {
|
|
735
|
+
readonly PENDING_REVIEW_BY_MASTER_ADMINS: ({ state, engine }: {
|
|
1178
736
|
engine: Engine<WithOnboarding>;
|
|
1179
737
|
state: OnboardingFullStateResponse;
|
|
1180
738
|
debugAuthToken?: string;
|
|
@@ -1193,21 +751,11 @@ declare const STEPS: {
|
|
|
1193
751
|
}[];
|
|
1194
752
|
wrappingKey: {
|
|
1195
753
|
ephemeralPubKey: string;
|
|
1196
|
-
ephemeralCertificate:
|
|
1197
|
-
codeHash: string;
|
|
1198
|
-
attestationPub: string;
|
|
1199
|
-
certificate: string;
|
|
1200
|
-
signature: string;
|
|
1201
|
-
};
|
|
754
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1202
755
|
fragments: {
|
|
1203
756
|
pubKey: string;
|
|
1204
757
|
ephemeralPubKey: string;
|
|
1205
|
-
ephemeralCertificate:
|
|
1206
|
-
codeHash: string;
|
|
1207
|
-
attestationPub: string;
|
|
1208
|
-
certificate: string;
|
|
1209
|
-
signature: string;
|
|
1210
|
-
};
|
|
758
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1211
759
|
blob: string;
|
|
1212
760
|
}[];
|
|
1213
761
|
} | null;
|
|
@@ -1218,30 +766,15 @@ declare const STEPS: {
|
|
|
1218
766
|
registrationChallenge: {
|
|
1219
767
|
challenge: string;
|
|
1220
768
|
ephemeralPublicKey: string;
|
|
1221
|
-
ephemeralPublicKeyAttestation:
|
|
1222
|
-
codeHash: string;
|
|
1223
|
-
attestationPub: string;
|
|
1224
|
-
certificate: string;
|
|
1225
|
-
signature: string;
|
|
1226
|
-
};
|
|
769
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1227
770
|
handshake: string;
|
|
1228
|
-
handshakeAttestation:
|
|
1229
|
-
codeHash: string;
|
|
1230
|
-
attestationPub: string;
|
|
1231
|
-
certificate: string;
|
|
1232
|
-
signature: string;
|
|
1233
|
-
};
|
|
771
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1234
772
|
u2fRegisterData: string;
|
|
1235
773
|
ciphertext: string;
|
|
1236
774
|
requestId: string;
|
|
1237
775
|
};
|
|
1238
776
|
registrationResponse: {
|
|
1239
|
-
certificate:
|
|
1240
|
-
codeHash: string;
|
|
1241
|
-
attestationPub: string;
|
|
1242
|
-
certificate: string;
|
|
1243
|
-
signature: string;
|
|
1244
|
-
};
|
|
777
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1245
778
|
u2fRegister: string;
|
|
1246
779
|
u2fKeyHandle: string;
|
|
1247
780
|
registerData: string;
|
|
@@ -1254,12 +787,7 @@ declare const STEPS: {
|
|
|
1254
787
|
challengeType: "PSD";
|
|
1255
788
|
wActions: string[];
|
|
1256
789
|
handshake: string;
|
|
1257
|
-
handshakeAttestation:
|
|
1258
|
-
codeHash: string;
|
|
1259
|
-
attestationPub: string;
|
|
1260
|
-
certificate: string;
|
|
1261
|
-
signature: string;
|
|
1262
|
-
};
|
|
790
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1263
791
|
partitionId: string;
|
|
1264
792
|
};
|
|
1265
793
|
signature: string | null;
|
|
@@ -1269,12 +797,7 @@ declare const STEPS: {
|
|
|
1269
797
|
challengeType: "PSD";
|
|
1270
798
|
wActions: string[];
|
|
1271
799
|
handshake: string;
|
|
1272
|
-
handshakeAttestation:
|
|
1273
|
-
codeHash: string;
|
|
1274
|
-
attestationPub: string;
|
|
1275
|
-
certificate: string;
|
|
1276
|
-
signature: string;
|
|
1277
|
-
};
|
|
800
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1278
801
|
partitionId: string;
|
|
1279
802
|
};
|
|
1280
803
|
signature: string | null;
|
|
@@ -1287,30 +810,15 @@ declare const STEPS: {
|
|
|
1287
810
|
registrationChallenge: {
|
|
1288
811
|
challenge: string;
|
|
1289
812
|
ephemeralPublicKey: string;
|
|
1290
|
-
ephemeralPublicKeyAttestation:
|
|
1291
|
-
codeHash: string;
|
|
1292
|
-
attestationPub: string;
|
|
1293
|
-
certificate: string;
|
|
1294
|
-
signature: string;
|
|
1295
|
-
};
|
|
813
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1296
814
|
handshake: string;
|
|
1297
|
-
handshakeAttestation:
|
|
1298
|
-
codeHash: string;
|
|
1299
|
-
attestationPub: string;
|
|
1300
|
-
certificate: string;
|
|
1301
|
-
signature: string;
|
|
1302
|
-
};
|
|
815
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1303
816
|
u2fRegisterData: string;
|
|
1304
817
|
ciphertext: string;
|
|
1305
818
|
requestId: string;
|
|
1306
819
|
};
|
|
1307
820
|
registrationResponse: {
|
|
1308
|
-
certificate:
|
|
1309
|
-
codeHash: string;
|
|
1310
|
-
attestationPub: string;
|
|
1311
|
-
certificate: string;
|
|
1312
|
-
signature: string;
|
|
1313
|
-
};
|
|
821
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1314
822
|
u2fRegister: string;
|
|
1315
823
|
u2fKeyHandle: string;
|
|
1316
824
|
registerData: string;
|
|
@@ -1323,51 +831,26 @@ declare const STEPS: {
|
|
|
1323
831
|
challengeType: "PSD";
|
|
1324
832
|
wActions: string[];
|
|
1325
833
|
handshake: string;
|
|
1326
|
-
handshakeAttestation:
|
|
1327
|
-
codeHash: string;
|
|
1328
|
-
attestationPub: string;
|
|
1329
|
-
certificate: string;
|
|
1330
|
-
signature: string;
|
|
1331
|
-
};
|
|
834
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1332
835
|
partitionId: string;
|
|
1333
836
|
kkHandshake: string;
|
|
1334
|
-
kkHandshakeAttestation:
|
|
1335
|
-
codeHash: string;
|
|
1336
|
-
attestationPub: string;
|
|
1337
|
-
certificate: string;
|
|
1338
|
-
signature: string;
|
|
1339
|
-
};
|
|
837
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1340
838
|
ephemeralPublicKey: string;
|
|
1341
|
-
certificate:
|
|
1342
|
-
codeHash: string;
|
|
1343
|
-
attestationPub: string;
|
|
1344
|
-
certificate: string;
|
|
1345
|
-
signature: string;
|
|
1346
|
-
};
|
|
839
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1347
840
|
blob: string;
|
|
1348
841
|
};
|
|
1349
842
|
seedFragment: {
|
|
1350
843
|
approverBlob: string;
|
|
1351
844
|
challengeResponse: string;
|
|
1352
845
|
handshake: string;
|
|
1353
|
-
handshakeAttestation:
|
|
1354
|
-
codeHash: string;
|
|
1355
|
-
attestationPub: string;
|
|
1356
|
-
certificate: string;
|
|
1357
|
-
signature: string;
|
|
1358
|
-
};
|
|
846
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1359
847
|
} | null;
|
|
1360
848
|
} | null;
|
|
1361
849
|
}[];
|
|
1362
850
|
createdAt: Date;
|
|
1363
851
|
completedAt: Date | null;
|
|
1364
852
|
}>;
|
|
1365
|
-
readonly PENDING_EXTERNAL_SIGNERS_REGISTRATION: ({
|
|
1366
|
-
state,
|
|
1367
|
-
engine,
|
|
1368
|
-
debugAuthToken,
|
|
1369
|
-
signerSeed
|
|
1370
|
-
}: {
|
|
853
|
+
readonly PENDING_EXTERNAL_SIGNERS_REGISTRATION: ({ state, engine, debugAuthToken, signerSeed }: {
|
|
1371
854
|
engine: Engine<WithOnboarding>;
|
|
1372
855
|
state: OnboardingFullStateResponse;
|
|
1373
856
|
debugAuthToken?: string;
|
|
@@ -1386,21 +869,11 @@ declare const STEPS: {
|
|
|
1386
869
|
}[];
|
|
1387
870
|
wrappingKey: {
|
|
1388
871
|
ephemeralPubKey: string;
|
|
1389
|
-
ephemeralCertificate:
|
|
1390
|
-
codeHash: string;
|
|
1391
|
-
attestationPub: string;
|
|
1392
|
-
certificate: string;
|
|
1393
|
-
signature: string;
|
|
1394
|
-
};
|
|
872
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1395
873
|
fragments: {
|
|
1396
874
|
pubKey: string;
|
|
1397
875
|
ephemeralPubKey: string;
|
|
1398
|
-
ephemeralCertificate:
|
|
1399
|
-
codeHash: string;
|
|
1400
|
-
attestationPub: string;
|
|
1401
|
-
certificate: string;
|
|
1402
|
-
signature: string;
|
|
1403
|
-
};
|
|
876
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1404
877
|
blob: string;
|
|
1405
878
|
}[];
|
|
1406
879
|
} | null;
|
|
@@ -1411,30 +884,15 @@ declare const STEPS: {
|
|
|
1411
884
|
registrationChallenge: {
|
|
1412
885
|
challenge: string;
|
|
1413
886
|
ephemeralPublicKey: string;
|
|
1414
|
-
ephemeralPublicKeyAttestation:
|
|
1415
|
-
codeHash: string;
|
|
1416
|
-
attestationPub: string;
|
|
1417
|
-
certificate: string;
|
|
1418
|
-
signature: string;
|
|
1419
|
-
};
|
|
887
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1420
888
|
handshake: string;
|
|
1421
|
-
handshakeAttestation:
|
|
1422
|
-
codeHash: string;
|
|
1423
|
-
attestationPub: string;
|
|
1424
|
-
certificate: string;
|
|
1425
|
-
signature: string;
|
|
1426
|
-
};
|
|
889
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1427
890
|
u2fRegisterData: string;
|
|
1428
891
|
ciphertext: string;
|
|
1429
892
|
requestId: string;
|
|
1430
893
|
};
|
|
1431
894
|
registrationResponse: {
|
|
1432
|
-
certificate:
|
|
1433
|
-
codeHash: string;
|
|
1434
|
-
attestationPub: string;
|
|
1435
|
-
certificate: string;
|
|
1436
|
-
signature: string;
|
|
1437
|
-
};
|
|
895
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1438
896
|
u2fRegister: string;
|
|
1439
897
|
u2fKeyHandle: string;
|
|
1440
898
|
registerData: string;
|
|
@@ -1447,12 +905,7 @@ declare const STEPS: {
|
|
|
1447
905
|
challengeType: "PSD";
|
|
1448
906
|
wActions: string[];
|
|
1449
907
|
handshake: string;
|
|
1450
|
-
handshakeAttestation:
|
|
1451
|
-
codeHash: string;
|
|
1452
|
-
attestationPub: string;
|
|
1453
|
-
certificate: string;
|
|
1454
|
-
signature: string;
|
|
1455
|
-
};
|
|
908
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1456
909
|
partitionId: string;
|
|
1457
910
|
};
|
|
1458
911
|
signature: string | null;
|
|
@@ -1462,12 +915,7 @@ declare const STEPS: {
|
|
|
1462
915
|
challengeType: "PSD";
|
|
1463
916
|
wActions: string[];
|
|
1464
917
|
handshake: string;
|
|
1465
|
-
handshakeAttestation:
|
|
1466
|
-
codeHash: string;
|
|
1467
|
-
attestationPub: string;
|
|
1468
|
-
certificate: string;
|
|
1469
|
-
signature: string;
|
|
1470
|
-
};
|
|
918
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1471
919
|
partitionId: string;
|
|
1472
920
|
};
|
|
1473
921
|
signature: string | null;
|
|
@@ -1480,30 +928,15 @@ declare const STEPS: {
|
|
|
1480
928
|
registrationChallenge: {
|
|
1481
929
|
challenge: string;
|
|
1482
930
|
ephemeralPublicKey: string;
|
|
1483
|
-
ephemeralPublicKeyAttestation:
|
|
1484
|
-
codeHash: string;
|
|
1485
|
-
attestationPub: string;
|
|
1486
|
-
certificate: string;
|
|
1487
|
-
signature: string;
|
|
1488
|
-
};
|
|
931
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1489
932
|
handshake: string;
|
|
1490
|
-
handshakeAttestation:
|
|
1491
|
-
codeHash: string;
|
|
1492
|
-
attestationPub: string;
|
|
1493
|
-
certificate: string;
|
|
1494
|
-
signature: string;
|
|
1495
|
-
};
|
|
933
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1496
934
|
u2fRegisterData: string;
|
|
1497
935
|
ciphertext: string;
|
|
1498
936
|
requestId: string;
|
|
1499
937
|
};
|
|
1500
938
|
registrationResponse: {
|
|
1501
|
-
certificate:
|
|
1502
|
-
codeHash: string;
|
|
1503
|
-
attestationPub: string;
|
|
1504
|
-
certificate: string;
|
|
1505
|
-
signature: string;
|
|
1506
|
-
};
|
|
939
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1507
940
|
u2fRegister: string;
|
|
1508
941
|
u2fKeyHandle: string;
|
|
1509
942
|
registerData: string;
|
|
@@ -1516,39 +949,19 @@ declare const STEPS: {
|
|
|
1516
949
|
challengeType: "PSD";
|
|
1517
950
|
wActions: string[];
|
|
1518
951
|
handshake: string;
|
|
1519
|
-
handshakeAttestation:
|
|
1520
|
-
codeHash: string;
|
|
1521
|
-
attestationPub: string;
|
|
1522
|
-
certificate: string;
|
|
1523
|
-
signature: string;
|
|
1524
|
-
};
|
|
952
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1525
953
|
partitionId: string;
|
|
1526
954
|
kkHandshake: string;
|
|
1527
|
-
kkHandshakeAttestation:
|
|
1528
|
-
codeHash: string;
|
|
1529
|
-
attestationPub: string;
|
|
1530
|
-
certificate: string;
|
|
1531
|
-
signature: string;
|
|
1532
|
-
};
|
|
955
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1533
956
|
ephemeralPublicKey: string;
|
|
1534
|
-
certificate:
|
|
1535
|
-
codeHash: string;
|
|
1536
|
-
attestationPub: string;
|
|
1537
|
-
certificate: string;
|
|
1538
|
-
signature: string;
|
|
1539
|
-
};
|
|
957
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1540
958
|
blob: string;
|
|
1541
959
|
};
|
|
1542
960
|
seedFragment: {
|
|
1543
961
|
approverBlob: string;
|
|
1544
962
|
challengeResponse: string;
|
|
1545
963
|
handshake: string;
|
|
1546
|
-
handshakeAttestation:
|
|
1547
|
-
codeHash: string;
|
|
1548
|
-
attestationPub: string;
|
|
1549
|
-
certificate: string;
|
|
1550
|
-
signature: string;
|
|
1551
|
-
};
|
|
964
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1552
965
|
} | null;
|
|
1553
966
|
} | null;
|
|
1554
967
|
}[];
|
|
@@ -1558,10 +971,7 @@ declare const STEPS: {
|
|
|
1558
971
|
/**
|
|
1559
972
|
* Seed provisioning
|
|
1560
973
|
*/
|
|
1561
|
-
readonly PENDING_SEED_PROVISIONING: ({
|
|
1562
|
-
state,
|
|
1563
|
-
engine
|
|
1564
|
-
}: {
|
|
974
|
+
readonly PENDING_SEED_PROVISIONING: ({ state, engine }: {
|
|
1565
975
|
engine: Engine<WithOnboarding>;
|
|
1566
976
|
state: OnboardingFullStateResponse;
|
|
1567
977
|
debugAuthToken?: string;
|
|
@@ -1580,21 +990,11 @@ declare const STEPS: {
|
|
|
1580
990
|
}[];
|
|
1581
991
|
wrappingKey: {
|
|
1582
992
|
ephemeralPubKey: string;
|
|
1583
|
-
ephemeralCertificate:
|
|
1584
|
-
codeHash: string;
|
|
1585
|
-
attestationPub: string;
|
|
1586
|
-
certificate: string;
|
|
1587
|
-
signature: string;
|
|
1588
|
-
};
|
|
993
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1589
994
|
fragments: {
|
|
1590
995
|
pubKey: string;
|
|
1591
996
|
ephemeralPubKey: string;
|
|
1592
|
-
ephemeralCertificate:
|
|
1593
|
-
codeHash: string;
|
|
1594
|
-
attestationPub: string;
|
|
1595
|
-
certificate: string;
|
|
1596
|
-
signature: string;
|
|
1597
|
-
};
|
|
997
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1598
998
|
blob: string;
|
|
1599
999
|
}[];
|
|
1600
1000
|
} | null;
|
|
@@ -1605,30 +1005,15 @@ declare const STEPS: {
|
|
|
1605
1005
|
registrationChallenge: {
|
|
1606
1006
|
challenge: string;
|
|
1607
1007
|
ephemeralPublicKey: string;
|
|
1608
|
-
ephemeralPublicKeyAttestation:
|
|
1609
|
-
codeHash: string;
|
|
1610
|
-
attestationPub: string;
|
|
1611
|
-
certificate: string;
|
|
1612
|
-
signature: string;
|
|
1613
|
-
};
|
|
1008
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1614
1009
|
handshake: string;
|
|
1615
|
-
handshakeAttestation:
|
|
1616
|
-
codeHash: string;
|
|
1617
|
-
attestationPub: string;
|
|
1618
|
-
certificate: string;
|
|
1619
|
-
signature: string;
|
|
1620
|
-
};
|
|
1010
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1621
1011
|
u2fRegisterData: string;
|
|
1622
1012
|
ciphertext: string;
|
|
1623
1013
|
requestId: string;
|
|
1624
1014
|
};
|
|
1625
1015
|
registrationResponse: {
|
|
1626
|
-
certificate:
|
|
1627
|
-
codeHash: string;
|
|
1628
|
-
attestationPub: string;
|
|
1629
|
-
certificate: string;
|
|
1630
|
-
signature: string;
|
|
1631
|
-
};
|
|
1016
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1632
1017
|
u2fRegister: string;
|
|
1633
1018
|
u2fKeyHandle: string;
|
|
1634
1019
|
registerData: string;
|
|
@@ -1641,12 +1026,7 @@ declare const STEPS: {
|
|
|
1641
1026
|
challengeType: "PSD";
|
|
1642
1027
|
wActions: string[];
|
|
1643
1028
|
handshake: string;
|
|
1644
|
-
handshakeAttestation:
|
|
1645
|
-
codeHash: string;
|
|
1646
|
-
attestationPub: string;
|
|
1647
|
-
certificate: string;
|
|
1648
|
-
signature: string;
|
|
1649
|
-
};
|
|
1029
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1650
1030
|
partitionId: string;
|
|
1651
1031
|
};
|
|
1652
1032
|
signature: string | null;
|
|
@@ -1656,12 +1036,7 @@ declare const STEPS: {
|
|
|
1656
1036
|
challengeType: "PSD";
|
|
1657
1037
|
wActions: string[];
|
|
1658
1038
|
handshake: string;
|
|
1659
|
-
handshakeAttestation:
|
|
1660
|
-
codeHash: string;
|
|
1661
|
-
attestationPub: string;
|
|
1662
|
-
certificate: string;
|
|
1663
|
-
signature: string;
|
|
1664
|
-
};
|
|
1039
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1665
1040
|
partitionId: string;
|
|
1666
1041
|
};
|
|
1667
1042
|
signature: string | null;
|
|
@@ -1674,30 +1049,15 @@ declare const STEPS: {
|
|
|
1674
1049
|
registrationChallenge: {
|
|
1675
1050
|
challenge: string;
|
|
1676
1051
|
ephemeralPublicKey: string;
|
|
1677
|
-
ephemeralPublicKeyAttestation:
|
|
1678
|
-
codeHash: string;
|
|
1679
|
-
attestationPub: string;
|
|
1680
|
-
certificate: string;
|
|
1681
|
-
signature: string;
|
|
1682
|
-
};
|
|
1052
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1683
1053
|
handshake: string;
|
|
1684
|
-
handshakeAttestation:
|
|
1685
|
-
codeHash: string;
|
|
1686
|
-
attestationPub: string;
|
|
1687
|
-
certificate: string;
|
|
1688
|
-
signature: string;
|
|
1689
|
-
};
|
|
1054
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1690
1055
|
u2fRegisterData: string;
|
|
1691
1056
|
ciphertext: string;
|
|
1692
1057
|
requestId: string;
|
|
1693
1058
|
};
|
|
1694
1059
|
registrationResponse: {
|
|
1695
|
-
certificate:
|
|
1696
|
-
codeHash: string;
|
|
1697
|
-
attestationPub: string;
|
|
1698
|
-
certificate: string;
|
|
1699
|
-
signature: string;
|
|
1700
|
-
};
|
|
1060
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1701
1061
|
u2fRegister: string;
|
|
1702
1062
|
u2fKeyHandle: string;
|
|
1703
1063
|
registerData: string;
|
|
@@ -1710,39 +1070,19 @@ declare const STEPS: {
|
|
|
1710
1070
|
challengeType: "PSD";
|
|
1711
1071
|
wActions: string[];
|
|
1712
1072
|
handshake: string;
|
|
1713
|
-
handshakeAttestation:
|
|
1714
|
-
codeHash: string;
|
|
1715
|
-
attestationPub: string;
|
|
1716
|
-
certificate: string;
|
|
1717
|
-
signature: string;
|
|
1718
|
-
};
|
|
1073
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1719
1074
|
partitionId: string;
|
|
1720
1075
|
kkHandshake: string;
|
|
1721
|
-
kkHandshakeAttestation:
|
|
1722
|
-
codeHash: string;
|
|
1723
|
-
attestationPub: string;
|
|
1724
|
-
certificate: string;
|
|
1725
|
-
signature: string;
|
|
1726
|
-
};
|
|
1076
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1727
1077
|
ephemeralPublicKey: string;
|
|
1728
|
-
certificate:
|
|
1729
|
-
codeHash: string;
|
|
1730
|
-
attestationPub: string;
|
|
1731
|
-
certificate: string;
|
|
1732
|
-
signature: string;
|
|
1733
|
-
};
|
|
1078
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1734
1079
|
blob: string;
|
|
1735
1080
|
};
|
|
1736
1081
|
seedFragment: {
|
|
1737
1082
|
approverBlob: string;
|
|
1738
1083
|
challengeResponse: string;
|
|
1739
1084
|
handshake: string;
|
|
1740
|
-
handshakeAttestation:
|
|
1741
|
-
codeHash: string;
|
|
1742
|
-
attestationPub: string;
|
|
1743
|
-
certificate: string;
|
|
1744
|
-
signature: string;
|
|
1745
|
-
};
|
|
1085
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1746
1086
|
} | null;
|
|
1747
1087
|
} | null;
|
|
1748
1088
|
}[];
|
|
@@ -1752,10 +1092,7 @@ declare const STEPS: {
|
|
|
1752
1092
|
/**
|
|
1753
1093
|
* Workspace initialization
|
|
1754
1094
|
*/
|
|
1755
|
-
readonly PENDING_WORKSPACE_INITIALIZATION: ({
|
|
1756
|
-
state,
|
|
1757
|
-
engine
|
|
1758
|
-
}: {
|
|
1095
|
+
readonly PENDING_WORKSPACE_INITIALIZATION: ({ state, engine }: {
|
|
1759
1096
|
engine: Engine<WithOnboarding>;
|
|
1760
1097
|
state: OnboardingFullStateResponse;
|
|
1761
1098
|
debugAuthToken?: string;
|
|
@@ -1774,21 +1111,11 @@ declare const STEPS: {
|
|
|
1774
1111
|
}[];
|
|
1775
1112
|
wrappingKey: {
|
|
1776
1113
|
ephemeralPubKey: string;
|
|
1777
|
-
ephemeralCertificate:
|
|
1778
|
-
codeHash: string;
|
|
1779
|
-
attestationPub: string;
|
|
1780
|
-
certificate: string;
|
|
1781
|
-
signature: string;
|
|
1782
|
-
};
|
|
1114
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1783
1115
|
fragments: {
|
|
1784
1116
|
pubKey: string;
|
|
1785
1117
|
ephemeralPubKey: string;
|
|
1786
|
-
ephemeralCertificate:
|
|
1787
|
-
codeHash: string;
|
|
1788
|
-
attestationPub: string;
|
|
1789
|
-
certificate: string;
|
|
1790
|
-
signature: string;
|
|
1791
|
-
};
|
|
1118
|
+
ephemeralCertificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1792
1119
|
blob: string;
|
|
1793
1120
|
}[];
|
|
1794
1121
|
} | null;
|
|
@@ -1799,30 +1126,15 @@ declare const STEPS: {
|
|
|
1799
1126
|
registrationChallenge: {
|
|
1800
1127
|
challenge: string;
|
|
1801
1128
|
ephemeralPublicKey: string;
|
|
1802
|
-
ephemeralPublicKeyAttestation:
|
|
1803
|
-
codeHash: string;
|
|
1804
|
-
attestationPub: string;
|
|
1805
|
-
certificate: string;
|
|
1806
|
-
signature: string;
|
|
1807
|
-
};
|
|
1129
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1808
1130
|
handshake: string;
|
|
1809
|
-
handshakeAttestation:
|
|
1810
|
-
codeHash: string;
|
|
1811
|
-
attestationPub: string;
|
|
1812
|
-
certificate: string;
|
|
1813
|
-
signature: string;
|
|
1814
|
-
};
|
|
1131
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1815
1132
|
u2fRegisterData: string;
|
|
1816
1133
|
ciphertext: string;
|
|
1817
1134
|
requestId: string;
|
|
1818
1135
|
};
|
|
1819
1136
|
registrationResponse: {
|
|
1820
|
-
certificate:
|
|
1821
|
-
codeHash: string;
|
|
1822
|
-
attestationPub: string;
|
|
1823
|
-
certificate: string;
|
|
1824
|
-
signature: string;
|
|
1825
|
-
};
|
|
1137
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1826
1138
|
u2fRegister: string;
|
|
1827
1139
|
u2fKeyHandle: string;
|
|
1828
1140
|
registerData: string;
|
|
@@ -1835,12 +1147,7 @@ declare const STEPS: {
|
|
|
1835
1147
|
challengeType: "PSD";
|
|
1836
1148
|
wActions: string[];
|
|
1837
1149
|
handshake: string;
|
|
1838
|
-
handshakeAttestation:
|
|
1839
|
-
codeHash: string;
|
|
1840
|
-
attestationPub: string;
|
|
1841
|
-
certificate: string;
|
|
1842
|
-
signature: string;
|
|
1843
|
-
};
|
|
1150
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1844
1151
|
partitionId: string;
|
|
1845
1152
|
};
|
|
1846
1153
|
signature: string | null;
|
|
@@ -1850,12 +1157,7 @@ declare const STEPS: {
|
|
|
1850
1157
|
challengeType: "PSD";
|
|
1851
1158
|
wActions: string[];
|
|
1852
1159
|
handshake: string;
|
|
1853
|
-
handshakeAttestation:
|
|
1854
|
-
codeHash: string;
|
|
1855
|
-
attestationPub: string;
|
|
1856
|
-
certificate: string;
|
|
1857
|
-
signature: string;
|
|
1858
|
-
};
|
|
1160
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1859
1161
|
partitionId: string;
|
|
1860
1162
|
};
|
|
1861
1163
|
signature: string | null;
|
|
@@ -1868,30 +1170,15 @@ declare const STEPS: {
|
|
|
1868
1170
|
registrationChallenge: {
|
|
1869
1171
|
challenge: string;
|
|
1870
1172
|
ephemeralPublicKey: string;
|
|
1871
|
-
ephemeralPublicKeyAttestation:
|
|
1872
|
-
codeHash: string;
|
|
1873
|
-
attestationPub: string;
|
|
1874
|
-
certificate: string;
|
|
1875
|
-
signature: string;
|
|
1876
|
-
};
|
|
1173
|
+
ephemeralPublicKeyAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1877
1174
|
handshake: string;
|
|
1878
|
-
handshakeAttestation:
|
|
1879
|
-
codeHash: string;
|
|
1880
|
-
attestationPub: string;
|
|
1881
|
-
certificate: string;
|
|
1882
|
-
signature: string;
|
|
1883
|
-
};
|
|
1175
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1884
1176
|
u2fRegisterData: string;
|
|
1885
1177
|
ciphertext: string;
|
|
1886
1178
|
requestId: string;
|
|
1887
1179
|
};
|
|
1888
1180
|
registrationResponse: {
|
|
1889
|
-
certificate:
|
|
1890
|
-
codeHash: string;
|
|
1891
|
-
attestationPub: string;
|
|
1892
|
-
certificate: string;
|
|
1893
|
-
signature: string;
|
|
1894
|
-
};
|
|
1181
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1895
1182
|
u2fRegister: string;
|
|
1896
1183
|
u2fKeyHandle: string;
|
|
1897
1184
|
registerData: string;
|
|
@@ -1904,39 +1191,19 @@ declare const STEPS: {
|
|
|
1904
1191
|
challengeType: "PSD";
|
|
1905
1192
|
wActions: string[];
|
|
1906
1193
|
handshake: string;
|
|
1907
|
-
handshakeAttestation:
|
|
1908
|
-
codeHash: string;
|
|
1909
|
-
attestationPub: string;
|
|
1910
|
-
certificate: string;
|
|
1911
|
-
signature: string;
|
|
1912
|
-
};
|
|
1194
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1913
1195
|
partitionId: string;
|
|
1914
1196
|
kkHandshake: string;
|
|
1915
|
-
kkHandshakeAttestation:
|
|
1916
|
-
codeHash: string;
|
|
1917
|
-
attestationPub: string;
|
|
1918
|
-
certificate: string;
|
|
1919
|
-
signature: string;
|
|
1920
|
-
};
|
|
1197
|
+
kkHandshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1921
1198
|
ephemeralPublicKey: string;
|
|
1922
|
-
certificate:
|
|
1923
|
-
codeHash: string;
|
|
1924
|
-
attestationPub: string;
|
|
1925
|
-
certificate: string;
|
|
1926
|
-
signature: string;
|
|
1927
|
-
};
|
|
1199
|
+
certificate: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1928
1200
|
blob: string;
|
|
1929
1201
|
};
|
|
1930
1202
|
seedFragment: {
|
|
1931
1203
|
approverBlob: string;
|
|
1932
1204
|
challengeResponse: string;
|
|
1933
1205
|
handshake: string;
|
|
1934
|
-
handshakeAttestation:
|
|
1935
|
-
codeHash: string;
|
|
1936
|
-
attestationPub: string;
|
|
1937
|
-
certificate: string;
|
|
1938
|
-
signature: string;
|
|
1939
|
-
};
|
|
1206
|
+
handshakeAttestation: import("@ledgerhq/revault-api").HsmCertificate;
|
|
1940
1207
|
} | null;
|
|
1941
1208
|
} | null;
|
|
1942
1209
|
}[];
|