check PPSE instead of PSE and vice versa. I have one card with this strange behavior...
This commit is contained in:
@@ -829,6 +829,12 @@ static int CmdEMVExec(const char *Cmd) {
|
||||
PrintAndLogEx(NORMAL, "\n* PPSE.");
|
||||
SetAPDULogging(showAPDU);
|
||||
res = EMVSearchPSE(channel, activateField, true, psenum, decodeTLV, tlvSelect);
|
||||
|
||||
// check PPSE instead of PSE and vice versa
|
||||
if (res) {
|
||||
PrintAndLogEx(NORMAL, "Check PPSE instead of PSE and vice versa...");
|
||||
res = EMVSearchPSE(channel, false, true, psenum == 1 ? 2 : 1, decodeTLV, tlvSelect);
|
||||
}
|
||||
|
||||
// check PPSE and select application id
|
||||
if (!res) {
|
||||
|
||||
Reference in New Issue
Block a user