From 58f82357ac38b46c2743f8b7ac9701bb7aa501fc Mon Sep 17 00:00:00 2001 From: kormax <3392860+kormax@users.noreply.github.com> Date: Fri, 15 May 2026 17:10:13 +0300 Subject: [PATCH 1/3] Add new entries to 'aidlist.json' --- client/resources/aidlist.json | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/client/resources/aidlist.json b/client/resources/aidlist.json index c267f1bfd..cef817f23 100644 --- a/client/resources/aidlist.json +++ b/client/resources/aidlist.json @@ -2526,7 +2526,10 @@ "Name": "MARTA Breeze transit card", "Description": "DESFire-based transit card", "Type": "transport", - "Protocol": "mifare_desfire" + "Protocol": "mifare_desfire", + "Sources": [ + "android://com.google.android.gms" + ] }, { "AID": "A00000039656434103F8852200000000", @@ -2552,6 +2555,30 @@ "android://com.google.android.gms" ] }, + { + "AID": "A00000039656434103F210C000000000", + "Vendor": "Ubian", + "Country": "Slovakia", + "Name": "Ubian digital transit card (Secondary)", + "Description": "DESFire-based virtual transit card secondary application", + "Type": "transport", + "Protocol": "mifare_desfire", + "Sources": [ + "android://com.google.android.gms" + ] + }, + { + "AID": "A00000F210F0", + "Vendor": "PTV", + "Country": "Australia", + "Name": "Myki transit card (Secondary)", + "Description": "DESFire-based transit card secondary application", + "Type": "transport", + "Protocol": "mifare_desfire", + "Sources": [ + "android://com.google.android.gms" + ] + }, { "AID": "A00000F21100", "Vendor": "PTV", @@ -2574,7 +2601,7 @@ "Protocol": "mifare_desfire" }, { - "AID": "637001ff574d415441", + "AID": "637001FF574D415441", "Vendor": "Cubic", "Country": "United States", "Name": "Smart Trip", @@ -2586,7 +2613,7 @@ ] }, { - "AID": "637001ff434c4950504552", + "AID": "637001FF434C4950504552", "Vendor": "Cubic", "Country": "United States", "Name": "Clipper", From 6b397b67bee7840e44faf9aa3f375f77cc8c23c5 Mon Sep 17 00:00:00 2001 From: kormax <3392860+kormax@users.noreply.github.com> Date: Fri, 15 May 2026 17:13:25 +0300 Subject: [PATCH 2/3] Add DESFire AID to extras in 'aidlist.json' --- client/resources/aidlist.json | 35 ++++++++++++++++++++++++++++++++++- doc/aidlist.md | 19 +++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) diff --git a/client/resources/aidlist.json b/client/resources/aidlist.json index cef817f23..0275a2ce9 100644 --- a/client/resources/aidlist.json +++ b/client/resources/aidlist.json @@ -2503,6 +2503,9 @@ "Description": "DESFire-based transit card", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F213F0" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2515,6 +2518,9 @@ "Description": "DESFire-based transit card", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F21420" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2527,6 +2533,9 @@ "Description": "DESFire-based transit card", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F21450" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2539,6 +2548,9 @@ "Description": "DESFire-based virtual transit card", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F88522" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2551,6 +2563,9 @@ "Description": "DESFire-based transit card", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "010000" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2563,6 +2578,9 @@ "Description": "DESFire-based virtual transit card secondary application", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F210C0" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2575,6 +2593,9 @@ "Description": "DESFire-based transit card secondary application", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F210F0" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2587,6 +2608,9 @@ "Description": "DESFire-based transit card", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F21100" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2598,7 +2622,10 @@ "Name": "LA Tap", "Description": "DESFire-based transit card (ASCII cp\\x01\\xffLA)", "Type": "transport", - "Protocol": "mifare_desfire" + "Protocol": "mifare_desfire", + "Extras": { + "AID": "000001" + } }, { "AID": "637001FF574D415441", @@ -2608,6 +2635,9 @@ "Description": "DESFire-based transit card (ASCII cp\\x01\\xffWMATA)", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "000001" + }, "Sources": [ "android://com.google.android.gms" ] @@ -2620,6 +2650,9 @@ "Description": "DESFire-based transit card (ASCII cp\\x01\\xffCLIPPER)", "Type": "transport", "Protocol": "mifare_desfire", + "Extras": { + "AID": "F21191" + }, "Sources": [ "android://com.google.android.gms" ] diff --git a/doc/aidlist.md b/doc/aidlist.md index 7c00809a5..f1f509fe1 100644 --- a/doc/aidlist.md +++ b/doc/aidlist.md @@ -49,6 +49,9 @@ Each entry in `client/resources/aidlist.json` must contain all of the fields bel #### `cna_calypso`: - `LID`: Calypso Long Identifier as a 4-character uppercase hex string, no spaces or separators. Use this when a Calypso AID/DF Name is known to correspond to a specific MF or DF LID. +#### `mifare_desfire`: +- `AID`: MIFARE DESFire application identifier as a 6-character uppercase hex string, no spaces or separators. Use the same byte order and notation as `client/resources/aid_desfire.json` when an ISO/IEC 7816 AID entry is known to correspond to a specific DESFire application. + ## Examples Simple entry: @@ -108,3 +111,19 @@ Extras example: } } ``` + +MIFARE DESFire extras example: +```json +{ + "AID": "A00000039656434103F213F000000000", + "Vendor": "ORCA", + "Country": "United States", + "Name": "ORCA transit card", + "Description": "DESFire-based transit card", + "Type": "transport", + "Protocol": "mifare_desfire", + "Extras": { + "AID": "F213F0" + } +} +``` From 4479f2e921df5206c3b6a86592161799e1fba951 Mon Sep 17 00:00:00 2001 From: kormax <3392860+kormax@users.noreply.github.com> Date: Fri, 15 May 2026 17:18:05 +0300 Subject: [PATCH 3/3] Add DESFire ISOFID to extras in 'aidlist.json' --- client/resources/aidlist.json | 33 ++++++++++++++++++++++----------- doc/aidlist.md | 4 +++- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/client/resources/aidlist.json b/client/resources/aidlist.json index 0275a2ce9..5276439aa 100644 --- a/client/resources/aidlist.json +++ b/client/resources/aidlist.json @@ -2504,7 +2504,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F213F0" + "AID": "F213F0", + "ISOFID": "EA00" }, "Sources": [ "android://com.google.android.gms" @@ -2519,7 +2520,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F21420" + "AID": "F21420", + "ISOFID": "F214" }, "Sources": [ "android://com.google.android.gms" @@ -2534,7 +2536,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F21450" + "AID": "F21450", + "ISOFID": "EA00" }, "Sources": [ "android://com.google.android.gms" @@ -2549,7 +2552,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F88522" + "AID": "F88522", + "ISOFID": "8522" }, "Sources": [ "android://com.google.android.gms" @@ -2564,7 +2568,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "010000" + "AID": "010000", + "ISOFID": "000E" }, "Sources": [ "android://com.google.android.gms" @@ -2579,7 +2584,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F210C0" + "AID": "F210C0", + "ISOFID": "10C0" }, "Sources": [ "android://com.google.android.gms" @@ -2594,7 +2600,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F210F0" + "AID": "F210F0", + "ISOFID": "02E0" }, "Sources": [ "android://com.google.android.gms" @@ -2609,7 +2616,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F21100" + "AID": "F21100", + "ISOFID": "01E0" }, "Sources": [ "android://com.google.android.gms" @@ -2624,7 +2632,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "000001" + "AID": "000001", + "ISOFID": "0001" } }, { @@ -2636,7 +2645,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "000001" + "AID": "000001", + "ISOFID": "0001" }, "Sources": [ "android://com.google.android.gms" @@ -2651,7 +2661,8 @@ "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F21191" + "AID": "F21191", + "ISOFID": "2119" }, "Sources": [ "android://com.google.android.gms" diff --git a/doc/aidlist.md b/doc/aidlist.md index f1f509fe1..49b19d53d 100644 --- a/doc/aidlist.md +++ b/doc/aidlist.md @@ -51,6 +51,7 @@ Each entry in `client/resources/aidlist.json` must contain all of the fields bel #### `mifare_desfire`: - `AID`: MIFARE DESFire application identifier as a 6-character uppercase hex string, no spaces or separators. Use the same byte order and notation as `client/resources/aid_desfire.json` when an ISO/IEC 7816 AID entry is known to correspond to a specific DESFire application. +- `ISOFID`: ISO/IEC 7816 file identifier associated with the DESFire application as a 4-character uppercase hex string, no spaces or separators. ## Examples @@ -123,7 +124,8 @@ MIFARE DESFire extras example: "Type": "transport", "Protocol": "mifare_desfire", "Extras": { - "AID": "F213F0" + "AID": "F213F0", + "ISOFID": "EA00" } } ```