@platform-sec/sensitive-string-core 0.6.0 → 0.6.1
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/dist/bson.d.ts +28 -0
- package/dist/bson.d.ts.map +1 -0
- package/dist/bson.js +37 -0
- package/dist/bson.js.map +1 -0
- package/dist/classification.d.ts +69 -0
- package/dist/classification.d.ts.map +1 -0
- package/dist/classification.js +104 -0
- package/dist/classification.js.map +1 -0
- package/dist/compare.d.ts +36 -0
- package/dist/compare.d.ts.map +1 -0
- package/dist/compare.js +123 -0
- package/dist/compare.js.map +1 -0
- package/dist/context.d.ts +78 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +110 -0
- package/dist/context.js.map +1 -0
- package/dist/derive.d.ts +110 -0
- package/dist/derive.d.ts.map +1 -0
- package/dist/derive.js +153 -0
- package/dist/derive.js.map +1 -0
- package/dist/destination.d.ts +120 -0
- package/dist/destination.d.ts.map +1 -0
- package/dist/destination.js +352 -0
- package/dist/destination.js.map +1 -0
- package/dist/deterministic.d.ts +145 -0
- package/dist/deterministic.d.ts.map +1 -0
- package/dist/deterministic.js +352 -0
- package/dist/deterministic.js.map +1 -0
- package/dist/dev-mode.d.ts +177 -0
- package/dist/dev-mode.d.ts.map +1 -0
- package/dist/dev-mode.js +503 -0
- package/dist/dev-mode.js.map +1 -0
- package/dist/environment.d.ts +181 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/environment.js +558 -0
- package/dist/environment.js.map +1 -0
- package/dist/errors.d.ts +23 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +21 -0
- package/dist/errors.js.map +1 -0
- package/dist/global-state.d.ts +8 -0
- package/dist/global-state.d.ts.map +1 -0
- package/dist/global-state.js +22 -0
- package/dist/global-state.js.map +1 -0
- package/dist/hash.d.ts +74 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +253 -0
- package/dist/hash.js.map +1 -0
- package/dist/hygiene.d.ts +242 -0
- package/dist/hygiene.d.ts.map +1 -0
- package/dist/hygiene.js +257 -0
- package/dist/hygiene.js.map +1 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +233 -0
- package/dist/index.js.map +1 -0
- package/dist/mask.d.ts +51 -0
- package/dist/mask.d.ts.map +1 -0
- package/dist/mask.js +461 -0
- package/dist/mask.js.map +1 -0
- package/dist/own-property.d.ts +20 -0
- package/dist/own-property.d.ts.map +1 -0
- package/dist/own-property.js +34 -0
- package/dist/own-property.js.map +1 -0
- package/dist/patterns.d.ts +12 -0
- package/dist/patterns.d.ts.map +1 -0
- package/dist/patterns.js +19 -0
- package/dist/patterns.js.map +1 -0
- package/dist/policy.d.ts +51 -0
- package/dist/policy.d.ts.map +1 -0
- package/dist/policy.js +181 -0
- package/dist/policy.js.map +1 -0
- package/dist/probe.d.ts +141 -0
- package/dist/probe.d.ts.map +1 -0
- package/dist/probe.js +213 -0
- package/dist/probe.js.map +1 -0
- package/dist/redact-copy.d.ts +61 -0
- package/dist/redact-copy.d.ts.map +1 -0
- package/dist/redact-copy.js +217 -0
- package/dist/redact-copy.js.map +1 -0
- package/dist/redact.d.ts +141 -0
- package/dist/redact.d.ts.map +1 -0
- package/dist/redact.js +514 -0
- package/dist/redact.js.map +1 -0
- package/dist/redaction-marker.d.ts +48 -0
- package/dist/redaction-marker.d.ts.map +1 -0
- package/dist/redaction-marker.js +138 -0
- package/dist/redaction-marker.js.map +1 -0
- package/dist/redaction-observer.d.ts +108 -0
- package/dist/redaction-observer.d.ts.map +1 -0
- package/dist/redaction-observer.js +103 -0
- package/dist/redaction-observer.js.map +1 -0
- package/dist/redaction-scope.d.ts +21 -0
- package/dist/redaction-scope.d.ts.map +1 -0
- package/dist/redaction-scope.js +44 -0
- package/dist/redaction-scope.js.map +1 -0
- package/dist/reference.d.ts +101 -0
- package/dist/reference.d.ts.map +1 -0
- package/dist/reference.js +123 -0
- package/dist/reference.js.map +1 -0
- package/dist/regexp.d.ts +25 -0
- package/dist/regexp.d.ts.map +1 -0
- package/dist/regexp.js +61 -0
- package/dist/regexp.js.map +1 -0
- package/dist/release.d.ts +88 -0
- package/dist/release.d.ts.map +1 -0
- package/dist/release.js +108 -0
- package/dist/release.js.map +1 -0
- package/dist/reveal-budget.d.ts +148 -0
- package/dist/reveal-budget.d.ts.map +1 -0
- package/dist/reveal-budget.js +314 -0
- package/dist/reveal-budget.js.map +1 -0
- package/dist/revocation.d.ts +168 -0
- package/dist/revocation.d.ts.map +1 -0
- package/dist/revocation.js +541 -0
- package/dist/revocation.js.map +1 -0
- package/dist/sealing.d.ts +283 -0
- package/dist/sealing.d.ts.map +1 -0
- package/dist/sealing.js +523 -0
- package/dist/sealing.js.map +1 -0
- package/dist/sensitive-string.d.ts +919 -0
- package/dist/sensitive-string.d.ts.map +1 -0
- package/dist/sensitive-string.js +2260 -0
- package/dist/sensitive-string.js.map +1 -0
- package/dist/serialized.d.ts +33 -0
- package/dist/serialized.d.ts.map +1 -0
- package/dist/serialized.js +65 -0
- package/dist/serialized.js.map +1 -0
- package/dist/template.d.ts +69 -0
- package/dist/template.d.ts.map +1 -0
- package/dist/template.js +158 -0
- package/dist/template.js.map +1 -0
- package/dist/ttl.d.ts +104 -0
- package/dist/ttl.d.ts.map +1 -0
- package/dist/ttl.js +330 -0
- package/dist/ttl.js.map +1 -0
- package/dist/types.d.ts +859 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +13 -0
- package/dist/types.js.map +1 -0
- package/dist/winston.d.ts +114 -0
- package/dist/winston.d.ts.map +1 -0
- package/dist/winston.js +170 -0
- package/dist/winston.js.map +1 -0
- package/dist/worker.d.ts +398 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +861 -0
- package/dist/worker.js.map +1 -0
- package/dist/wrap.d.ts +287 -0
- package/dist/wrap.d.ts.map +1 -0
- package/dist/wrap.js +553 -0
- package/dist/wrap.js.map +1 -0
- package/package.json +10 -10
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { SensitiveStringError } from './errors.js';
|
|
2
|
+
/**
|
|
3
|
+
* Raised when `sealed: true` was asked for and this process cannot seal.
|
|
4
|
+
*
|
|
5
|
+
* One reason today. It is a class rather than a boolean because the reason is
|
|
6
|
+
* what a caller would act on, and because a second reason would otherwise
|
|
7
|
+
* arrive as a message change.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SealingUnavailableError extends SensitiveStringError {
|
|
10
|
+
readonly reason: 'generations-exhausted';
|
|
11
|
+
readonly label?: string | undefined;
|
|
12
|
+
readonly name = "SealingUnavailableError";
|
|
13
|
+
readonly code = "sealing-unavailable";
|
|
14
|
+
constructor(reason: 'generations-exhausted', label?: string | undefined);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Raised when the generation a value was sealed under has been destroyed.
|
|
18
|
+
*
|
|
19
|
+
* Distinguished from {@link SealedValueIntegrityError} so a caller can tell an
|
|
20
|
+
* incident-response key destruction from a tampered box. Generation indices are
|
|
21
|
+
* never reused within a process, so the ring can always tell the two apart.
|
|
22
|
+
*/
|
|
23
|
+
export declare class SealingKeyDestroyedError extends SensitiveStringError {
|
|
24
|
+
readonly destroyedAt: Date;
|
|
25
|
+
readonly attemptedAt: Date;
|
|
26
|
+
readonly label?: string | undefined;
|
|
27
|
+
readonly name = "SealingKeyDestroyedError";
|
|
28
|
+
readonly code = "sealing-key-destroyed";
|
|
29
|
+
constructor(destroyedAt: Date, attemptedAt: Date, label?: string | undefined);
|
|
30
|
+
/** Milliseconds between the destruction and the attempted access. */
|
|
31
|
+
get destroyedFor(): number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Raised when a sealed value's box fails authentication.
|
|
35
|
+
*
|
|
36
|
+
* In practice this means the instance was tampered with. `klass` and `label`
|
|
37
|
+
* are bound into the GCM additional data, so rewriting either makes the value
|
|
38
|
+
* unreadable rather than reclassified: the runtime write that downgrades a
|
|
39
|
+
* credential to a class with weaker redaction and no constant-time comparison
|
|
40
|
+
* succeeds on an unsealed value and fails closed here.
|
|
41
|
+
*
|
|
42
|
+
* It deliberately does not carry OpenSSL's message. Node's is "Unsupported
|
|
43
|
+
* state or unable to authenticate data", which says nothing useful, and a
|
|
44
|
+
* runtime's own diagnostic is not something a security wrapper should re-raise
|
|
45
|
+
* unread.
|
|
46
|
+
*/
|
|
47
|
+
export declare class SealedValueIntegrityError extends SensitiveStringError {
|
|
48
|
+
readonly label?: string | undefined;
|
|
49
|
+
readonly name = "SealedValueIntegrityError";
|
|
50
|
+
readonly code = "sealed-value-integrity";
|
|
51
|
+
constructor(label?: string | undefined);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Process-global sealing settings.
|
|
55
|
+
*
|
|
56
|
+
* Read at construction, so a value built before {@link setSealing} runs is not
|
|
57
|
+
* sealed. Configure this alongside policy registration in the process's entry
|
|
58
|
+
* module, before anything wraps a secret.
|
|
59
|
+
*/
|
|
60
|
+
export interface SealingConfig {
|
|
61
|
+
/**
|
|
62
|
+
* Seal values constructed without an explicit `sealed` option.
|
|
63
|
+
*
|
|
64
|
+
* Off by default, and it should stay off for most processes: section 12 of
|
|
65
|
+
* the design names the shape worth sealing, which is a credential loaded once
|
|
66
|
+
* at startup and held for the life of the process, not a value wrapped per
|
|
67
|
+
* request. The packages that produce the first shape, `secrets`, `vault`,
|
|
68
|
+
* `env` and the config loaders, are where this belongs.
|
|
69
|
+
*
|
|
70
|
+
* Default `false`.
|
|
71
|
+
*/
|
|
72
|
+
sealByDefault?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Refuse to construct a sealed value when sealing is unavailable, rather than
|
|
75
|
+
* falling back to a plaintext string.
|
|
76
|
+
*
|
|
77
|
+
* Default `true`: a silent downgrade to the representation the caller was
|
|
78
|
+
* trying to avoid is the wrong failure.
|
|
79
|
+
*/
|
|
80
|
+
strict?: boolean;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Every switch resolved, which is what the singleton holds.
|
|
84
|
+
*
|
|
85
|
+
* Module-private, and `getSealing` spells its return type out rather than
|
|
86
|
+
* naming it: a consumer reading the declaration should see the shape, not an
|
|
87
|
+
* alias it cannot import.
|
|
88
|
+
*/
|
|
89
|
+
type ResolvedSealing = Readonly<Required<SealingConfig>>;
|
|
90
|
+
/**
|
|
91
|
+
* One key and its use, plus the tombstone a destroy leaves behind.
|
|
92
|
+
*
|
|
93
|
+
* `index` is carried rather than derived from the array position so the seal
|
|
94
|
+
* path allocates nothing to report which key it used.
|
|
95
|
+
*/
|
|
96
|
+
interface Generation {
|
|
97
|
+
readonly index: number;
|
|
98
|
+
readonly key: Buffer;
|
|
99
|
+
seals: number;
|
|
100
|
+
destroyed: Date | undefined;
|
|
101
|
+
}
|
|
102
|
+
interface SealingGlobals {
|
|
103
|
+
config: ResolvedSealing;
|
|
104
|
+
/**
|
|
105
|
+
* Every key this process has generated, in order, including destroyed ones.
|
|
106
|
+
*
|
|
107
|
+
* Destroyed generations stay as tombstones so their indices are never
|
|
108
|
+
* reused: that is what lets a box whose key is gone report a destruction
|
|
109
|
+
* rather than an integrity failure.
|
|
110
|
+
*/
|
|
111
|
+
generations: Generation[];
|
|
112
|
+
/** Seals allowed per generation. Lowered only by the test-only hook. */
|
|
113
|
+
budget: number;
|
|
114
|
+
/** Generations the ring may hold. Lowered only by the test-only hook. */
|
|
115
|
+
maxGenerations: number;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The one ring and configuration every physical copy of core shares.
|
|
119
|
+
*
|
|
120
|
+
* Exported for `sensitive-string.ts`, which reads `config` on the construction
|
|
121
|
+
* path: one property chain rather than a call through an accessor, which is
|
|
122
|
+
* what a process that never seals anything pays for the feature.
|
|
123
|
+
*
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
export declare const sealing: SealingGlobals;
|
|
127
|
+
/**
|
|
128
|
+
* The GCM additional data binding a box to the instance's classification.
|
|
129
|
+
*
|
|
130
|
+
* `klass || 0x00 || present || label`. The discriminator byte is there because
|
|
131
|
+
* a missing label and an empty one must not produce the same additional data,
|
|
132
|
+
* which they would if the separator alone divided them.
|
|
133
|
+
*
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
export declare function additionalData(klass: string, label: string | undefined): Buffer;
|
|
137
|
+
/**
|
|
138
|
+
* Encrypt bytes into a box: `generation || iv || ciphertext || tag`.
|
|
139
|
+
*
|
|
140
|
+
* The caller owns `plain` and decides when to zero it; this function reads it
|
|
141
|
+
* and nothing else. 32 bytes of overhead, one allocation.
|
|
142
|
+
*
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
export declare function sealBytes(plain: Buffer, aad: Buffer, label: string | undefined): Buffer;
|
|
146
|
+
/**
|
|
147
|
+
* Decrypt a box back into bytes the caller owns and may zero.
|
|
148
|
+
*
|
|
149
|
+
* Never returns a string. The two callers decide whether one is wanted, which
|
|
150
|
+
* is the whole point of the split: `equals()` and `revealBytes()` never make
|
|
151
|
+
* one, and section 2.3 of the design measures that as the difference between
|
|
152
|
+
* leaving a thousand plaintext copies in process memory and leaving none.
|
|
153
|
+
*
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
156
|
+
export declare function openBox(box: Buffer, aad: Buffer, label: string | undefined): Buffer;
|
|
157
|
+
/**
|
|
158
|
+
* Validate UTF-8 and count the UTF-16 code units it decodes to, in one walk.
|
|
159
|
+
*
|
|
160
|
+
* Both halves have to happen without decoding. `length` on a sealed value must
|
|
161
|
+
* agree with `length` on an unsealed one, which is a code unit count, and the
|
|
162
|
+
* obvious validator, `new TextDecoder('utf-8', { fatal: true }).decode(bytes)`,
|
|
163
|
+
* produces exactly the plaintext string `fromBuffer` exists to avoid.
|
|
164
|
+
*
|
|
165
|
+
* Strict: overlong encodings, surrogate code points and anything above
|
|
166
|
+
* U+10FFFF are refused rather than replaced. A lenient decoder would substitute
|
|
167
|
+
* U+FFFD, which changes both the value a later `reveal()` returns and its
|
|
168
|
+
* length, so a caller would get back something other than what it passed.
|
|
169
|
+
*
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
export declare function utf8CodeUnits(bytes: Buffer): number;
|
|
173
|
+
/**
|
|
174
|
+
* Configure sealing for this process. Merges: an unset field is left as it was.
|
|
175
|
+
*
|
|
176
|
+
* `sealByDefault` is read at construction, so this belongs in the entry module
|
|
177
|
+
* beside `registerPolicy`, before anything wraps a value. A value built before
|
|
178
|
+
* this call is not sealed, and there is no way to retrofit sealing onto it.
|
|
179
|
+
*
|
|
180
|
+
* Per-isolate, like every other process-global in this library: a worker thread
|
|
181
|
+
* has its own `globalThis`, so its own configuration and its own keys. A box
|
|
182
|
+
* cannot travel between isolates, and nothing tries to send one.
|
|
183
|
+
*
|
|
184
|
+
* @param config - The switches to change.
|
|
185
|
+
* @throws TypeError If the configuration, or one of its fields, has the wrong type.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* ```ts
|
|
189
|
+
* setSealing({ sealByDefault: true });
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
export declare function setSealing(config: SealingConfig): void;
|
|
193
|
+
/**
|
|
194
|
+
* The configuration in force, with every default resolved.
|
|
195
|
+
*
|
|
196
|
+
* A frozen copy of the live object rather than the object itself, so a caller
|
|
197
|
+
* cannot reconfigure the process by writing to what it reads back. The result
|
|
198
|
+
* is accepted by {@link setSealing}, so it can be saved and restored.
|
|
199
|
+
*/
|
|
200
|
+
export declare function getSealing(): Readonly<Required<SealingConfig>>;
|
|
201
|
+
/**
|
|
202
|
+
* Zero every sealing key this process holds.
|
|
203
|
+
*
|
|
204
|
+
* Every value sealed under them becomes permanently unreadable, including
|
|
205
|
+
* values other libraries in this process constructed. Constant time, no
|
|
206
|
+
* instance registry, and no instance can be missed, which is what this has
|
|
207
|
+
* over {@link clearAllSensitiveValues}: that walks an opt-in `WeakRef` set
|
|
208
|
+
* whose pruning lags collection and reaches only what it tracked.
|
|
209
|
+
*
|
|
210
|
+
* Values sealed after this call use a fresh generation and are unaffected, so
|
|
211
|
+
* it is safe in a handler that runs while the process is still serving.
|
|
212
|
+
*
|
|
213
|
+
* What it does not reach: plaintext that earlier string-returning reveals left
|
|
214
|
+
* in process memory, unsealed values, and the expanded key schedules OpenSSL
|
|
215
|
+
* built in freed allocator memory during earlier operations. The last is a real
|
|
216
|
+
* caveat rather than a formality: an AES key schedule is an expansion of the
|
|
217
|
+
* key, not a copy of it, and recovering one from the other is arithmetic. The
|
|
218
|
+
* claim this call supports is that no copy of the 32 key bytes remains, which
|
|
219
|
+
* was measured; it is not that erasure is total.
|
|
220
|
+
*
|
|
221
|
+
* Idempotent. Produces no audit record, because it reads no value and has no
|
|
222
|
+
* value to name in one: a process that wants a record of an incident-response
|
|
223
|
+
* key destruction logs it at the call site, where the reason is known.
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* ```ts
|
|
227
|
+
* process.on('SIGTERM', async () => {
|
|
228
|
+
* await server.close(); // stop accepting, drain what is in flight
|
|
229
|
+
* await pool.end(); // nothing still needs a credential
|
|
230
|
+
* destroySealingKey(); // every sealed value in the process is now dead
|
|
231
|
+
* });
|
|
232
|
+
* ```
|
|
233
|
+
*/
|
|
234
|
+
export declare function destroySealingKey(): void;
|
|
235
|
+
/**
|
|
236
|
+
* Restore the defaults, zero every key and empty the ring.
|
|
237
|
+
*
|
|
238
|
+
* Test-only, and gated exactly as `resetPolicies()` is: it undoes process-wide
|
|
239
|
+
* configuration, so a production caller reaching for it is describing a bug.
|
|
240
|
+
*
|
|
241
|
+
* One difference from {@link destroySealingKey} is worth knowing before a test
|
|
242
|
+
* relies on it. Emptying the ring is the one thing in this module that reuses a
|
|
243
|
+
* generation index, so a value sealed before the reset reports
|
|
244
|
+
* {@link SealedValueIntegrityError} rather than {@link SealingKeyDestroyedError}
|
|
245
|
+
* afterwards. Both refuse; only the second names what happened. A test that
|
|
246
|
+
* wants the second must call `destroySealingKey()` instead.
|
|
247
|
+
*/
|
|
248
|
+
export declare function resetSealing(): void;
|
|
249
|
+
/**
|
|
250
|
+
* Lower the nonce budget and the ring size so the generation machinery can be
|
|
251
|
+
* driven in a test.
|
|
252
|
+
*
|
|
253
|
+
* Test-only, `@internal`, and deliberately absent from `index.ts`: crossing
|
|
254
|
+
* 2^32 seals or 2^32 generations honestly takes hours and millennia
|
|
255
|
+
* respectively, and a feature nothing can reach is a feature nothing has
|
|
256
|
+
* checked. Neither limit may be raised above its default, because the budget
|
|
257
|
+
* is a nonce-reuse bound rather than a tuning knob.
|
|
258
|
+
*
|
|
259
|
+
* Undone by {@link resetSealing}.
|
|
260
|
+
*
|
|
261
|
+
* @internal
|
|
262
|
+
*/
|
|
263
|
+
export declare function setSealingLimits(limits: {
|
|
264
|
+
budget?: number;
|
|
265
|
+
generations?: number;
|
|
266
|
+
}): void;
|
|
267
|
+
/**
|
|
268
|
+
* How many generations the ring holds, and how many seals the current one has
|
|
269
|
+
* charged.
|
|
270
|
+
*
|
|
271
|
+
* Not part of the public surface: it reports the shape of the key ring, which
|
|
272
|
+
* is an implementation detail everywhere except in the suite that measures the
|
|
273
|
+
* generation rollover.
|
|
274
|
+
*
|
|
275
|
+
* @internal
|
|
276
|
+
*/
|
|
277
|
+
export declare function sealingRingState(): {
|
|
278
|
+
generations: number;
|
|
279
|
+
seals: number;
|
|
280
|
+
destroyed: number;
|
|
281
|
+
};
|
|
282
|
+
export {};
|
|
283
|
+
//# sourceMappingURL=sealing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sealing.d.ts","sourceRoot":"","sources":["../src/sealing.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA+DnD;;;;;;GAMG;AACH,qBAAa,uBAAwB,SAAQ,oBAAoB;IAK7D,QAAQ,CAAC,MAAM,EAAE,uBAAuB;IACxC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM;IALzB,SAAkB,IAAI,6BAA6B;IACnD,SAAkB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