diff --git a/README.md b/README.md index d36d1f7..cb3324f 100644 --- a/README.md +++ b/README.md @@ -624,9 +624,9 @@ The **Scripts** pill manages named APDU lists stored in `localStorage` (`simple_ | Template | What it builds | |---|---| | **Empty** | an empty list | -| **Explore** | the reference administration sequence (`GET DATA FF21`, GET STATUS ISD/ELF/application listings, `GET DATA 0085`); long listings auto-continue through `SW 6310/CAFE` pages | +| **Explore ISD** | the reference administration sequence (`GET DATA FF21`, GET STATUS ISD/ELF/application listings, `GET DATA 0085`); long listings auto-continue through `SW 6310/CAFE` pages | | **Install from .cap** | INSTALL [for load] → LOAD ×N → INSTALL [for install] from a `.cap` (optional SD AID, install/STK parameters, make selectable) via `POST /api/scp81/gen-install`; the file is only used to generate the APDUs — it is not stored, not even its name | -| **Delete** | DELETE APDUs from an AID list (one per line) with P2 = object only / object and related objects | +| **Delete AID** | DELETE APDUs from an AID list (one per line) with P2 = object only / object and related objects | The table lists each script with kind, APDU count and creation time; **Edit** opens the name + APDU editor and **Delete** removes it. Over a session the server serves one C-APDU per card POST and tracks execution: the card reports status in its next POST (`X-Admin-Script-Status`), a session that dies resends only the unexecuted APDUs (`X-Admin-Resume` continues, a fresh dialog restarts), and a completed script is closed with `204 No Content`. The Remote APDU → **RAM/GP** builder can feed a command chain straight into the run with **Queue in SCP81**. diff --git a/README_RUS.md b/README_RUS.md index 29a29e6..45a0a78 100644 --- a/README_RUS.md +++ b/README_RUS.md @@ -595,9 +595,9 @@ Delivery PoR (SPI2 `01`) проще — карта возвращает PoR на | Шаблон | Что строит | |---|---| | **Empty** | пустой список | -| **Explore** | эталонная административная последовательность (`GET DATA FF21`, листинги GET STATUS ISD/ELF/приложений, `GET DATA 0085`); длинные листинги автоматически продолжаются страницами `SW 6310/CAFE` | +| **Explore ISD** | эталонная административная последовательность (`GET DATA FF21`, листинги GET STATUS ISD/ELF/приложений, `GET DATA 0085`); длинные листинги автоматически продолжаются страницами `SW 6310/CAFE` | | **Install from .cap** | INSTALL [for load] → LOAD ×N → INSTALL [for install] из `.cap` (опционально SD AID, параметры install/STK, make selectable) через `POST /api/scp81/gen-install`; файл используется только для генерации APDU — он не сохраняется, как и его имя | -| **Delete** | APDU DELETE из списка AID (по одному в строке) с P2 = object only / object and related objects | +| **Delete AID** | APDU DELETE из списка AID (по одному в строке) с P2 = object only / object and related objects | Таблица показывает имя, тип, число APDU и время создания каждого скрипта; **Edit** открывает редактор имени и списка APDU, **Delete** удаляет скрипт. В ходе сессии сервер отдаёт по одному C-APDU на каждый POST карты и отслеживает выполнение: карта сообщает статус в следующем POST (`X-Admin-Script-Status`), оборвавшаяся сессия досылает только невыполненные APDU (`X-Admin-Resume` продолжает, новый диалог начинает заново), а завершённый скрипт закрывается ответом `204 No Content`. Конструктор RAM/GP вкладки Remote APDU может отправить цепочку команд прямо в прогон кнопкой **«В очередь SCP81»**. diff --git a/docs/api.md b/docs/api.md index 39ec2f0..5ff5de9 100644 --- a/docs/api.md +++ b/docs/api.md @@ -788,7 +788,7 @@ Keys are never stored or logged. {"action": "start", "mode": "tls", "host": "127.0.0.1", "port": 8443, "psk_map": [{"identity": "89012345678901234567", "psk_hex": "00112233445566778899aabbccddeeff"}], - "script": ["80CAFF2100", "80F28002024F0000"], "script_kind": "Explore"} + "script": ["80CAFF2100", "80F28002024F0000"], "script_kind": "Explore ISD"} ``` `script` is the APDU list served to the card (an explicit list, or `none`); @@ -873,7 +873,7 @@ Returns the configured command script and the execution state: ```json {"script": ["80CAFF2100", "80F28002024F0000"], "next": 2, "total": 2, - "done": [0, 1], "kind": "Explore", + "done": [0, 1], "kind": "Explore ISD", "pending": {"index": 17, "pos": null, "page": true, "apdu": "80F28003024F0000"}, "pages": 11, "pages_queued": 0, "complete": false, "results": [{"index": 1, "pos": 0, "page": false, "sw": "9000", diff --git a/frontend/help-ru.html b/frontend/help-ru.html index ac3dadb..089e818 100644 --- a/frontend/help-ru.html +++ b/frontend/help-ru.html @@ -338,9 +338,9 @@
Именованные списки APDU хранятся локально (simple_scripts) и передаются серверу при старте слушателя. Каждый список — последовательность hex C-APDU (по одной в строке; допускаются комментарии #/;). Кнопка Новый создаёт список из шаблона:
GET DATA FF21, листинги GET STATUS ISD/ELF/приложений, GET DATA 0085); длинные листинги автоматически продолжаются страницами SW 6310/CAFE.GET DATA FF21, листинги GET STATUS ISD/ELF/приложений, GET DATA 0085); длинные листинги автоматически продолжаются страницами SW 6310/CAFE..cap, при необходимости SD AID, параметры install/STK и Make selectable; кнопка Сгенерировать строит INSTALL [for load] → LOAD ×N → INSTALL [for install]. Файл используется только для генерации APDU — он не сохраняется, как и его имя.Таблица показывает имя, тип, число APDU и время создания каждого скрипта, а также кнопки Редактировать и Удалить; в редакторе есть поле имени и текстовая область APDU. В ходе сессии сервер отдаёт по одному C-APDU на каждый POST карты и отслеживает выполнение: карта сообщает статус в следующем POST (X-Admin-Script-Status), оборвавшаяся сессия досылает только невыполненные APDU (X-Admin-Resume продолжает, новый диалог начинает заново), а завершённый скрипт закрывается ответом 204 No Content. Конструктор RAM/GP вкладки Remote APDU может отправить цепочку команд прямо в прогон кнопкой «В очередь SCP81».
Named APDU lists stored locally (simple_scripts) and sent to the server when a listener starts. Each list is a sequence of hex C-APDUs (one per line; #/; comments allowed). New creates one from a template:
GET DATA FF21, GET STATUS ISD/ELF/application listings, GET DATA 0085); long listings auto-continue through the SW 6310/CAFE pages.GET DATA FF21, GET STATUS ISD/ELF/application listings, GET DATA 0085); long listings auto-continue through the SW 6310/CAFE pages..cap plus optional SD AID, install/STK parameters and make selectable; Generate builds INSTALL [for load] → LOAD ×N → INSTALL [for install]. The file is only used to generate the APDUs — it is not stored, not even its name.The table lists each script with its kind, APDU count and creation time, plus Edit and Delete; the editor has a name field and the APDU textarea. Over a session the server serves one C-APDU per card POST and tracks execution: the card reports status in its next POST (X-Admin-Script-Status), a session that dies resends only the unexecuted APDUs (X-Admin-Resume continues, a fresh dialog restarts), and a completed script is closed with 204 No Content. The Remote APDU tab's RAM/GP builder can feed a command chain straight into the run with Queue in SCP81.