patsys / desfire-python

MIT License
19 stars 5 forks source link

Changing the PICC master key #1

Closed bahadiryildirim closed 2 years ago

bahadiryildirim commented 4 years ago

Is there any code in this library to change the PICC master key? If yes, how can I do? I have done some review on your codes. However, it only contains information about changing application keys. Can you help me with this case?

raul215 commented 4 years ago

I get a integrity error everytime I try to Changekey from Default to any other. Can I get a bit of help. @patsys?

patsys commented 4 years ago

@bahadiryildirim PICC Master Key should be Key Slot 0. @raul215 Have you authenticate with the default key before try to change this.

I have add a Second Example this change the default PICC Master key https://github.com/patsys/desfire-python/blob/master/example2.py#L87-L100