timmerk / libfreefare

Automatically exported from code.google.com/p/libfreefare
Other
0 stars 0 forks source link

MIFARE Classic: return permisson denied error when applicable #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by project member romuald@libnfc.org, Sep 30, 2012
If you are authenticated on a sector but the requested MIFARE cmd (read, write) 
is not permitted by current access bytes, libfreefare should return "permission 
denied" error.

http://www.libnfc.org/community/topic/760/scl3711-mfclassic-dump-problem-chip-er
ror-invalid-received-frame/

Original issue reported on code.google.com by yob...@gmail.com on 15 Jan 2013 at 8:09

GoogleCodeExporter commented 9 years ago
Original report: https://code.google.com/p/nfc-tools/issues/detail?id=101

Original comment by yob...@gmail.com on 15 Jan 2013 at 8:10

GoogleCodeExporter commented 9 years ago
Please do not return an EACCES in this case but rather an EPERM. EACCES is 
already used for "authentication failed".

Original comment by fuz...@gmail.com on 18 Mar 2014 at 2:15