diff --git a/frontend/index.html b/frontend/index.html index dd430f1..bff6379 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -18,7 +18,7 @@
-

OTAMan SIM OTA with a Human Face v2.1.12

+

OTAMan SIM OTA with a Human Face v2.1.13

@@ -1006,6 +1006,15 @@
+
+ + +
+
+ + +
+
@@ -7402,6 +7411,9 @@ async function scp81QueueCapInstall() { const resp = await pysimFetch('/api/scp81/ram-install', { cap_hex: capHex, sd_aid: (document.getElementById('scp81-cap-sd').value || '').replace(/[^0-9a-fA-F]/g, ''), + install_params: (document.getElementById('scp81-cap-params').value || '').replace(/[^0-9a-fA-F]/g, ''), + stk_params: (document.getElementById('scp81-cap-stk').value || '').replace(/[^0-9a-fA-F]/g, ''), + make_selectable: document.getElementById('scp81-cap-makesel').checked, }); if (resp.ok) { scp81Msg(t('Queued') + ': ' + resp.apdus + ' ' + t('APDUs') + ' (' + @@ -9890,6 +9902,9 @@ const LANG_RU = { 'Select a card preset with keys first (RAM subtab → Card preset)': 'Сначала выберите пресет карты с ключами (RAM → Пресет карты)', 'Select a .cap file': 'Выберите файл .cap', 'RAM install (CAP file)': 'RAM-установка (файл CAP)', + 'Install parameters (hex, optional)': 'Параметры установки (hex, опционально)', + 'STK parameters (hex, optional)': 'STK-параметры (hex, опционально)', + 'Make selectable': 'Сделать выбираемым', 'Queue CAP install': 'Поставить установку CAP в очередь', 'Queued': 'В очереди', 'APDUs': 'APDU', diff --git a/frontend/sw.js b/frontend/sw.js index 2ca4573..e7db97c 100644 --- a/frontend/sw.js +++ b/frontend/sw.js @@ -1,4 +1,4 @@ -const CACHE = 'otaman-v149'; +const CACHE = 'otaman-v150'; const URLS = [ 'index.html', 'help.html', diff --git a/pyproject.toml b/pyproject.toml index 3520a70..c72ebdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pysim-otaman-server" -version = "2.1.12" +version = "2.1.13" description = "HTTP REST server wrapping pysim for the OTAMan PWA" requires-python = ">=3.8" # pysim is a git-only dependency installed explicitly by setup.bat/setup.sh. diff --git a/pysim_otaman_server/server.py b/pysim_otaman_server/server.py index bcf25b5..0e11297 100644 --- a/pysim_otaman_server/server.py +++ b/pysim_otaman_server/server.py @@ -21,7 +21,7 @@ from osmocom.construct import GsmOrUcs2Adapter from osmocom.tlv import BER_TLV_IE -VERSION = '2.1.12' +VERSION = '2.1.13' MAX_ENVELOPE_SEGMENTS = 5 # max SMS segments for outgoing C-APDU in ENVELOPE