From 0386c1b224b2bac96c79d2a66a96b9a16f87d921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sat, 8 Aug 2026 20:46:12 +0300 Subject: [PATCH] fix GP APDU builders: INSTALL P1 values (install-make-sel 0x08, reg-update 0x40, extradition 0x10), GET STATUS P2 labels (0x02/03 are v2.3 current), remove invalid SET STATUS P1 0x60 --- index.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index f425431..c394211 100644 --- a/index.html +++ b/index.html @@ -557,10 +557,11 @@
@@ -588,7 +589,6 @@
@@ -1370,13 +1370,13 @@ function genRam() { if (cmd === 'install-load' && !sdAid) { resultEl.value = 'Error: specify SD AID'; return; } - const INSTALL_P1 = { - 'install-load': 0x02, - 'install-install': 0x0C, - 'install-make-sel': 0x10, - 'install-reg-update': 0x01, - 'install-extradition': 0x04, - }; + const INSTALL_P1 = { + 'install-load': 0x02, + 'install-install': 0x0C, + 'install-make-sel': 0x08, + 'install-reg-update': 0x40, + 'install-extradition': 0x10, + }; let apdu = ''; if (cmd === 'install-load') {