abobija/esp-idf-rc522

authenticate function

amoopoori opened this issue · 1 comments

Hi
When we use authenticate function for a card , we must determine KeyA.
keyA len is 6 bytes.
Default keyA is 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF.
But this is not a good idea in terms of security.
Because hackers can clone my card.
For this reason, I have changed keyA value in my project.

When you read the serial number you have to define keyA value.
So you must have defined keyA value somewhere in your library
Where in this library have you defined the value of keyA ( or even keyB )???????????

That should be defined in your app, not in the library.