nfc-tools / libnfc

Platform independent Near Field Communication (NFC) library
http://nfc-tools.org
GNU Lesser General Public License v3.0
1.69k stars 440 forks source link

Error: Can't write on Mifare 1K key #721

Open michto36 opened 5 months ago

michto36 commented 5 months ago

Hi,

After updating to libnfc 1.8.0 i can't write anymore on Mifare 1K card with nfc-mfclassic but I can write the dump with an application like MCT on android phone.

4bnjqIs

is there a way to fix that ?

Thank you

gbonner commented 4 months ago

I think you're missing a "u"

Looks like you should've types nfc-mfclassic w B u test.dmp test.dmp

There does appear to be an issue writing keys (i.e. changing keys) on the latest 1.8 release, which is fixed if you build from source, but it looks this is fixed if you build from latest source