From: merlokk Date: Wed, 1 Nov 2017 16:22:03 +0000 (+0200) Subject: revert SAK check X-Git-Tag: v3.1.0~133^2~8 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/7376da5c44ac5d33c3515730f7213a64d51d696a?ds=sidebyside revert SAK check --- diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index 7d484015..33db9f22 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -1820,9 +1820,8 @@ int iso14443a_select_card(byte_t *uid_ptr, iso14a_card_select_t *p_hi14a_card, u p_hi14a_card->sak = sak; } - // non iso14443a compliant tag - // https://www.nxp.com/docs/en/application-note/AN10834.pdf page 7 - if( (sak & 0x20) != 0) return 2; + // PICC compilant with iso14443a-4 ---> (SAK & 0x20 != 0) + if( (sak & 0x20) == 0) return 2; if (!no_rats) { // Request for answer to select