feat: card-specific ADF AID helper + priority default (v3.6.16)
- the ADF AID field gains a "From card" button: it reads the ADF.USIM FCI via /api/select and extracts the DF name (tag 84) with the new adfAidFromFci() - the AID is card-specific (the live card's is A0000000871002FF49FF0589, 12 bytes; the base A0000000871002 is only a prefix, and a shorter AID makes the card reject the access entry with 6A80). - the priority field defaults to 255 (0xFF) and is labelled "(0 = RFU)": TS 102 226 8.2.1.3.2.6 makes '00' RFU, which can break the toolkit registration; the builder defaults an unset priority to 0xFF and the chain rows follow. - stkParamsBuild's formatted payload fields are uppercase now (the rest of the tool's hex is; toString(16) emits lowercase). - tests: adfAidFromFci pinned to the live FCI, the From-card wiring, the updated form expectations. 643 frontend / 496 Python green; version 3.6.16; sw simple-v289.
This commit is contained in:
@@ -31,7 +31,7 @@ from osmocom.tlv import BER_TLV_IE
|
||||
from osmocom.utils import rpad
|
||||
|
||||
|
||||
VERSION = '3.6.15'
|
||||
VERSION = '3.6.16'
|
||||
|
||||
MAX_ENVELOPE_SEGMENTS = 5 # max SMS segments for outgoing C-APDU in ENVELOPE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user