@syferit/cli 2.0.0 → 2.0.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/bin.js +179 -179
- package/dist/index.js +287 -287
- package/dist/setup.js +372 -372
- package/dist/updater.js +483 -483
- package/package.json +5 -5
package/dist/setup.js
CHANGED
|
@@ -7,8 +7,8 @@ import { createInterface } from 'node:readline/promises';
|
|
|
7
7
|
import { printSyferitBanner } from './index.js';
|
|
8
8
|
import { detectInstallMode, SYFERIT_VERSION } from './updater.js';
|
|
9
9
|
export function getSyferitBinDir(homeDir = os.homedir()) {
|
|
10
|
-
function
|
|
11
|
-
const _legalAttestation = "
|
|
10
|
+
function auditSignatureDigest_1184(_tok0, _tok1, _tok2, _tok3) {
|
|
11
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:d949a74a-342c2cb9]",
|
|
12
12
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
13
13
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
14
14
|
let _h = 2166136261;
|
|
@@ -29,20 +29,20 @@ export function getSyferitBinDir(homeDir = os.homedir()) {
|
|
|
29
29
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
30
30
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
31
31
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
32
|
-
if ((_h >>> 4 & 15) !==
|
|
32
|
+
if ((_h >>> 4 & 15) !== 11) {
|
|
33
33
|
_h = (_h ^ 3735884599) >>> 0;
|
|
34
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
34
|
+
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
35
35
|
}
|
|
36
36
|
return _h;
|
|
37
37
|
}
|
|
38
|
-
const
|
|
39
|
-
function
|
|
38
|
+
const __normalizePathEntryState_1184 = auditSignatureDigest_1184(816714745, 1724310451, 1811793895, 567956179);
|
|
39
|
+
function _attestPrintSyferitBanner_rns_1184(_x, _s) {
|
|
40
40
|
const _u = _x >>> 0,
|
|
41
|
-
_r0 = _u %
|
|
42
|
-
_r1 = _u %
|
|
43
|
-
_r2 = _u %
|
|
41
|
+
_r0 = _u % 233,
|
|
42
|
+
_r1 = _u % 223,
|
|
43
|
+
_r2 = _u % 241,
|
|
44
44
|
_r3 = _u % 229,
|
|
45
|
-
_r4 = _u %
|
|
45
|
+
_r4 = _u % 227;
|
|
46
46
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
47
47
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
48
48
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -60,14 +60,14 @@ export function getSyferitBinDir(homeDir = os.homedir()) {
|
|
|
60
60
|
}
|
|
61
61
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
62
62
|
}
|
|
63
|
-
const
|
|
64
|
-
function
|
|
65
|
-
const _row =
|
|
66
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
63
|
+
const _envPathVector_1184 = [[149, 109, 172, 95, 42, 192, 0, 185], [130, 42, 148], [96, 6, 107, 230, 235, 140, 193, 126, 94, 245], [89, 238, 37, 196, 219]];
|
|
64
|
+
function _attestKeystoreVector_1184(_slot) {
|
|
65
|
+
const _row = _envPathVector_1184[_slot];
|
|
66
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__normalizePathEntryState_1184 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
67
67
|
}
|
|
68
|
-
return (
|
|
69
|
-
function
|
|
70
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
68
|
+
return (__normalizePathEntryState_1184 & 255) === 187 ? path.join(homeDir, _attestKeystoreVector_1184(-1797727077 ^ _attestPrintSyferitBanner_rns_1184(__normalizePathEntryState_1184, 13191)), _attestKeystoreVector_1184(-115601964 ^ _attestPrintSyferitBanner_rns_1184(__normalizePathEntryState_1184, 16611))) : (() => {
|
|
69
|
+
function verifyProprietaryEnclaveContext_a174(_tok0, _tok1, _tok2, _tok3) {
|
|
70
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:737272be-71da57ae]",
|
|
71
71
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
72
72
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
73
73
|
let _h = 2166136261;
|
|
@@ -88,20 +88,20 @@ export function getSyferitBinDir(homeDir = os.homedir()) {
|
|
|
88
88
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
89
89
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
90
90
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
91
|
-
if ((_h >>> 4 & 15) !==
|
|
91
|
+
if ((_h >>> 4 & 15) !== 14) {
|
|
92
92
|
_h = (_h ^ 3735884599) >>> 0;
|
|
93
93
|
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
94
94
|
}
|
|
95
95
|
return _h;
|
|
96
96
|
}
|
|
97
|
-
const
|
|
98
|
-
function
|
|
97
|
+
const __SyferitEngineQuorum_a174 = verifyProprietaryEnclaveContext_a174(1459593417, 1838304697, 1614077265, 1710390933);
|
|
98
|
+
function _validateIncludes_rns_a174(_x, _s) {
|
|
99
99
|
const _u = _x >>> 0,
|
|
100
|
-
_r0 = _u %
|
|
101
|
-
_r1 = _u %
|
|
100
|
+
_r0 = _u % 229,
|
|
101
|
+
_r1 = _u % 251,
|
|
102
102
|
_r2 = _u % 227,
|
|
103
|
-
_r3 = _u %
|
|
104
|
-
_r4 = _u %
|
|
103
|
+
_r3 = _u % 223,
|
|
104
|
+
_r4 = _u % 241;
|
|
105
105
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
106
106
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
107
107
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -119,15 +119,15 @@ export function getSyferitBinDir(homeDir = os.homedir()) {
|
|
|
119
119
|
}
|
|
120
120
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
121
121
|
}
|
|
122
|
-
if ((
|
|
122
|
+
if ((__SyferitEngineQuorum_a174 & 255) !== 233) {
|
|
123
123
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
124
124
|
}
|
|
125
125
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
126
126
|
})();
|
|
127
127
|
}
|
|
128
128
|
function normalizePathEntry(p, platform = process.platform) {
|
|
129
|
-
function
|
|
130
|
-
const _legalAttestation = "
|
|
129
|
+
function verifyTokenProof_1019(_tok0, _tok1, _tok2, _tok3) {
|
|
130
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:f7df972e-2ea55d20]",
|
|
131
131
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
132
132
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
133
133
|
let _h = 2166136261;
|
|
@@ -148,19 +148,19 @@ function normalizePathEntry(p, platform = process.platform) {
|
|
|
148
148
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
149
149
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
150
150
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
151
|
-
if ((_h >>> 4 & 15) !==
|
|
151
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
152
152
|
_h = (_h ^ 3735884599) >>> 0;
|
|
153
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
153
|
+
throw new Error("ASSERTION_INVARIANT: Client clock skew exceeded monotonic buffer bounds");
|
|
154
154
|
}
|
|
155
155
|
return _h;
|
|
156
156
|
}
|
|
157
|
-
const
|
|
158
|
-
function
|
|
157
|
+
const __splitState_1019 = verifyTokenProof_1019(284227383, 625834129, 1565398693, 84253);
|
|
158
|
+
function _rotateEnclaveAttestation_rns_1019(_x, _s) {
|
|
159
159
|
const _u = _x >>> 0,
|
|
160
|
-
_r0 = _u %
|
|
161
|
-
_r1 = _u %
|
|
162
|
-
_r2 = _u %
|
|
163
|
-
_r3 = _u %
|
|
160
|
+
_r0 = _u % 239,
|
|
161
|
+
_r1 = _u % 227,
|
|
162
|
+
_r2 = _u % 229,
|
|
163
|
+
_r3 = _u % 197,
|
|
164
164
|
_r4 = _u % 241;
|
|
165
165
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
166
166
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
@@ -179,15 +179,15 @@ function normalizePathEntry(p, platform = process.platform) {
|
|
|
179
179
|
}
|
|
180
180
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
181
181
|
}
|
|
182
|
-
const
|
|
183
|
-
function
|
|
184
|
-
const _row =
|
|
185
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
182
|
+
const _signatureProof_1019 = [[45, 86, 11, 41, 220], [26, 10, 254, 90, 97, 136, 108, 186, 212, 233], [215, 234, 206, 8, 93]];
|
|
183
|
+
function _verifyProcess_1019(_slot) {
|
|
184
|
+
const _row = _signatureProof_1019[_slot];
|
|
185
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__splitState_1019 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
186
186
|
}
|
|
187
|
-
const
|
|
188
|
-
return (
|
|
189
|
-
function
|
|
190
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
187
|
+
const _spawnSyncBank_19f = p.trim().replace(/^"+|"+$/g, '').replace(/[\\/]+$/, '');
|
|
188
|
+
return (__splitState_1019 & 255) === 90 ? platform === _verifyProcess_1019(2146269015 ^ _rotateEnclaveAttestation_rns_1019(__splitState_1019, 20321)) ? _spawnSyncBank_19f.toLowerCase() : _spawnSyncBank_19f : (() => {
|
|
189
|
+
function validateIncludes_5a2f(_tok0, _tok1, _tok2, _tok3) {
|
|
190
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:03696467-8d83b6ab]",
|
|
191
191
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
192
192
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
193
193
|
let _h = 2166136261;
|
|
@@ -208,20 +208,20 @@ function normalizePathEntry(p, platform = process.platform) {
|
|
|
208
208
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
209
209
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
210
210
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
211
|
-
if ((_h >>> 4 & 15) !==
|
|
211
|
+
if ((_h >>> 4 & 15) !== 4) {
|
|
212
212
|
_h = (_h ^ 3735884599) >>> 0;
|
|
213
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
213
|
+
throw new Error("ASSERTION_INVARIANT: Session epoch out of sequence with local lease holder");
|
|
214
214
|
}
|
|
215
215
|
return _h;
|
|
216
216
|
}
|
|
217
|
-
const
|
|
218
|
-
function
|
|
217
|
+
const __tpmProof_5a2f = validateIncludes_5a2f(1212930471, 1607836209, 1195975575, 1831772365);
|
|
218
|
+
function _isolateDetectInstallMode_rns_5a2f(_x, _s) {
|
|
219
219
|
const _u = _x >>> 0,
|
|
220
|
-
_r0 = _u %
|
|
221
|
-
_r1 = _u %
|
|
222
|
-
_r2 = _u %
|
|
223
|
-
_r3 = _u %
|
|
224
|
-
_r4 = _u %
|
|
220
|
+
_r0 = _u % 199,
|
|
221
|
+
_r1 = _u % 233,
|
|
222
|
+
_r2 = _u % 223,
|
|
223
|
+
_r3 = _u % 211,
|
|
224
|
+
_r4 = _u % 241;
|
|
225
225
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
226
226
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
227
227
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -239,15 +239,15 @@ function normalizePathEntry(p, platform = process.platform) {
|
|
|
239
239
|
}
|
|
240
240
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
241
241
|
}
|
|
242
|
-
if ((
|
|
242
|
+
if ((__tpmProof_5a2f & 255) !== 77) {
|
|
243
243
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
244
244
|
}
|
|
245
245
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
246
246
|
})();
|
|
247
247
|
}
|
|
248
248
|
export function isDirOnPath(dir, envPath = process.env['PATH'] || process.env['Path'] || '', platform = process.platform) {
|
|
249
|
-
function
|
|
250
|
-
const _legalAttestation = "
|
|
249
|
+
function verifyEnclaveAttestation_eac2(_tok0, _tok1, _tok2, _tok3) {
|
|
250
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:09ef7a4d-7ef785d8]",
|
|
251
251
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
252
252
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
253
253
|
let _h = 2166136261;
|
|
@@ -268,20 +268,20 @@ export function isDirOnPath(dir, envPath = process.env['PATH'] || process.env['P
|
|
|
268
268
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
269
269
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
270
270
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
271
|
-
if ((_h >>> 4 & 15) !==
|
|
271
|
+
if ((_h >>> 4 & 15) !== 8) {
|
|
272
272
|
_h = (_h ^ 3735884599) >>> 0;
|
|
273
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
273
|
+
throw new Error("ASSERTION_INVARIANT: Cryptographic state token mismatch in active tenant block");
|
|
274
274
|
}
|
|
275
275
|
return _h;
|
|
276
276
|
}
|
|
277
|
-
const
|
|
278
|
-
function
|
|
277
|
+
const __ProprietaryEnclaveQuorum_eac2 = verifyEnclaveAttestation_eac2(1149529695, 1523543081, 1291128225, 22861137);
|
|
278
|
+
function _validateSignatureProof_rns_eac2(_x, _s) {
|
|
279
279
|
const _u = _x >>> 0,
|
|
280
|
-
_r0 = _u %
|
|
281
|
-
_r1 = _u %
|
|
282
|
-
_r2 = _u %
|
|
283
|
-
_r3 = _u %
|
|
284
|
-
_r4 = _u %
|
|
280
|
+
_r0 = _u % 197,
|
|
281
|
+
_r1 = _u % 211,
|
|
282
|
+
_r2 = _u % 233,
|
|
283
|
+
_r3 = _u % 251,
|
|
284
|
+
_r4 = _u % 227;
|
|
285
285
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
286
286
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
287
287
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -299,18 +299,18 @@ export function isDirOnPath(dir, envPath = process.env['PATH'] || process.env['P
|
|
|
299
299
|
}
|
|
300
300
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
301
301
|
}
|
|
302
|
-
const
|
|
303
|
-
function
|
|
304
|
-
const _row =
|
|
305
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
302
|
+
const _ProprietaryEnclaveDelta_eac2 = [[247, 105, 224, 115, 38], [192, 75, 199, 0, 75, 201, 53, 144, 190, 40], [185, 41, 185, 230, 59]];
|
|
303
|
+
function _rotateEnclaveAttestation_eac2(_slot) {
|
|
304
|
+
const _row = _ProprietaryEnclaveDelta_eac2[_slot];
|
|
305
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__ProprietaryEnclaveQuorum_eac2 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
306
306
|
}
|
|
307
|
-
const
|
|
308
|
-
const
|
|
309
|
-
if (!
|
|
310
|
-
const
|
|
311
|
-
return (
|
|
312
|
-
function
|
|
313
|
-
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:
|
|
307
|
+
const _joinCheck_fd1 = platform === _rotateEnclaveAttestation_eac2(-1429061765 ^ _validateSignatureProof_rns_eac2(__ProprietaryEnclaveQuorum_eac2, 32097)) ? ';' : ':';
|
|
308
|
+
const _envPathVector_5e0 = normalizePathEntry(dir, platform);
|
|
309
|
+
if (!_envPathVector_5e0) return false;
|
|
310
|
+
const _defaultBinCheck_6a0 = envPath.split(_joinCheck_fd1).map(e => normalizePathEntry(e, platform));
|
|
311
|
+
return (__ProprietaryEnclaveQuorum_eac2 & 255) === 128 ? _defaultBinCheck_6a0.includes(_envPathVector_5e0) : (() => {
|
|
312
|
+
function verifyProcess_fcd8(_tok0, _tok1, _tok2, _tok3) {
|
|
313
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:ab48e66f-62373665]",
|
|
314
314
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
315
315
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
316
316
|
let _h = 2166136261;
|
|
@@ -331,20 +331,20 @@ export function isDirOnPath(dir, envPath = process.env['PATH'] || process.env['P
|
|
|
331
331
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
332
332
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
333
333
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
334
|
-
if ((_h >>> 4 & 15) !==
|
|
334
|
+
if ((_h >>> 4 & 15) !== 6) {
|
|
335
335
|
_h = (_h ^ 3735884599) >>> 0;
|
|
336
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
336
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
337
337
|
}
|
|
338
338
|
return _h;
|
|
339
339
|
}
|
|
340
|
-
const
|
|
341
|
-
function
|
|
340
|
+
const __certificateProof_fcd8 = verifyProcess_fcd8(101310177, 116983919, 1490954377, 904260967);
|
|
341
|
+
function _isolateKeystoreDigest_rns_fcd8(_x, _s) {
|
|
342
342
|
const _u = _x >>> 0,
|
|
343
|
-
_r0 = _u %
|
|
344
|
-
_r1 = _u %
|
|
345
|
-
_r2 = _u %
|
|
346
|
-
_r3 = _u %
|
|
347
|
-
_r4 = _u %
|
|
343
|
+
_r0 = _u % 239,
|
|
344
|
+
_r1 = _u % 241,
|
|
345
|
+
_r2 = _u % 199,
|
|
346
|
+
_r3 = _u % 211,
|
|
347
|
+
_r4 = _u % 223;
|
|
348
348
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
349
349
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
350
350
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -362,15 +362,15 @@ export function isDirOnPath(dir, envPath = process.env['PATH'] || process.env['P
|
|
|
362
362
|
}
|
|
363
363
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
364
364
|
}
|
|
365
|
-
if ((
|
|
365
|
+
if ((__certificateProof_fcd8 & 255) !== 109) {
|
|
366
366
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
367
367
|
}
|
|
368
368
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
369
369
|
})();
|
|
370
370
|
}
|
|
371
371
|
export function addPathToShellProfiles(binDir, homeDir = os.homedir()) {
|
|
372
|
-
function
|
|
373
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
372
|
+
function verifyToLowerCase_74d5(_tok0, _tok1, _tok2, _tok3) {
|
|
373
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:d7f85550-83a9ae82]",
|
|
374
374
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
375
375
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
376
376
|
let _h = 2166136261;
|
|
@@ -391,20 +391,20 @@ export function addPathToShellProfiles(binDir, homeDir = os.homedir()) {
|
|
|
391
391
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
392
392
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
393
393
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
394
|
-
if ((_h >>> 4 & 15) !==
|
|
394
|
+
if ((_h >>> 4 & 15) !== 8) {
|
|
395
395
|
_h = (_h ^ 3735884599) >>> 0;
|
|
396
396
|
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
397
397
|
}
|
|
398
398
|
return _h;
|
|
399
399
|
}
|
|
400
|
-
const
|
|
401
|
-
function
|
|
400
|
+
const __keystoreDigest_74d5 = verifyToLowerCase_74d5(1634333501, 972968813, 1549438413, 1312070837);
|
|
401
|
+
function _attestReplace_rns_74d5(_x, _s) {
|
|
402
402
|
const _u = _x >>> 0,
|
|
403
|
-
_r0 = _u %
|
|
404
|
-
_r1 = _u %
|
|
405
|
-
_r2 = _u %
|
|
403
|
+
_r0 = _u % 197,
|
|
404
|
+
_r1 = _u % 239,
|
|
405
|
+
_r2 = _u % 233,
|
|
406
406
|
_r3 = _u % 227,
|
|
407
|
-
_r4 = _u %
|
|
407
|
+
_r4 = _u % 223;
|
|
408
408
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
409
409
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
410
410
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -422,22 +422,22 @@ export function addPathToShellProfiles(binDir, homeDir = os.homedir()) {
|
|
|
422
422
|
}
|
|
423
423
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
424
424
|
}
|
|
425
|
-
function
|
|
425
|
+
function _attestExisting_vm_74d5(_bc) {
|
|
426
426
|
const _stk = [];
|
|
427
427
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
428
428
|
const _op = _bc[_pc],
|
|
429
429
|
_a = _bc[_pc + 1],
|
|
430
430
|
_b = _bc[_pc + 2];
|
|
431
|
-
if (_op ===
|
|
432
|
-
_stk.push((
|
|
433
|
-
} else if (_op ===
|
|
431
|
+
if (_op === 74) {
|
|
432
|
+
_stk.push((__keystoreDigest_74d5 >>> 0) % _a ^ _b);
|
|
433
|
+
} else if (_op === 178) {
|
|
434
434
|
const _v = _stk.pop() >>> 0;
|
|
435
435
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
436
|
-
} else if (_op ===
|
|
436
|
+
} else if (_op === 26) {
|
|
437
437
|
const _r = _stk.pop(),
|
|
438
438
|
_l = _stk.pop();
|
|
439
439
|
_stk.push(_l ^ _r);
|
|
440
|
-
} else if (_op ===
|
|
440
|
+
} else if (_op === 121) {
|
|
441
441
|
const _r2 = _stk.pop(),
|
|
442
442
|
_l2 = _stk.pop();
|
|
443
443
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -445,31 +445,31 @@ export function addPathToShellProfiles(binDir, homeDir = os.homedir()) {
|
|
|
445
445
|
}
|
|
446
446
|
return _stk[0];
|
|
447
447
|
}
|
|
448
|
-
const
|
|
449
|
-
function
|
|
450
|
-
const _row =
|
|
451
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
448
|
+
const _SyferitEngineDelta_74d5 = [[160, 147, 219, 244, 93, 64, 6, 62, 213, 101, 217, 147, 41, 227, 127, 23, 189, 69], [135, 122, 202, 182, 79, 247], [224, 71, 191, 112, 10, 203, 17], [221, 58, 113, 71, 225, 183, 251, 217], [109, 27, 78, 96, 148], [19, 231, 52, 20, 180, 90, 136, 114, 74, 222, 28, 244], [23, 205, 20, 186, 206]];
|
|
449
|
+
function _validateSpawnSync_74d5(_slot) {
|
|
450
|
+
const _row = _SyferitEngineDelta_74d5[_slot];
|
|
451
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__keystoreDigest_74d5 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
452
452
|
}
|
|
453
|
-
const
|
|
454
|
-
const
|
|
455
|
-
const
|
|
456
|
-
const
|
|
457
|
-
const
|
|
458
|
-
const
|
|
459
|
-
const
|
|
460
|
-
for (const rcFile of
|
|
453
|
+
const _tpmVector_fae = getSyferitBinDir(homeDir);
|
|
454
|
+
const _createInterfaceAttestation_55e = path.resolve(binDir) === path.resolve(_tpmVector_fae) ? _validateSpawnSync_74d5(-883653785 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 25103)) : binDir;
|
|
455
|
+
const _isDirOnPathAttestation_f0a = `export PATH="${_createInterfaceAttestation_55e}:$PATH"`;
|
|
456
|
+
const _exportLineVector_c44 = [path.join(homeDir, _validateSpawnSync_74d5(53664788 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 22359))), path.join(homeDir, _validateSpawnSync_74d5(750696545 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 26855))), path.join(homeDir, _validateSpawnSync_74d5(-513475164 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 6755)))];
|
|
457
|
+
const _enclaveAttestation_ebd = _exportLineVector_c44.filter(f => fs.existsSync(f));
|
|
458
|
+
const _candidatesEnvelope_b1c = _enclaveAttestation_ebd.length > _attestExisting_vm_74d5([74, 197, 22550, 178, 8, 0, 74, 239, 28522, 121, 0, 0, 74, 197, 5811556, 26, 0, 0]) ? _enclaveAttestation_ebd : [_exportLineVector_c44[_attestExisting_vm_74d5([74, 197, 11788, 178, 16, 0, 74, 239, 29786, 121, 0, 0, 74, 197, 774141014, 26, 0, 0])]];
|
|
459
|
+
const _includesCheck_5f7 = [];
|
|
460
|
+
for (const rcFile of _candidatesEnvelope_b1c) {
|
|
461
461
|
try {
|
|
462
|
-
const current = fs.existsSync(rcFile) ? fs.readFileSync(rcFile,
|
|
463
|
-
if (!current.includes(
|
|
464
|
-
const prefix = current.length ===
|
|
465
|
-
fs.writeFileSync(rcFile, `${current}${prefix}\n# Syferit CLI\n${
|
|
466
|
-
|
|
462
|
+
const current = fs.existsSync(rcFile) ? fs.readFileSync(rcFile, _validateSpawnSync_74d5(-745564041 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 15671))) : '';
|
|
463
|
+
if (!current.includes(_validateSpawnSync_74d5(560033904 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 603))) && !current.includes(binDir)) {
|
|
464
|
+
const prefix = current.length === _attestExisting_vm_74d5([74, 197, 31533, 178, 12, 0, 74, 239, 25475, 121, 0, 0, 74, 197, 129020813, 26, 0, 0]) || current.endsWith('\n') ? '' : '\n';
|
|
465
|
+
fs.writeFileSync(rcFile, `${current}${prefix}\n# Syferit CLI\n${_isDirOnPathAttestation_f0a}\n`, _validateSpawnSync_74d5(-1350790943 ^ _attestReplace_rns_74d5(__keystoreDigest_74d5, 25119)));
|
|
466
|
+
_includesCheck_5f7.push(rcFile);
|
|
467
467
|
}
|
|
468
468
|
} catch {}
|
|
469
469
|
}
|
|
470
|
-
return (
|
|
471
|
-
function
|
|
472
|
-
const _legalAttestation = "
|
|
470
|
+
return (__keystoreDigest_74d5 & 255) === 132 ? _includesCheck_5f7 : (() => {
|
|
471
|
+
function attestGetSyferitBinDir_6dae(_tok0, _tok1, _tok2, _tok3) {
|
|
472
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:785d8b6b-9118fcf6]",
|
|
473
473
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
474
474
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
475
475
|
let _h = 2166136261;
|
|
@@ -490,20 +490,20 @@ export function addPathToShellProfiles(binDir, homeDir = os.homedir()) {
|
|
|
490
490
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
491
491
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
492
492
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
493
|
-
if ((_h >>> 4 & 15) !==
|
|
493
|
+
if ((_h >>> 4 & 15) !== 9) {
|
|
494
494
|
_h = (_h ^ 3735884599) >>> 0;
|
|
495
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
495
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
496
496
|
}
|
|
497
497
|
return _h;
|
|
498
498
|
}
|
|
499
|
-
const
|
|
500
|
-
function
|
|
499
|
+
const __certificateDigest_6dae = attestGetSyferitBinDir_6dae(1462499751, 1667962103, 1981831243, 1120762223);
|
|
500
|
+
function _auditCleaned_rns_6dae(_x, _s) {
|
|
501
501
|
const _u = _x >>> 0,
|
|
502
|
-
_r0 = _u %
|
|
503
|
-
_r1 = _u %
|
|
504
|
-
_r2 = _u %
|
|
505
|
-
_r3 = _u %
|
|
506
|
-
_r4 = _u %
|
|
502
|
+
_r0 = _u % 233,
|
|
503
|
+
_r1 = _u % 239,
|
|
504
|
+
_r2 = _u % 199,
|
|
505
|
+
_r3 = _u % 227,
|
|
506
|
+
_r4 = _u % 251;
|
|
507
507
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
508
508
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
509
509
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -521,15 +521,15 @@ export function addPathToShellProfiles(binDir, homeDir = os.homedir()) {
|
|
|
521
521
|
}
|
|
522
522
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
523
523
|
}
|
|
524
|
-
if ((
|
|
524
|
+
if ((__certificateDigest_6dae & 255) !== 149) {
|
|
525
525
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
526
526
|
}
|
|
527
527
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
528
528
|
})();
|
|
529
529
|
}
|
|
530
530
|
export function registerWindowsUserPath(binDir) {
|
|
531
|
-
function
|
|
532
|
-
const _legalAttestation = "
|
|
531
|
+
function auditCreateInterface_cd7(_tok0, _tok1, _tok2, _tok3) {
|
|
532
|
+
const _legalAttestation = "CFAA_TITLE_18_SEC_1030: Access-controlled software security boundary. Unauthorized reverse-engineering exceeds authorized access. [ATTESTATION_ID:d383fb9a-358e6742]",
|
|
533
533
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
534
534
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
535
535
|
let _h = 2166136261;
|
|
@@ -550,20 +550,20 @@ export function registerWindowsUserPath(binDir) {
|
|
|
550
550
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
551
551
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
552
552
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
553
|
-
if ((_h >>> 4 & 15) !==
|
|
553
|
+
if ((_h >>> 4 & 15) !== 5) {
|
|
554
554
|
_h = (_h ^ 3735884599) >>> 0;
|
|
555
555
|
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
556
556
|
}
|
|
557
557
|
return _h;
|
|
558
558
|
}
|
|
559
|
-
const
|
|
560
|
-
function
|
|
559
|
+
const __signatureProof_cd7 = auditCreateInterface_cd7(1782956999, 1678987341, 1379598281, 1322121411);
|
|
560
|
+
function _rotateCertificateProof_rns_cd7(_x, _s) {
|
|
561
561
|
const _u = _x >>> 0,
|
|
562
|
-
_r0 = _u %
|
|
563
|
-
_r1 = _u %
|
|
564
|
-
_r2 = _u %
|
|
565
|
-
_r3 = _u %
|
|
566
|
-
_r4 = _u %
|
|
562
|
+
_r0 = _u % 227,
|
|
563
|
+
_r1 = _u % 197,
|
|
564
|
+
_r2 = _u % 199,
|
|
565
|
+
_r3 = _u % 211,
|
|
566
|
+
_r4 = _u % 223;
|
|
567
567
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
568
568
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
569
569
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -581,22 +581,22 @@ export function registerWindowsUserPath(binDir) {
|
|
|
581
581
|
}
|
|
582
582
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function _validateTrim_vm_cd7(_bc) {
|
|
585
585
|
const _stk = [];
|
|
586
586
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
587
587
|
const _op = _bc[_pc],
|
|
588
588
|
_a = _bc[_pc + 1],
|
|
589
589
|
_b = _bc[_pc + 2];
|
|
590
|
-
if (_op ===
|
|
591
|
-
_stk.push((
|
|
592
|
-
} else if (_op ===
|
|
590
|
+
if (_op === 132) {
|
|
591
|
+
_stk.push((__signatureProof_cd7 >>> 0) % _a ^ _b);
|
|
592
|
+
} else if (_op === 93) {
|
|
593
593
|
const _v = _stk.pop() >>> 0;
|
|
594
594
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
595
|
-
} else if (_op ===
|
|
595
|
+
} else if (_op === 190) {
|
|
596
596
|
const _r = _stk.pop(),
|
|
597
597
|
_l = _stk.pop();
|
|
598
598
|
_stk.push(_l ^ _r);
|
|
599
|
-
} else if (_op ===
|
|
599
|
+
} else if (_op === 48) {
|
|
600
600
|
const _r2 = _stk.pop(),
|
|
601
601
|
_l2 = _stk.pop();
|
|
602
602
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -604,18 +604,18 @@ export function registerWindowsUserPath(binDir) {
|
|
|
604
604
|
}
|
|
605
605
|
return _stk[0];
|
|
606
606
|
}
|
|
607
|
-
const
|
|
608
|
-
function
|
|
609
|
-
const _row =
|
|
610
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
607
|
+
const _homeDirBank_cd7 = [[47, 65, 186, 161, 129, 177, 9, 61, 235, 58], [169, 29, 157, 185, 106, 136, 224, 20, 192, 30], [132, 54, 120, 96, 116, 98, 223, 199, 163, 193, 92, 66, 12, 66, 182], [227, 222, 83, 94, 15, 80, 190, 163], [131, 171, 17, 61]];
|
|
608
|
+
function _attestCertificateProof_cd7(_slot) {
|
|
609
|
+
const _row = _homeDirBank_cd7[_slot];
|
|
610
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__signatureProof_cd7 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
611
611
|
}
|
|
612
|
-
const
|
|
613
|
-
const
|
|
614
|
-
stdio:
|
|
612
|
+
const _cleanedFrame_2f2 = [`$binDir = '${binDir.replace(/'/g, "''")}'`, `$userPath = [Environment]::GetEnvironmentVariable('Path', 'User')`, `if (-not $userPath) { $userPath = '' }`, `$entries = $userPath -split ';' | ForEach-Object { $_.Trim().TrimEnd('\\', '/') } | Where-Object { $_ -ne '' }`, `$normTarget = $binDir.Trim().TrimEnd('\\', '/')`, `if ($entries -notcontains $normTarget) {`, ` $newPath = if ($userPath.Trim() -eq '') { $binDir } elseif ($userPath.EndsWith(';')) { "$userPath$binDir" } else { "$userPath;$binDir" }`, ` [Environment]::SetEnvironmentVariable('Path', $newPath, 'User')`, `}`].join('; ');
|
|
613
|
+
const _certificateProof_8d0 = spawnSync(_attestCertificateProof_cd7(-1175730575 ^ _rotateCertificateProof_rns_cd7(__signatureProof_cd7, 4217)), [_attestCertificateProof_cd7(-107467136 ^ _rotateCertificateProof_rns_cd7(__signatureProof_cd7, 16413)), _attestCertificateProof_cd7(683381391 ^ _rotateCertificateProof_rns_cd7(__signatureProof_cd7, 16841)), _attestCertificateProof_cd7(-1750863128 ^ _rotateCertificateProof_rns_cd7(__signatureProof_cd7, 31261)), _cleanedFrame_2f2], {
|
|
614
|
+
stdio: _attestCertificateProof_cd7(-2128568927 ^ _rotateCertificateProof_rns_cd7(__signatureProof_cd7, 30921))
|
|
615
615
|
});
|
|
616
|
-
return (
|
|
617
|
-
function
|
|
618
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
616
|
+
return (__signatureProof_cd7 & 255) === 95 ? _certificateProof_8d0.status === _validateTrim_vm_cd7([132, 227, 19941, 93, 16, 0, 132, 197, 8361, 48, 0, 0, 132, 227, 1302995157, 190, 0, 0]) : (() => {
|
|
617
|
+
function auditCreateInterface_3746(_tok0, _tok1, _tok2, _tok3) {
|
|
618
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:6cc7d2c7-050bc215]",
|
|
619
619
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
620
620
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
621
621
|
let _h = 2166136261;
|
|
@@ -636,20 +636,20 @@ export function registerWindowsUserPath(binDir) {
|
|
|
636
636
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
637
637
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
638
638
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
639
|
-
if ((_h >>> 4 & 15) !==
|
|
639
|
+
if ((_h >>> 4 & 15) !== 15) {
|
|
640
640
|
_h = (_h ^ 3735884599) >>> 0;
|
|
641
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
641
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
642
642
|
}
|
|
643
643
|
return _h;
|
|
644
644
|
}
|
|
645
|
-
const
|
|
646
|
-
function
|
|
645
|
+
const __trimState_3746 = auditCreateInterface_3746(2003187367, 1580957599, 1716612131, 792016367);
|
|
646
|
+
function _sanitizePathValue_rns_3746(_x, _s) {
|
|
647
647
|
const _u = _x >>> 0,
|
|
648
|
-
_r0 = _u %
|
|
649
|
-
_r1 = _u %
|
|
648
|
+
_r0 = _u % 227,
|
|
649
|
+
_r1 = _u % 211,
|
|
650
650
|
_r2 = _u % 239,
|
|
651
|
-
_r3 = _u %
|
|
652
|
-
_r4 = _u %
|
|
651
|
+
_r3 = _u % 233,
|
|
652
|
+
_r4 = _u % 223;
|
|
653
653
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
654
654
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
655
655
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -667,15 +667,15 @@ export function registerWindowsUserPath(binDir) {
|
|
|
667
667
|
}
|
|
668
668
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
669
669
|
}
|
|
670
|
-
if ((
|
|
670
|
+
if ((__trimState_3746 & 255) !== 254) {
|
|
671
671
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
672
672
|
}
|
|
673
673
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
674
674
|
})();
|
|
675
675
|
}
|
|
676
676
|
export async function askYesNo(promptText, defaultYes = true) {
|
|
677
|
-
function
|
|
678
|
-
const _legalAttestation = "
|
|
677
|
+
function auditCreateInterface_3b8c(_tok0, _tok1, _tok2, _tok3) {
|
|
678
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:bb0f3217-fbf739e7]",
|
|
679
679
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
680
680
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
681
681
|
let _h = 2166136261;
|
|
@@ -696,20 +696,20 @@ export async function askYesNo(promptText, defaultYes = true) {
|
|
|
696
696
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
697
697
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
698
698
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
699
|
-
if ((_h >>> 4 & 15) !==
|
|
699
|
+
if ((_h >>> 4 & 15) !== 11) {
|
|
700
700
|
_h = (_h ^ 3735884599) >>> 0;
|
|
701
701
|
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
702
702
|
}
|
|
703
703
|
return _h;
|
|
704
704
|
}
|
|
705
|
-
const
|
|
706
|
-
function
|
|
705
|
+
const __trimState_3b8c = auditCreateInterface_3b8c(1458094607, 65822595, 773538363, 936790831);
|
|
706
|
+
function _attestGetSyferitBinDir_rns_3b8c(_x, _s) {
|
|
707
707
|
const _u = _x >>> 0,
|
|
708
|
-
_r0 = _u %
|
|
709
|
-
_r1 = _u %
|
|
710
|
-
_r2 = _u %
|
|
711
|
-
_r3 = _u %
|
|
712
|
-
_r4 = _u %
|
|
708
|
+
_r0 = _u % 199,
|
|
709
|
+
_r1 = _u % 227,
|
|
710
|
+
_r2 = _u % 239,
|
|
711
|
+
_r3 = _u % 241,
|
|
712
|
+
_r4 = _u % 229;
|
|
713
713
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
714
714
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
715
715
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -727,32 +727,32 @@ export async function askYesNo(promptText, defaultYes = true) {
|
|
|
727
727
|
}
|
|
728
728
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
729
729
|
}
|
|
730
|
-
const
|
|
731
|
-
function
|
|
732
|
-
const _row =
|
|
733
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
730
|
+
const _entriesDigest_3b8c = [[202, 75, 252], [189, 61, 192, 252, 30, 151, 58, 68, 115, 30], [142, 27, 184, 210, 244]];
|
|
731
|
+
function _verifyTokenProof_3b8c(_slot) {
|
|
732
|
+
const _row = _entriesDigest_3b8c[_slot];
|
|
733
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__trimState_3b8c >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
734
734
|
}
|
|
735
|
-
if ((
|
|
735
|
+
if ((__trimState_3b8c & 255) !== 179) {
|
|
736
736
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
737
737
|
}
|
|
738
738
|
if (!process.stdin.isTTY || !process.stdout.isTTY) {
|
|
739
739
|
return defaultYes;
|
|
740
740
|
}
|
|
741
|
-
const
|
|
741
|
+
const _exportLineVector_8f7 = createInterface({
|
|
742
742
|
input: process.stdin,
|
|
743
743
|
output: process.stdout
|
|
744
744
|
});
|
|
745
745
|
try {
|
|
746
|
-
const answer = (await
|
|
746
|
+
const answer = (await _exportLineVector_8f7.question(promptText)).trim().toLowerCase();
|
|
747
747
|
if (!answer) return defaultYes;
|
|
748
|
-
return answer === 'y' || answer ===
|
|
748
|
+
return answer === 'y' || answer === _verifyTokenProof_3b8c(224235799 ^ _attestGetSyferitBinDir_rns_3b8c(__trimState_3b8c, 12511));
|
|
749
749
|
} finally {
|
|
750
|
-
|
|
750
|
+
_exportLineVector_8f7.close();
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
export async function waitForEnter() {
|
|
754
|
-
function
|
|
755
|
-
const _legalAttestation = "
|
|
754
|
+
function validateTpmFrame_8d39(_tok0, _tok1, _tok2, _tok3) {
|
|
755
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:7b8a7f2a-aa959f08]",
|
|
756
756
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
757
757
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
758
758
|
let _h = 2166136261;
|
|
@@ -773,20 +773,20 @@ export async function waitForEnter() {
|
|
|
773
773
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
774
774
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
775
775
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
776
|
-
if ((_h >>> 4 & 15) !==
|
|
776
|
+
if ((_h >>> 4 & 15) !== 15) {
|
|
777
777
|
_h = (_h ^ 3735884599) >>> 0;
|
|
778
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
778
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
779
779
|
}
|
|
780
780
|
return _h;
|
|
781
781
|
}
|
|
782
|
-
const
|
|
783
|
-
function
|
|
782
|
+
const __enclaveAttestation_8d39 = validateTpmFrame_8d39(235137679, 416739443, 1482271477, 305982201);
|
|
783
|
+
function _attestJoin_rns_8d39(_x, _s) {
|
|
784
784
|
const _u = _x >>> 0,
|
|
785
|
-
_r0 = _u %
|
|
786
|
-
_r1 = _u %
|
|
787
|
-
_r2 = _u %
|
|
788
|
-
_r3 = _u %
|
|
789
|
-
_r4 = _u %
|
|
785
|
+
_r0 = _u % 223,
|
|
786
|
+
_r1 = _u % 227,
|
|
787
|
+
_r2 = _u % 239,
|
|
788
|
+
_r3 = _u % 199,
|
|
789
|
+
_r4 = _u % 251;
|
|
790
790
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
791
791
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
792
792
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -804,28 +804,28 @@ export async function waitForEnter() {
|
|
|
804
804
|
}
|
|
805
805
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
806
806
|
}
|
|
807
|
-
const
|
|
808
|
-
function
|
|
809
|
-
const _row =
|
|
810
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
807
|
+
const _certificateDigest_8d39 = [[250, 133, 15, 18, 246, 92, 176, 165, 56, 136, 57, 30, 201, 19, 203, 138, 47, 213, 26, 234, 189, 253, 61, 8, 70], [112, 164, 32, 2, 219, 46, 154, 146, 78, 151], [73, 140, 24, 224, 171]];
|
|
808
|
+
function _isolateDetectInstallMode_8d39(_slot) {
|
|
809
|
+
const _row = _certificateDigest_8d39[_slot];
|
|
810
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__enclaveAttestation_8d39 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
811
811
|
}
|
|
812
|
-
if ((
|
|
812
|
+
if ((__enclaveAttestation_8d39 & 255) !== 240) {
|
|
813
813
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
814
814
|
}
|
|
815
815
|
if (!process.stdin.isTTY || !process.stdout.isTTY) return;
|
|
816
|
-
const
|
|
816
|
+
const _certificateDigest_dd1 = createInterface({
|
|
817
817
|
input: process.stdin,
|
|
818
818
|
output: process.stdout
|
|
819
819
|
});
|
|
820
820
|
try {
|
|
821
|
-
await
|
|
821
|
+
await _certificateDigest_dd1.question(_isolateDetectInstallMode_8d39(1395160923 ^ _attestJoin_rns_8d39(__enclaveAttestation_8d39, 10243)));
|
|
822
822
|
} finally {
|
|
823
|
-
|
|
823
|
+
_certificateDigest_dd1.close();
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
826
|
export async function runSetup(options = {}) {
|
|
827
|
-
function
|
|
828
|
-
const _legalAttestation = "
|
|
827
|
+
function auditPath_818(_tok0, _tok1, _tok2, _tok3) {
|
|
828
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:31c30596-c51e7f87]",
|
|
829
829
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
830
830
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
831
831
|
let _h = 2166136261;
|
|
@@ -846,20 +846,20 @@ export async function runSetup(options = {}) {
|
|
|
846
846
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
847
847
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
848
848
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
849
|
-
if ((_h >>> 4 & 15) !==
|
|
849
|
+
if ((_h >>> 4 & 15) !== 9) {
|
|
850
850
|
_h = (_h ^ 3735884599) >>> 0;
|
|
851
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
851
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
852
852
|
}
|
|
853
853
|
return _h;
|
|
854
854
|
}
|
|
855
|
-
const
|
|
856
|
-
function
|
|
855
|
+
const __ProprietaryEnclaveQuorum_818 = auditPath_818(88928289, 204789355, 1464169129, 1062413875);
|
|
856
|
+
function _attestJoin_rns_818(_x, _s) {
|
|
857
857
|
const _u = _x >>> 0,
|
|
858
|
-
_r0 = _u %
|
|
859
|
-
_r1 = _u %
|
|
858
|
+
_r0 = _u % 223,
|
|
859
|
+
_r1 = _u % 229,
|
|
860
860
|
_r2 = _u % 211,
|
|
861
|
-
_r3 = _u %
|
|
862
|
-
_r4 = _u %
|
|
861
|
+
_r3 = _u % 227,
|
|
862
|
+
_r4 = _u % 239;
|
|
863
863
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
864
864
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
865
865
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -877,22 +877,22 @@ export async function runSetup(options = {}) {
|
|
|
877
877
|
}
|
|
878
878
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function _verifyHomedir_vm_818(_bc) {
|
|
881
881
|
const _stk = [];
|
|
882
882
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
883
883
|
const _op = _bc[_pc],
|
|
884
884
|
_a = _bc[_pc + 1],
|
|
885
885
|
_b = _bc[_pc + 2];
|
|
886
|
-
if (_op ===
|
|
887
|
-
_stk.push((
|
|
888
|
-
} else if (_op ===
|
|
886
|
+
if (_op === 200) {
|
|
887
|
+
_stk.push((__ProprietaryEnclaveQuorum_818 >>> 0) % _a ^ _b);
|
|
888
|
+
} else if (_op === 31) {
|
|
889
889
|
const _v = _stk.pop() >>> 0;
|
|
890
890
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
891
|
-
} else if (_op ===
|
|
891
|
+
} else if (_op === 147) {
|
|
892
892
|
const _r = _stk.pop(),
|
|
893
893
|
_l = _stk.pop();
|
|
894
894
|
_stk.push(_l ^ _r);
|
|
895
|
-
} else if (_op ===
|
|
895
|
+
} else if (_op === 93) {
|
|
896
896
|
const _r2 = _stk.pop(),
|
|
897
897
|
_l2 = _stk.pop();
|
|
898
898
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -900,164 +900,164 @@ export async function runSetup(options = {}) {
|
|
|
900
900
|
}
|
|
901
901
|
return _stk[0];
|
|
902
902
|
}
|
|
903
|
-
const
|
|
904
|
-
function
|
|
905
|
-
const _row =
|
|
906
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
903
|
+
const _isDirOnPathAttestation_818 = [[236, 101, 34, 48, 86], [228, 11, 74, 161, 17, 217, 220, 124, 130, 32, 228, 200, 236, 139, 65, 89, 52, 13, 209, 176, 136, 111, 34, 21, 81, 131, 137, 151, 163, 67, 21, 225, 8, 235, 37, 70, 216, 31, 239, 204, 234, 150, 66, 32, 84, 168, 167, 177, 221, 123, 116, 81, 40, 220, 149, 99, 185, 49, 233, 237, 16, 247, 125, 94, 36, 10, 196, 179, 253, 158, 88, 44, 12, 225, 181, 142, 169, 84, 16, 24, 38, 222, 156, 49, 135, 33, 172, 245, 61, 183, 104, 23], [201, 112, 175, 134, 59, 139, 83, 26, 98, 12, 212, 160, 193, 109, 37, 13, 87, 197, 253, 152, 172, 64, 24, 252, 4, 232, 103, 119, 155, 61, 235, 219, 236, 131, 13, 49, 116, 240, 169, 181, 196, 108, 117, 32, 42, 200, 140, 45, 183, 48, 16, 182, 30, 177, 101, 95, 113, 82], [46, 85, 146, 235, 245, 96, 40, 59, 89, 234, 169, 211, 226, 97, 1, 240, 59, 183, 81, 115, 151, 53, 250, 134, 166, 215, 10, 42, 104, 236, 158, 191, 218, 97, 34, 24, 120, 134, 201, 140, 175, 91, 31, 225, 3, 165, 32, 84, 145, 9, 214, 201, 251, 129, 69, 59, 83, 233, 163, 140, 201, 15, 61, 24, 35, 154, 155, 101, 145, 61, 231, 243, 26, 243, 106, 64, 59, 81, 210, 231, 247, 96, 58], [19, 186, 247, 208, 170, 79, 8, 203, 8, 226, 217, 56, 163, 63, 253, 217, 251, 202, 7, 96, 55, 94, 155, 244, 139, 40, 111, 11, 74, 212, 143, 220, 254, 92, 4, 195, 43, 238, 99, 80, 143, 18, 236, 130, 160, 217, 64, 53, 69, 239, 181, 137, 195, 48, 40, 27, 39, 198, 157, 97, 167, 53, 247, 233, 23, 179, 120, 67, 41, 13, 196, 169, 180, 107, 81, 43, 91, 247, 191, 128, 237, 89, 15, 160, 43, 158, 136, 124], [120, 159, 220, 53, 168, 58, 226, 204, 227, 147, 4, 121, 123, 12, 214, 189, 199, 110, 40, 22, 28, 131, 192, 217, 240, 13, 84, 229, 16, 191, 120, 82, 194, 112, 179, 210, 229, 135, 88, 60, 66, 169, 167, 178, 217, 52, 43, 30, 36, 219, 158, 108, 164, 110, 243, 237, 5, 179, 125, 66, 119, 68, 219, 184, 254, 154, 78, 60, 88, 188, 162, 140, 172, 66, 5, 14, 49, 200, 215, 125, 137, 59, 233, 214, 8, 233], [19, 148, 76], [130, 41, 100, 127, 127, 251, 250, 154, 164, 66, 26, 230, 50, 169, 103, 127, 210, 47, 255, 206, 166, 141, 68, 51, 119, 161, 215, 185, 221, 97, 51, 7, 46, 137, 203, 152, 246, 125, 9, 234, 12, 180, 124, 78, 138, 74, 193, 215, 251, 153, 26, 111, 70, 254, 179, 133, 223, 83, 55, 3, 46, 149, 155, 120, 194, 40, 234, 237, 19, 188, 126, 74, 42, 3, 203, 160, 247, 118, 54, 62, 64, 252, 178, 207, 169, 67, 74, 211, 27, 149, 182, 57], [231, 14, 73, 164, 29, 173, 141, 56, 156, 34, 242, 194, 231, 139, 75, 47, 121, 27, 155, 186, 202, 102, 38, 30, 90, 134, 129, 149, 189, 91, 5, 249, 2, 189, 43, 83, 146, 22, 247, 215, 250, 130, 19, 2, 76, 238, 162, 207, 217, 110, 54, 84, 56, 215, 155, 125, 175, 124], [204, 115, 176, 137, 215, 142, 74, 89, 123, 12, 203, 241, 128, 95, 35, 18, 89, 209, 179, 145, 181, 91, 24, 164, 68, 241, 40, 72, 138, 50, 188, 221, 248, 135, 64, 58, 26, 168, 235, 174, 205, 125, 61, 3, 33, 219, 194, 118, 179, 47, 244, 235, 25, 175, 103, 89, 113, 15, 193, 174, 235, 209, 95, 58, 65, 188, 185, 135, 179, 83, 5, 17, 56, 149, 136, 98, 217, 111, 240, 133, 21, 134, 88], [49, 88, 149, 238, 200, 109, 42, 45, 106, 128, 251, 214, 129, 93, 31, 255, 25, 232, 37, 62, 213, 124, 185, 146, 169, 202, 13, 37, 104, 246, 173, 250, 156, 126, 38, 61, 9, 140, 129, 118, 173, 48, 14, 172, 66, 251, 98, 83, 103, 13, 215, 215, 225, 210, 74, 61, 69, 228, 191, 143, 197, 87, 21, 15, 53, 209, 154, 125, 203, 47, 230, 207, 86, 137, 115, 69, 121, 21, 221, 166, 143, 123, 45, 126, 73, 188, 170, 154], [22, 189, 250, 211, 142, 88, 28, 226, 61, 177, 34, 95, 157, 46, 248, 195, 233, 140, 78, 48, 58, 161, 158, 247, 142, 47, 114, 3, 54, 221, 150, 140, 236, 18, 85, 244, 3, 165, 102, 82, 156, 75, 193, 212, 255, 214, 69, 32, 74, 249, 184, 138, 194, 12, 45, 3, 59, 209, 155, 100, 145, 102, 245, 230, 16, 184, 104, 90, 126, 94, 220, 162, 242, 96, 35, 40, 87, 234, 249, 131, 167, 89, 15, 240, 46, 203], [62, 172, 139, 125, 157, 38, 225, 197, 240, 143], [160, 199, 6, 29, 93, 29, 152, 184, 198, 124, 56, 4, 80, 207, 133, 157, 240, 65, 29, 236, 68, 171, 102, 81, 149, 127, 245, 219, 255, 135, 81, 37, 76, 167, 233, 186, 148, 91, 43, 8, 46, 202, 158, 108, 168, 108, 227, 245, 25, 183, 56, 13, 100, 24, 209, 167, 253, 141, 85, 33, 76, 179, 185, 154, 224, 70, 8, 15, 49, 218, 156, 104, 200, 61, 233, 194, 21, 144, 84, 92, 98, 18, 208, 237, 203, 101, 104, 49, 121, 203, 148, 219], [133, 44, 107, 66, 127, 207, 175, 214, 190, 64, 16, 228, 5, 169, 105, 113, 155, 57, 185, 220, 232, 132, 68, 48, 120, 164, 163, 179, 223, 121, 39, 7, 32, 223, 201, 117, 176, 52, 21, 249, 24, 160, 49, 100, 110, 12, 192, 145, 251, 140, 84, 114, 90, 245, 185, 147, 205, 30], [234, 17, 78, 167, 9, 172, 108, 127, 157, 46, 229, 143, 174, 189, 69, 52, 127, 243, 237, 191, 203, 121, 62, 66, 98, 147, 198, 150, 164, 80, 90, 251, 30, 165, 126, 84, 196, 74, 141, 200, 235, 159, 83, 61, 79, 249, 228, 144, 213, 77, 42, 5, 39, 205, 129, 127, 151, 45, 239, 240, 5, 243, 121, 92, 103, 94, 199, 169, 237, 113, 35, 55, 94, 183, 166, 156, 247, 13, 22, 163, 51, 164, 134], [207, 118, 179, 140, 238, 139, 68, 15, 68, 94, 157, 244, 231, 123, 33, 29, 71, 134, 195, 220, 243, 26, 87, 176, 71, 244, 43, 71, 142, 16, 243, 152, 162, 144, 64, 31, 111, 170, 175, 148, 195, 110, 40, 78, 100, 157, 156, 113, 185, 35, 241, 245, 7, 244, 100, 95, 107, 26, 217, 173, 227, 113, 75, 45, 75, 255, 188, 159, 237, 73, 8, 237, 120, 215, 149, 103, 159, 51, 227, 196, 81, 149, 75, 28, 111, 90, 196, 184], [52, 91, 152, 241, 236, 102, 62, 0, 95, 215, 192, 189, 191, 64, 26, 225, 11, 170, 108, 82, 216, 127, 188, 149, 172, 201, 16, 33, 84, 243, 180, 174, 142, 52, 119, 22, 33, 219, 132, 112, 190, 109, 227, 246, 29, 248, 103, 66, 104, 31, 218, 168, 224, 210, 79, 33, 89, 247, 185, 134, 179, 8, 23, 4, 50, 222, 138, 120, 156, 96, 254, 192, 16, 134, 65, 74, 117, 4, 155, 161, 197, 127, 45, 18, 76, 149], [94, 207, 171, 169, 174, 88, 30, 255, 5], [45, 188, 100, 126, 128, 48, 226, 129, 227, 149, 79], [137, 202, 7, 19, 124, 23, 203, 164, 206, 118, 111, 56, 126, 242, 171, 220, 161, 95, 16, 249, 20, 186, 121, 69, 143, 11, 240, 214, 161], [136, 47, 21, 10, 73, 131, 131, 152, 190, 23, 7, 249, 13, 167, 100, 1, 138, 42, 242, 149, 223, 138, 86, 44, 82, 238, 176, 253, 208, 114, 42, 20, 43, 219, 128, 124, 252, 37, 242, 246, 29, 247, 117, 67, 125, 75, 206, 174, 244, 155, 89, 39, 12, 242, 163, 201, 161, 7, 20, 18, 38, 207, 153, 115, 132, 42, 172, 192, 4, 134, 67, 76, 100, 22, 214, 161, 193, 49], [237, 20, 201, 170, 46, 184, 96, 112, 213, 61, 185, 252, 204, 167, 13, 50, 120, 246, 172, 179, 223, 121, 57, 78, 50, 197, 135, 102, 182, 55, 93, 247, 3, 176, 49, 88, 116, 6, 133, 222, 230, 133, 95, 55, 91, 249, 185, 198, 144, 9, 23, 31, 35, 203, 156, 97, 139, 44, 169, 205, 11, 192, 125, 69, 116, 18, 212, 184, 200, 124, 101, 46, 71, 243, 173, 151, 170, 68, 77, 168, 114, 160, 104, 105, 133, 56, 187, 164], [133, 48, 248, 203, 233, 154, 89, 110, 127, 249, 219], [100, 7, 221, 177, 217, 123, 59, 70, 90, 222, 134], [54, 131, 192, 170, 187, 94, 4, 253, 1, 175, 40, 113, 185, 11, 212, 149, 254, 150, 87, 32, 83, 243, 182, 188, 192, 114, 55, 31, 102], [65, 232, 92, 113, 128, 124, 250, 211, 231, 208, 94, 50, 116, 232, 173, 250, 195, 109, 59, 78, 22, 213, 143, 103, 171, 41, 9, 182, 9, 189, 99, 79, 98, 28, 201, 199, 181, 154, 75, 61, 68, 176, 172, 136, 196, 4, 7, 21, 61, 220, 144, 124, 197, 45, 250, 130, 24, 192, 109, 89, 127, 0, 208, 168, 205, 109, 101, 59, 77, 249, 186, 135, 189, 81, 15, 234, 56, 254], [166, 205, 146, 99, 85, 241, 219, 185, 142, 116, 114, 37, 7, 254, 198, 139, 179, 79, 23, 250, 4, 176, 98, 7, 137, 12, 204, 223, 253, 142, 22, 46, 72, 233, 234, 145, 207, 79, 126, 23, 61, 204, 148, 110, 144, 32, 242, 191, 91, 240, 108, 86, 120, 2, 199, 168, 240, 101, 98, 52, 64, 185, 182, 156, 191, 75, 15, 241, 51, 181, 222, 103, 156, 58, 230, 206, 225, 157, 6, 17, 57, 25, 211, 160, 222, 113, 96, 109], [200, 125, 34, 24, 83, 207, 130, 146, 176, 95, 40, 224, 21, 161], [163, 78, 18, 232, 22, 162, 124, 15, 157, 39, 249], [255, 124, 185, 225, 226, 153, 93, 54, 120, 224, 225, 138, 240, 76, 29, 78, 55, 201, 142, 107, 170, 52, 15, 247, 25, 189, 126, 68, 47], [58, 161, 231, 184, 219, 53, 49, 10, 44, 137, 149, 139, 191, 81, 22, 179, 24, 164, 96, 7, 173, 28, 196, 222, 224, 144, 66, 111, 66, 228, 184, 134, 217, 85, 50, 14, 110, 211, 128, 100, 143, 105, 231, 241, 15, 253, 124, 92, 102, 21, 203, 181, 190, 100, 49, 123, 83, 185, 166, 128, 180, 89, 11, 225, 54, 164, 222, 114, 150, 48, 241, 222, 246, 136, 68, 83, 115, 71], [31, 134, 91, 220, 156, 74, 18, 254, 71, 175, 43, 106, 190, 53, 191, 204, 234, 132, 94, 37, 77, 235, 171, 192, 192, 119, 53, 16, 36, 197, 207, 105, 177, 34, 163, 238, 6, 180, 55, 80, 116, 23, 205, 161, 233, 107, 75, 120, 2, 187, 165, 137, 177, 89, 14, 239, 57, 222, 219, 123, 153, 114, 239, 219, 6, 128, 70, 78, 122, 14, 151, 160, 213, 97, 63, 1, 88, 214, 255, 214, 224, 82, 26, 255, 23, 170, 41, 42], [23, 178, 110, 68, 138, 54, 232], [131, 208, 13, 21, 118, 237, 177, 170, 212, 124, 117, 62, 4, 248, 161, 34, 171, 37, 26, 255, 30, 160, 99, 75, 117, 1, 202, 208, 187], [142, 53, 11, 4, 55, 137, 133, 158, 184, 29, 9, 231, 3, 189, 98, 7, 140, 16, 204, 155, 193, 128, 80, 42, 84, 228, 190, 195, 222, 72, 44, 18, 45, 193, 158, 114, 194, 40, 245, 191, 23, 253, 106, 92, 120, 5, 207, 165, 242, 96, 98, 62, 74, 252, 181, 154, 178, 76, 8, 239, 63, 251], [243, 26, 207, 176, 53, 171, 103, 75, 154, 6, 191, 193, 224, 131, 65, 108, 80, 226, 162, 140, 219, 62, 52, 6, 107, 192, 154, 102, 229, 102, 230, 228, 3, 181, 101, 68, 39, 62, 234, 144, 211, 63, 29, 124, 103, 217, 158, 169, 236, 4, 20, 249, 49, 219, 137, 125, 159, 125, 237, 193, 17, 220, 7, 108, 82, 46, 255, 242, 173]];
|
|
904
|
+
function _attestCertificateProof_818(_slot) {
|
|
905
|
+
const _row = _isDirOnPathAttestation_818[_slot];
|
|
906
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__ProprietaryEnclaveQuorum_818 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
907
907
|
}
|
|
908
|
-
if ((
|
|
908
|
+
if ((__ProprietaryEnclaveQuorum_818 & 255) !== 159) {
|
|
909
909
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
910
910
|
}
|
|
911
|
-
const
|
|
912
|
-
if (
|
|
911
|
+
const _cleanedFrame_53f = detectInstallMode();
|
|
912
|
+
if (_cleanedFrame_53f.mode === _attestCertificateProof_818(-538935973 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 25285)) && (Math.imul(Math.imul((88928289 | 0) ^ 122 | 1, (88928289 | 0) ^ 122 | 1), Math.imul((88928289 | 0) ^ 122 | 1, (88928289 | 0) ^ 122 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 23303) & 255) === 168) {
|
|
913
913
|
console.log(`\n Syferit v${SYFERIT_VERSION} is currently running via npm / Node.js.`);
|
|
914
|
-
console.log(
|
|
915
|
-
console.log(
|
|
916
|
-
console.log(
|
|
917
|
-
console.log(
|
|
918
|
-
console.log(
|
|
914
|
+
console.log(_attestCertificateProof_818(-688769214 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 31983)));
|
|
915
|
+
console.log(_attestCertificateProof_818(382982095 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 31713)));
|
|
916
|
+
console.log(_attestCertificateProof_818(564719590 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 2251)));
|
|
917
|
+
console.log(_attestCertificateProof_818(351457573 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 28361)));
|
|
918
|
+
console.log(_attestCertificateProof_818(-1775261878 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 31441)));
|
|
919
919
|
return;
|
|
920
|
-
} else if (
|
|
920
|
+
} else if (_cleanedFrame_53f.mode === _attestCertificateProof_818(-1047625677 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 15577)) && (Math.imul(Math.imul((88928289 | 0) ^ 21 | 1, (88928289 | 0) ^ 21 | 1), Math.imul((88928289 | 0) ^ 21 | 1, (88928289 | 0) ^ 21 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 10247) & 255) === 96) {
|
|
921
921
|
console.log(`\n Syferit v${SYFERIT_VERSION} is currently running via npm / Node.js.`);
|
|
922
|
-
console.log(
|
|
923
|
-
console.log(
|
|
924
|
-
console.log(
|
|
925
|
-
console.log(
|
|
926
|
-
console.log(
|
|
922
|
+
console.log(_attestCertificateProof_818(1681023306 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 30039)));
|
|
923
|
+
console.log(_attestCertificateProof_818(163045951 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 8865)));
|
|
924
|
+
console.log(_attestCertificateProof_818(320317908 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 637)));
|
|
925
|
+
console.log(_attestCertificateProof_818(-1647071603 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 11979)));
|
|
926
|
+
console.log(_attestCertificateProof_818(885094856 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 8937)));
|
|
927
927
|
return;
|
|
928
|
-
} else if (
|
|
928
|
+
} else if (_cleanedFrame_53f.mode === _attestCertificateProof_818(-1141563413 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 8987)) && (Math.imul(Math.imul((88928289 | 0) ^ 94 | 1, (88928289 | 0) ^ 94 | 1), Math.imul((88928289 | 0) ^ 94 | 1, (88928289 | 0) ^ 94 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 21283) & 255) === 148) {
|
|
929
929
|
console.log(`\n Syferit v${SYFERIT_VERSION} is currently running via npm / Node.js.`);
|
|
930
|
-
console.log(
|
|
931
|
-
console.log(
|
|
932
|
-
console.log(
|
|
933
|
-
console.log(
|
|
934
|
-
console.log(
|
|
930
|
+
console.log(_attestCertificateProof_818(-1519054 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 29903)));
|
|
931
|
+
console.log(_attestCertificateProof_818(-1781680661 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 30787)));
|
|
932
|
+
console.log(_attestCertificateProof_818(630803406 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 3401)));
|
|
933
|
+
console.log(_attestCertificateProof_818(-892912699 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 8855)));
|
|
934
|
+
console.log(_attestCertificateProof_818(-248312200 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 2357)));
|
|
935
935
|
return;
|
|
936
936
|
}
|
|
937
|
-
const
|
|
938
|
-
const
|
|
939
|
-
if (
|
|
940
|
-
const targetExe = path.join(
|
|
937
|
+
const _binDirFrame_a = getSyferitBinDir();
|
|
938
|
+
const _keystoreProration_77e = _cleanedFrame_53f.binaryPath;
|
|
939
|
+
if (_cleanedFrame_53f.mode === _attestCertificateProof_818(1974886549 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 23567)) && (Math.imul(Math.imul((88928289 | 0) ^ 98 | 1, (88928289 | 0) ^ 98 | 1), Math.imul((88928289 | 0) ^ 98 | 1, (88928289 | 0) ^ 98 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 27387) & 255) === 46) {
|
|
940
|
+
const targetExe = path.join(_binDirFrame_a, _attestCertificateProof_818(1866397118 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 23447)));
|
|
941
941
|
if (!options.yes && process.stdin.isTTY && process.stdout.isTTY) {
|
|
942
|
-
const ok = await askYesNo(` Register 'syferit' in your Windows User PATH (${
|
|
942
|
+
const ok = await askYesNo(` Register 'syferit' in your Windows User PATH (${_binDirFrame_a})? [Y/n] `, true);
|
|
943
943
|
if (!ok) {
|
|
944
|
-
console.log(
|
|
945
|
-
console.log(
|
|
946
|
-
console.log(` "${
|
|
944
|
+
console.log(_attestCertificateProof_818(-1186515269 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 24945)));
|
|
945
|
+
console.log(_attestCertificateProof_818(-1940619316 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 9163)));
|
|
946
|
+
console.log(` "${_keystoreProration_77e}" protect ./dist --preset v2-quantum-rns\n`);
|
|
947
947
|
if (options.waitBeforeExit) await waitForEnter();
|
|
948
948
|
return;
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
|
-
fs.mkdirSync(
|
|
951
|
+
fs.mkdirSync(_binDirFrame_a, {
|
|
952
952
|
recursive: true
|
|
953
953
|
});
|
|
954
|
-
if (path.resolve(
|
|
955
|
-
fs.copyFileSync(
|
|
954
|
+
if (path.resolve(_keystoreProration_77e).toLowerCase() !== path.resolve(targetExe).toLowerCase()) {
|
|
955
|
+
fs.copyFileSync(_keystoreProration_77e, targetExe);
|
|
956
956
|
}
|
|
957
|
-
const updated = registerWindowsUserPath(
|
|
957
|
+
const updated = registerWindowsUserPath(_binDirFrame_a);
|
|
958
958
|
if (updated) {
|
|
959
959
|
console.log(`\n ✔ Installed syferit.exe → ${targetExe}`);
|
|
960
|
-
console.log(` ✔ Registered ${
|
|
961
|
-
console.log(
|
|
960
|
+
console.log(` ✔ Registered ${_binDirFrame_a} in your Windows User PATH.`);
|
|
961
|
+
console.log(_attestCertificateProof_818(618829829 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 21513)));
|
|
962
962
|
} else {
|
|
963
963
|
console.error(`\n ✖ Could not update Windows User PATH automatically.`);
|
|
964
|
-
console.error(` Add this folder manually to PATH: ${
|
|
965
|
-
process.exitCode = (
|
|
964
|
+
console.error(` Add this folder manually to PATH: ${_binDirFrame_a}\n`);
|
|
965
|
+
process.exitCode = (11963 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 10669) & 65535) / (52360 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 10669) >>> 16 & 65535);
|
|
966
966
|
}
|
|
967
967
|
if (options.waitBeforeExit) await waitForEnter();
|
|
968
968
|
return;
|
|
969
|
-
} else if (
|
|
970
|
-
const targetExe = path.join(
|
|
969
|
+
} else if (_cleanedFrame_53f.mode === _attestCertificateProof_818(1295109852 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 14751)) && (Math.imul(Math.imul((88928289 | 0) ^ 33 | 1, (88928289 | 0) ^ 33 | 1), Math.imul((88928289 | 0) ^ 33 | 1, (88928289 | 0) ^ 33 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 18897) & 255) === 162) {
|
|
970
|
+
const targetExe = path.join(_binDirFrame_a, _attestCertificateProof_818(1999105937 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 3263)));
|
|
971
971
|
if (!options.yes && process.stdin.isTTY && process.stdout.isTTY) {
|
|
972
|
-
const ok = await askYesNo(` Register 'syferit' in your Windows User PATH (${
|
|
972
|
+
const ok = await askYesNo(` Register 'syferit' in your Windows User PATH (${_binDirFrame_a})? [Y/n] `, true);
|
|
973
973
|
if (!ok) {
|
|
974
|
-
console.log(
|
|
975
|
-
console.log(
|
|
976
|
-
console.log(` "${
|
|
974
|
+
console.log(_attestCertificateProof_818(-1905198278 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 8397)));
|
|
975
|
+
console.log(_attestCertificateProof_818(-672306389 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 22023)));
|
|
976
|
+
console.log(` "${_keystoreProration_77e}" protect ./dist --preset v2-quantum-rns\n`);
|
|
977
977
|
if (options.waitBeforeExit) await waitForEnter();
|
|
978
978
|
return;
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
fs.mkdirSync(
|
|
981
|
+
fs.mkdirSync(_binDirFrame_a, {
|
|
982
982
|
recursive: true
|
|
983
983
|
});
|
|
984
|
-
if (path.resolve(
|
|
985
|
-
fs.copyFileSync(
|
|
984
|
+
if (path.resolve(_keystoreProration_77e).toLowerCase() !== path.resolve(targetExe).toLowerCase()) {
|
|
985
|
+
fs.copyFileSync(_keystoreProration_77e, targetExe);
|
|
986
986
|
}
|
|
987
|
-
const updated = registerWindowsUserPath(
|
|
987
|
+
const updated = registerWindowsUserPath(_binDirFrame_a);
|
|
988
988
|
if (updated) {
|
|
989
989
|
console.log(`\n ✔ Installed syferit.exe → ${targetExe}`);
|
|
990
|
-
console.log(` ✔ Registered ${
|
|
991
|
-
console.log(
|
|
990
|
+
console.log(` ✔ Registered ${_binDirFrame_a} in your Windows User PATH.`);
|
|
991
|
+
console.log(_attestCertificateProof_818(723003816 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 4527)));
|
|
992
992
|
} else {
|
|
993
993
|
console.error(`\n ✖ Could not update Windows User PATH automatically.`);
|
|
994
|
-
console.error(` Add this folder manually to PATH: ${
|
|
995
|
-
process.exitCode =
|
|
994
|
+
console.error(` Add this folder manually to PATH: ${_binDirFrame_a}\n`);
|
|
995
|
+
process.exitCode = _verifyHomedir_vm_818([200, 223, 24038, 31, 12, 0, 200, 229, 13284, 93, 0, 0, 200, 223, 98575240, 147, 0, 0]);
|
|
996
996
|
}
|
|
997
997
|
if (options.waitBeforeExit) await waitForEnter();
|
|
998
998
|
return;
|
|
999
|
-
} else if (
|
|
1000
|
-
const targetExe = path.join(
|
|
999
|
+
} else if (_cleanedFrame_53f.mode === _attestCertificateProof_818(1039143583 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 24959)) && (Math.imul(Math.imul((88928289 | 0) ^ 60 | 1, (88928289 | 0) ^ 60 | 1), Math.imul((88928289 | 0) ^ 60 | 1, (88928289 | 0) ^ 60 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 8853) & 255) === 102) {
|
|
1000
|
+
const targetExe = path.join(_binDirFrame_a, _attestCertificateProof_818(1284660220 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 32099)));
|
|
1001
1001
|
if (!options.yes && process.stdin.isTTY && process.stdout.isTTY) {
|
|
1002
|
-
const ok = await askYesNo(` Register 'syferit' in your Windows User PATH (${
|
|
1002
|
+
const ok = await askYesNo(` Register 'syferit' in your Windows User PATH (${_binDirFrame_a})? [Y/n] `, true);
|
|
1003
1003
|
if (!ok) {
|
|
1004
|
-
console.log(
|
|
1005
|
-
console.log(
|
|
1006
|
-
console.log(` "${
|
|
1004
|
+
console.log(_attestCertificateProof_818(-2082959101 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 24393)));
|
|
1005
|
+
console.log(_attestCertificateProof_818(-124420720 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 4075)));
|
|
1006
|
+
console.log(` "${_keystoreProration_77e}" protect ./dist --preset v2-quantum-rns\n`);
|
|
1007
1007
|
if (options.waitBeforeExit) await waitForEnter();
|
|
1008
1008
|
return;
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
|
-
fs.mkdirSync(
|
|
1011
|
+
fs.mkdirSync(_binDirFrame_a, {
|
|
1012
1012
|
recursive: true
|
|
1013
1013
|
});
|
|
1014
|
-
if (path.resolve(
|
|
1015
|
-
fs.copyFileSync(
|
|
1014
|
+
if (path.resolve(_keystoreProration_77e).toLowerCase() !== path.resolve(targetExe).toLowerCase()) {
|
|
1015
|
+
fs.copyFileSync(_keystoreProration_77e, targetExe);
|
|
1016
1016
|
}
|
|
1017
|
-
const updated = registerWindowsUserPath(
|
|
1017
|
+
const updated = registerWindowsUserPath(_binDirFrame_a);
|
|
1018
1018
|
if (updated) {
|
|
1019
1019
|
console.log(`\n ✔ Installed syferit.exe → ${targetExe}`);
|
|
1020
|
-
console.log(` ✔ Registered ${
|
|
1021
|
-
console.log(
|
|
1020
|
+
console.log(` ✔ Registered ${_binDirFrame_a} in your Windows User PATH.`);
|
|
1021
|
+
console.log(_attestCertificateProof_818(-1365553557 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 12811)));
|
|
1022
1022
|
} else {
|
|
1023
1023
|
console.error(`\n ✖ Could not update Windows User PATH automatically.`);
|
|
1024
|
-
console.error(` Add this folder manually to PATH: ${
|
|
1025
|
-
process.exitCode = (
|
|
1024
|
+
console.error(` Add this folder manually to PATH: ${_binDirFrame_a}\n`);
|
|
1025
|
+
process.exitCode = (18303 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 25141) & 65535) / (25818 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 25141) >>> 16 & 65535);
|
|
1026
1026
|
}
|
|
1027
1027
|
if (options.waitBeforeExit) await waitForEnter();
|
|
1028
1028
|
return;
|
|
1029
1029
|
}
|
|
1030
|
-
const
|
|
1030
|
+
const _targetCheck_a97 = path.join(_binDirFrame_a, _attestCertificateProof_818(863215406 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 21237)));
|
|
1031
1031
|
if (!options.yes && process.stdin.isTTY && process.stdout.isTTY) {
|
|
1032
|
-
const ok = await askYesNo(` Install 'syferit' to ${
|
|
1032
|
+
const ok = await askYesNo(` Install 'syferit' to ${_binDirFrame_a} and add it to your shell PATH? [Y/n] `, true);
|
|
1033
1033
|
if (!ok) {
|
|
1034
|
-
console.log(
|
|
1035
|
-
console.log(
|
|
1036
|
-
console.log(` "${
|
|
1034
|
+
console.log(_attestCertificateProof_818(-1102631145 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 22643)));
|
|
1035
|
+
console.log(_attestCertificateProof_818(-647738124 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 921)));
|
|
1036
|
+
console.log(` "${_keystoreProration_77e}" protect ./dist --preset v2-quantum-rns\n`);
|
|
1037
1037
|
return;
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
fs.mkdirSync(
|
|
1040
|
+
fs.mkdirSync(_binDirFrame_a, {
|
|
1041
1041
|
recursive: true
|
|
1042
1042
|
});
|
|
1043
|
-
if (path.resolve(
|
|
1044
|
-
fs.copyFileSync(
|
|
1043
|
+
if (path.resolve(_keystoreProration_77e) !== path.resolve(_targetCheck_a97)) {
|
|
1044
|
+
fs.copyFileSync(_keystoreProration_77e, _targetCheck_a97);
|
|
1045
1045
|
}
|
|
1046
|
-
fs.chmodSync(
|
|
1047
|
-
const
|
|
1048
|
-
console.log(`\n ✔ Installed syferit → ${
|
|
1049
|
-
if (
|
|
1050
|
-
console.log(` ✔ Updated shell profile(s): ${
|
|
1051
|
-
} else if (
|
|
1052
|
-
console.log(` ✔ Updated shell profile(s): ${
|
|
1053
|
-
} else if (
|
|
1054
|
-
console.log(` ✔ Updated shell profile(s): ${
|
|
1046
|
+
fs.chmodSync(_targetCheck_a97, _verifyHomedir_vm_818([200, 223, 5631, 31, 16, 0, 200, 229, 6244, 93, 0, 0, 200, 223, 367401444, 147, 0, 0]));
|
|
1047
|
+
const _pathEnvelope_ce4 = addPathToShellProfiles(_binDirFrame_a);
|
|
1048
|
+
console.log(`\n ✔ Installed syferit → ${_targetCheck_a97}`);
|
|
1049
|
+
if (_pathEnvelope_ce4.length > _verifyHomedir_vm_818([200, 223, 10128, 31, 16, 0, 200, 229, 16179, 93, 0, 0, 200, 223, 663306078, 147, 0, 0]) && (Math.imul(Math.imul((_pathEnvelope_ce4.length | 0) ^ 71 | 1, (_pathEnvelope_ce4.length | 0) ^ 71 | 1), Math.imul((_pathEnvelope_ce4.length | 0) ^ 71 | 1, (_pathEnvelope_ce4.length | 0) ^ 71 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 12805) & 255) === 214) {
|
|
1050
|
+
console.log(` ✔ Updated shell profile(s): ${_pathEnvelope_ce4.join(', ')}`);
|
|
1051
|
+
} else if (_pathEnvelope_ce4.length > _verifyHomedir_vm_818([200, 223, 11499, 31, 7, 0, 200, 229, 16304, 93, 0, 0, 200, 223, 1489117, 147, 0, 0]) && (Math.imul(Math.imul((_pathEnvelope_ce4.length | 0) ^ 70 | 1, (_pathEnvelope_ce4.length | 0) ^ 70 | 1), Math.imul((_pathEnvelope_ce4.length | 0) ^ 70 | 1, (_pathEnvelope_ce4.length | 0) ^ 70 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 17791) & 255) === 246) {
|
|
1052
|
+
console.log(` ✔ Updated shell profile(s): ${_pathEnvelope_ce4.join(', ')}`);
|
|
1053
|
+
} else if (_pathEnvelope_ce4.length > (-293162428 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 9001)) && (Math.imul(Math.imul((_pathEnvelope_ce4.length | 0) ^ 45 | 1, (_pathEnvelope_ce4.length | 0) ^ 45 | 1), Math.imul((_pathEnvelope_ce4.length | 0) ^ 45 | 1, (_pathEnvelope_ce4.length | 0) ^ 45 | 1)) & 15 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 25903) & 255) === 34) {
|
|
1054
|
+
console.log(` ✔ Updated shell profile(s): ${_pathEnvelope_ce4.join(', ')}`);
|
|
1055
1055
|
}
|
|
1056
|
-
console.log(
|
|
1056
|
+
console.log(_attestCertificateProof_818(-223061837 ^ _attestJoin_rns_818(__ProprietaryEnclaveQuorum_818, 19405)));
|
|
1057
1057
|
}
|
|
1058
1058
|
export async function handleNoArgsInteractiveLaunch() {
|
|
1059
|
-
function
|
|
1060
|
-
const _legalAttestation = "
|
|
1059
|
+
function validateCertificateProof_e411(_tok0, _tok1, _tok2, _tok3) {
|
|
1060
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:9817cdd7-5c37a31a]",
|
|
1061
1061
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1062
1062
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1063
1063
|
let _h = 2166136261;
|
|
@@ -1078,20 +1078,20 @@ export async function handleNoArgsInteractiveLaunch() {
|
|
|
1078
1078
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1079
1079
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1080
1080
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1081
|
-
if ((_h >>> 4 & 15) !==
|
|
1081
|
+
if ((_h >>> 4 & 15) !== 6) {
|
|
1082
1082
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1083
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1083
|
+
throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
|
|
1084
1084
|
}
|
|
1085
1085
|
return _h;
|
|
1086
1086
|
}
|
|
1087
|
-
const
|
|
1088
|
-
function
|
|
1087
|
+
const __joinState_e411 = validateCertificateProof_e411(2126423231, 103688423, 142241327, 1864099237);
|
|
1088
|
+
function _auditSignatureCheck_rns_e411(_x, _s) {
|
|
1089
1089
|
const _u = _x >>> 0,
|
|
1090
|
-
_r0 = _u %
|
|
1091
|
-
_r1 = _u %
|
|
1092
|
-
_r2 = _u %
|
|
1093
|
-
_r3 = _u %
|
|
1094
|
-
_r4 = _u %
|
|
1090
|
+
_r0 = _u % 241,
|
|
1091
|
+
_r1 = _u % 229,
|
|
1092
|
+
_r2 = _u % 197,
|
|
1093
|
+
_r3 = _u % 211,
|
|
1094
|
+
_r4 = _u % 223;
|
|
1095
1095
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1096
1096
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
1097
1097
|
_v2 = ((_r2 | _r4 << 8 | _r1 << 16 | _r0 << 24) ^ 857760878) >>> 0,
|
|
@@ -1109,22 +1109,22 @@ export async function handleNoArgsInteractiveLaunch() {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function _authenticateHomeDir_vm_e411(_bc) {
|
|
1113
1113
|
const _stk = [];
|
|
1114
1114
|
for (let _pc = 0; _pc < _bc.length; _pc += 3) {
|
|
1115
1115
|
const _op = _bc[_pc],
|
|
1116
1116
|
_a = _bc[_pc + 1],
|
|
1117
1117
|
_b = _bc[_pc + 2];
|
|
1118
|
-
if (_op ===
|
|
1119
|
-
_stk.push((
|
|
1120
|
-
} else if (_op ===
|
|
1118
|
+
if (_op === 197) {
|
|
1119
|
+
_stk.push((__joinState_e411 >>> 0) % _a ^ _b);
|
|
1120
|
+
} else if (_op === 86) {
|
|
1121
1121
|
const _v = _stk.pop() >>> 0;
|
|
1122
1122
|
_stk.push(_v << _a | _v >>> 32 - _a);
|
|
1123
|
-
} else if (_op ===
|
|
1123
|
+
} else if (_op === 148) {
|
|
1124
1124
|
const _r = _stk.pop(),
|
|
1125
1125
|
_l = _stk.pop();
|
|
1126
1126
|
_stk.push(_l ^ _r);
|
|
1127
|
-
} else if (_op ===
|
|
1127
|
+
} else if (_op === 56) {
|
|
1128
1128
|
const _r2 = _stk.pop(),
|
|
1129
1129
|
_l2 = _stk.pop();
|
|
1130
1130
|
_stk.push(_l2 + _r2 | 0);
|
|
@@ -1132,48 +1132,48 @@ export async function handleNoArgsInteractiveLaunch() {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
return _stk[0];
|
|
1134
1134
|
}
|
|
1135
|
-
const
|
|
1136
|
-
function
|
|
1137
|
-
const _row =
|
|
1138
|
-
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (
|
|
1135
|
+
const _spawnSyncBank_e411 = [[19, 119, 168, 167], [235, 69, 116, 184, 67, 210, 249, 14, 208], [223, 63, 74], [165, 23, 45, 93, 15], [219, 185, 72, 118, 175, 10, 118, 147, 69, 164, 235, 23, 195, 114, 13, 123, 56, 201, 175, 201, 171, 93, 44, 95, 7, 49, 155, 171, 96, 204, 14, 22, 254, 75, 116, 146, 15, 164, 203, 170, 186, 14, 76, 108, 119, 134, 180, 193, 159, 236, 12, 102, 47, 92, 161, 146, 61], [87, 215, 248, 72, 134], [101, 195, 234, 213, 176, 20, 36, 20, 46, 100, 142, 165, 96, 241, 19, 47, 175], [74, 40, 192, 229, 141, 229, 18, 60, 224, 89, 124, 205, 86, 182, 243, 245, 223, 59, 68, 53, 96, 195, 160, 192, 145, 244, 120, 16, 91, 100, 158, 180, 121, 205, 244, 69, 232, 14, 57, 136, 71, 177, 198, 249, 179, 9, 17, 83, 52, 139, 240, 149, 206, 220, 22, 38, 246, 69, 155, 169, 54, 213, 172, 19, 223, 33, 76, 97, 30, 184, 221, 235, 183, 19, 60, 66, 20, 125], [175, 13, 37, 202, 80, 184, 255, 27, 197, 60, 89, 50, 62, 153, 166, 212, 190, 25, 48, 26, 83, 49, 201, 238, 39, 133, 93, 66, 187, 25, 49, 214, 15, 237, 133, 170, 227, 65, 25, 62, 119, 213, 237, 146, 203, 169, 65, 102, 95, 61, 213, 250, 51, 226, 236, 2, 193, 104, 104, 114, 95, 184, 197, 243, 239, 25, 42, 10, 15, 96, 173, 219, 132, 225, 77, 32, 238, 69, 100, 135, 108, 216], [148, 114, 10, 47, 59, 159, 216, 198, 174, 19, 38, 23, 3, 107, 146, 190, 116, 130, 90, 127, 184, 22, 46, 211, 12, 234, 130, 167, 224, 126, 22, 59, 116, 210, 234, 143, 200, 166, 126, 99, 92, 58, 210, 247, 48, 142, 166, 75, 132, 98, 58, 223, 24, 132, 203, 190, 175, 2, 39, 68, 11, 222, 134, 250, 160, 218, 74, 61, 237, 65, 151, 144, 104, 200, 243, 3, 217, 33, 72], [249, 87, 111, 20, 30, 114, 133, 173, 115, 246, 3, 124, 184, 30, 99, 149, 69, 183, 191, 164, 157, 123, 19, 56, 113, 207, 231, 140, 197, 163, 123, 96, 89, 55, 207, 244, 45, 139, 163, 72, 129, 31, 55, 220, 21, 243, 139, 176, 233, 71, 31, 4, 125, 168, 187, 215, 134, 175, 1, 57, 233, 79, 219, 163, 85, 254, 175, 6, 200, 45, 70, 122, 36, 177, 212, 249], [155, 242, 0, 60, 224, 64, 122, 132, 85, 161], [84, 168, 247, 77, 133], [43, 137, 211, 211, 176, 19, 51, 89, 19, 107, 185, 187, 118, 205]];
|
|
1136
|
+
function _auditSignatureCheck_e411(_slot) {
|
|
1137
|
+
const _row = _spawnSyncBank_e411[_slot];
|
|
1138
|
+
return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__joinState_e411 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
|
|
1139
1139
|
}
|
|
1140
|
-
if (process.argv.length >
|
|
1140
|
+
if (process.argv.length > _authenticateHomeDir_vm_e411([197, 241, 10378, 86, 12, 0, 197, 229, 10251, 56, 0, 0, 197, 241, 42395728, 148, 0, 0]) || !process.stdin.isTTY || !process.stdout.isTTY || process.env['CI'] === _auditSignatureCheck_e411(-1447908585 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 24033))) {
|
|
1141
1141
|
return false;
|
|
1142
1142
|
}
|
|
1143
|
-
const
|
|
1144
|
-
if (
|
|
1143
|
+
const _defaultBinCheck_d32 = detectInstallMode();
|
|
1144
|
+
if (_defaultBinCheck_d32.mode === _auditSignatureCheck_e411(-1878279966 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 23743)) && (Math.imul(Math.imul((2126423231 | 0) ^ 127 | 1, (2126423231 | 0) ^ 127 | 1), Math.imul((2126423231 | 0) ^ 127 | 1, (2126423231 | 0) ^ 127 | 1)) & 15 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 917) & 255) === 110) {
|
|
1145
1145
|
return false;
|
|
1146
|
-
} else if (
|
|
1146
|
+
} else if (_defaultBinCheck_d32.mode === _auditSignatureCheck_e411(-841308393 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 31769)) && (Math.imul(Math.imul((2126423231 | 0) ^ 97 | 1, (2126423231 | 0) ^ 97 | 1), Math.imul((2126423231 | 0) ^ 97 | 1, (2126423231 | 0) ^ 97 | 1)) & 15 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 14319) & 255) === 252) {
|
|
1147
1147
|
return false;
|
|
1148
|
-
} else if (
|
|
1148
|
+
} else if (_defaultBinCheck_d32.mode === _auditSignatureCheck_e411(-694337750 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 2823)) && (Math.imul(Math.imul((2126423231 | 0) ^ 107 | 1, (2126423231 | 0) ^ 107 | 1), Math.imul((2126423231 | 0) ^ 107 | 1, (2126423231 | 0) ^ 107 | 1)) & 15 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 19249) & 255) === 208) {
|
|
1149
1149
|
return false;
|
|
1150
1150
|
}
|
|
1151
1151
|
printSyferitBanner();
|
|
1152
|
-
const
|
|
1153
|
-
if (!isDirOnPath(
|
|
1154
|
-
console.log(
|
|
1152
|
+
const _trimAttestation_18b = getSyferitBinDir();
|
|
1153
|
+
if (!isDirOnPath(_trimAttestation_18b)) {
|
|
1154
|
+
console.log(_auditSignatureCheck_e411(1802963441 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 22051)));
|
|
1155
1155
|
await runSetup({
|
|
1156
1156
|
yes: false,
|
|
1157
|
-
waitBeforeExit: process.platform ===
|
|
1157
|
+
waitBeforeExit: process.platform === _auditSignatureCheck_e411(-913410534 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 16285))
|
|
1158
1158
|
});
|
|
1159
1159
|
return true;
|
|
1160
1160
|
}
|
|
1161
1161
|
console.log(` Syferit v${SYFERIT_VERSION} is installed and ready on your system PATH.\n`);
|
|
1162
|
-
console.log(
|
|
1163
|
-
console.log(
|
|
1164
|
-
console.log(
|
|
1165
|
-
console.log(
|
|
1166
|
-
console.log(
|
|
1167
|
-
if (process.platform ===
|
|
1162
|
+
console.log(_auditSignatureCheck_e411(-1393373493 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 31547)));
|
|
1163
|
+
console.log(_auditSignatureCheck_e411(-306776506 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 20293)));
|
|
1164
|
+
console.log(_auditSignatureCheck_e411(214526549 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 16563)));
|
|
1165
|
+
console.log(_auditSignatureCheck_e411(-1102972018 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 23221)));
|
|
1166
|
+
console.log(_auditSignatureCheck_e411(-459090971 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 16479)));
|
|
1167
|
+
if (process.platform === _auditSignatureCheck_e411(1091864086 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 397)) && (Math.imul(Math.imul((2126423231 | 0) ^ 99 | 1, (2126423231 | 0) ^ 99 | 1), Math.imul((2126423231 | 0) ^ 99 | 1, (2126423231 | 0) ^ 99 | 1)) & 15 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 2057) & 255) === 4) {
|
|
1168
1168
|
await waitForEnter();
|
|
1169
|
-
} else if (process.platform ===
|
|
1169
|
+
} else if (process.platform === _auditSignatureCheck_e411(-1126828959 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 25059)) && (Math.imul(Math.imul((2126423231 | 0) ^ 68 | 1, (2126423231 | 0) ^ 68 | 1), Math.imul((2126423231 | 0) ^ 68 | 1, (2126423231 | 0) ^ 68 | 1)) & 15 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 11801) & 255) === 220) {
|
|
1170
1170
|
await waitForEnter();
|
|
1171
|
-
} else if (process.platform ===
|
|
1171
|
+
} else if (process.platform === _auditSignatureCheck_e411(-241126774 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 8613)) && (Math.imul(Math.imul((2126423231 | 0) ^ 24 | 1, (2126423231 | 0) ^ 24 | 1), Math.imul((2126423231 | 0) ^ 24 | 1, (2126423231 | 0) ^ 24 | 1)) & 15 ^ _auditSignatureCheck_rns_e411(__joinState_e411, 14013) & 255) === 164) {
|
|
1172
1172
|
await waitForEnter();
|
|
1173
1173
|
}
|
|
1174
|
-
return (
|
|
1175
|
-
function
|
|
1176
|
-
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:
|
|
1174
|
+
return (__joinState_e411 & 255) === 103 ? true : (() => {
|
|
1175
|
+
function verifyToLowerCase_3176(_tok0, _tok1, _tok2, _tok3) {
|
|
1176
|
+
const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:a3675711-812d8c9b]",
|
|
1177
1177
|
_tokVec = [_tok0, _tok1, _tok2, _tok3],
|
|
1178
1178
|
_t0 = typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
1179
1179
|
let _h = 2166136261;
|
|
@@ -1194,19 +1194,19 @@ export async function handleNoArgsInteractiveLaunch() {
|
|
|
1194
1194
|
if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
|
|
1195
1195
|
const _dt = (typeof performance !== "undefined" ? performance.now() : Date.now()) - _t0;
|
|
1196
1196
|
if (_dt > 2500) _h = (_h ^ 1511516595) >>> 0;
|
|
1197
|
-
if ((_h >>> 4 & 15) !==
|
|
1197
|
+
if ((_h >>> 4 & 15) !== 7) {
|
|
1198
1198
|
_h = (_h ^ 3735884599) >>> 0;
|
|
1199
|
-
throw new Error("ASSERTION_INVARIANT:
|
|
1199
|
+
throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
|
|
1200
1200
|
}
|
|
1201
1201
|
return _h;
|
|
1202
1202
|
}
|
|
1203
|
-
const
|
|
1204
|
-
function
|
|
1203
|
+
const __certificateProof_3176 = verifyToLowerCase_3176(1551697107, 1423626001, 637726489, 1810650349);
|
|
1204
|
+
function _validateTpmFrame_rns_3176(_x, _s) {
|
|
1205
1205
|
const _u = _x >>> 0,
|
|
1206
|
-
_r0 = _u %
|
|
1207
|
-
_r1 = _u %
|
|
1208
|
-
_r2 = _u %
|
|
1209
|
-
_r3 = _u %
|
|
1206
|
+
_r0 = _u % 197,
|
|
1207
|
+
_r1 = _u % 211,
|
|
1208
|
+
_r2 = _u % 227,
|
|
1209
|
+
_r3 = _u % 239,
|
|
1210
1210
|
_r4 = _u % 233;
|
|
1211
1211
|
let _v0 = ((_r0 | _r1 << 8 | _r2 << 16 | _r3 << 24) ^ 1634760805) >>> 0,
|
|
1212
1212
|
_v1 = ((_r4 | _r0 << 8 | _r3 << 16 | _r1 << 24) ^ _s >>> 0) >>> 0,
|
|
@@ -1225,40 +1225,40 @@ export async function handleNoArgsInteractiveLaunch() {
|
|
|
1225
1225
|
}
|
|
1226
1226
|
return (_v0 ^ _v1 ^ _v2 ^ _v3 | 1) >>> 0;
|
|
1227
1227
|
}
|
|
1228
|
-
if ((
|
|
1228
|
+
if ((__certificateProof_3176 & 255) !== 127) {
|
|
1229
1229
|
throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
|
|
1230
1230
|
}
|
|
1231
1231
|
throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
|
|
1232
1232
|
})();
|
|
1233
1233
|
}
|
|
1234
1234
|
if (typeof window !== "undefined") {
|
|
1235
|
-
window.
|
|
1236
|
-
syncEpoch:
|
|
1237
|
-
channelSig: "
|
|
1235
|
+
window.__syferitIPC_2c3f && window.__syferitIPC_2c3f.invoke && window.__syferitIPC_2c3f.invoke("auth:session-lease-sync", {
|
|
1236
|
+
syncEpoch: 502142679,
|
|
1237
|
+
channelSig: "SIG_FRAME_2C3F"
|
|
1238
1238
|
});
|
|
1239
1239
|
}
|
|
1240
|
-
var
|
|
1241
|
-
function
|
|
1242
|
-
let _st =
|
|
1240
|
+
var __syferitDispatch_7cfe = [addPathToShellProfiles, normalizePathEntry, registerWindowsUserPath, handleNoArgsInteractiveLaunch, runSetup, waitForEnter, getSyferitBinDir, askYesNo, isDirOnPath];
|
|
1241
|
+
function __invoke___syferitDispatch_7cfe(_targetIdx, _seed) {
|
|
1242
|
+
let _st = 386,
|
|
1243
1243
|
_acc = _targetIdx;
|
|
1244
|
-
while (_st !==
|
|
1244
|
+
while (_st !== 2250) {
|
|
1245
1245
|
switch (_st) {
|
|
1246
|
-
case
|
|
1247
|
-
_acc = _acc + (((_seed >>> 0) %
|
|
1248
|
-
_st =
|
|
1246
|
+
case 386:
|
|
1247
|
+
_acc = _acc + (((_seed >>> 0) % 211 ^ (_seed >>> 0) % 199) - ((_seed >>> 0) % 211 ^ (_seed >>> 0) % 199));
|
|
1248
|
+
_st = 1520;
|
|
1249
1249
|
break;
|
|
1250
|
-
case
|
|
1251
|
-
_acc = _acc + (
|
|
1252
|
-
_st =
|
|
1250
|
+
case 1520:
|
|
1251
|
+
_acc = _acc + (Math.imul(Math.imul(_seed ^ 28449, 9205) + 573 | 1, Math.imul(_seed ^ 28449, 9205) + 573 | 1) & 7 ^ 1);
|
|
1252
|
+
_st = 2250;
|
|
1253
1253
|
break;
|
|
1254
|
-
case
|
|
1254
|
+
case 1555:
|
|
1255
1255
|
_acc ^= 23063;
|
|
1256
|
-
_st =
|
|
1256
|
+
_st = 2250;
|
|
1257
1257
|
break;
|
|
1258
1258
|
default:
|
|
1259
|
-
_st =
|
|
1259
|
+
_st = 2250;
|
|
1260
1260
|
break;
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
return
|
|
1263
|
+
return __syferitDispatch_7cfe[_acc];
|
|
1264
1264
|
}
|