/** * AR: **المفاتيح العامّة التي تتحقّق بها الواجهة من توقيع WasmSoft.** * * ‎doctor‎ يتحقّق من توقيع ‎updates/versions.json‎، والتحقّق يحتاج مفتاحًا **لا يأتي من الحزمة * التي يفحصها**: مفتاحٌ مقروءٌ من الشجرة المفحوصة يجعل الفحص دائريًّا — من يبدّل الملفّات يبدّل * المفتاح الذي يشهد لها، فيجيب ‎doctor‎ «سليم» عن شجرةٍ كتبها غيرنا. * * فالمفتاح هنا، داخل الحزمة المنشورة على ‎npm‎، يصل الفنّي بقناةٍ مستقلّة عن الحزمة التي * يفحصها. وهو **عامّ بتعريفه**: يتحقّق ولا يوقّع، فوجوده هنا لا يمنح أحدًا شيئًا. * * **وقائمة لا قيمة واحدة.** يوم يُدوَّر مفتاح التوقيع لن تُحدَّث كل الأجهزة في لحظة، فتتعايش * حزمٌ موقَّعة بالقديم وأخرى بالجديد. القائمة تجعل ذلك اليوم إضافةَ سطرٍ وحذفَه بعد انقضاء * فترة التداخل، لا انقطاعًا يصيب كل من لم يحدّث بعد. * * EN: **The public keys the CLI verifies WasmSoft's signature with.** * * `doctor` verifies the signature on `updates/versions.json`, and verifying needs a key that * **does not come from the bundle being checked**: a key read from the inspected tree makes the * check circular — whoever swaps the files swaps the key that vouches for them, and `doctor` * answers "sound" about a tree somebody else wrote. * * So the key lives here, inside the package published to npm, reaching the technician through a * channel independent of the bundle they are inspecting. And it is **public by definition**: it * verifies and cannot sign, so its presence here grants nobody anything. * * **A list rather than one value.** The day the signing key is rotated, the whole field will not * update in one moment, and bundles signed with the old key will coexist with bundles signed * with the new. A list makes that day one line added and, after the overlap, one line removed — * rather than an outage for everyone who has not updated yet. */ /** * AR: مفاتيح التوقيع المقبولة، SPKI بصيغة base64. أوّلها هو الحالي. * يجب أن تطابق ما يوقّع به المركز — ‎GET /api/keys/public‎ و‎bundle.config.json‎ في مستودع * المنتج يحملان القيمة نفسها. * EN: The accepted signing keys, base64 SPKI. The first is the current one. These must match what * the centre signs with — `GET /api/keys/public` and the product repository's * `bundle.config.json` carry the same value. */ export declare const RELEASE_PUBLIC_KEYS: readonly string[]; /** * AR: **مفتاح الرخص، مستقلًّا عن مفاتيح الإصدار (014 P2، research R19).** المشرف يتحقّق به من ‎license.json‎ ليحكم على * الرخصة بنفسه ويقارن حكمه بحكم النواة. القيمة اليوم هي نفسها في ‎RELEASE_PUBLIC_KEYS‎ و‎bundle.config.json‎؛ ثابتٌ * مستقلّ كي يفصل P5 المفتاحين بتغيير سطرٍ واحد. ويجب أن يطابق ‎licensePublicKey‎ في مستودع المنتج. * EN: **The licence key, separate from the release keys (014 P2, research R19).** The supervisor verifies `license.json` * with it to judge the licence itself and compare its verdict with the core's. Today the value equals * `RELEASE_PUBLIC_KEYS` and `bundle.config.json`; a separate constant so P5 can split the two by changing one line. * It must match `licensePublicKey` in the product repository. */ export declare const LICENSE_PUBLIC_KEY = "MCowBQYDK2VwAyEAdcC3p2qEeuILiyjSnHpU5N1uI4HiT0FGRYQJHayj72s="; //# sourceMappingURL=trust-anchor.d.ts.map