kriwkrow
kriwkrow

Reputation: 261

Using Mifare DESFire for authenticating with Android app and lock system

I have browsed a lot of related questions and answers, have gained approximate understanding on how that might work, but I just need someone pointing me towards the right direction regarding DESFire master and application keys as well the multiple application system.

My questions are as follows:

  1. Are the "applications" of DESFire as different real-life applications, meaning that an application on DESFire can be mapped to a certain real-life application like authenticating personal computer, opening doors at your workplace and proceeding with an online payment?
  2. If so, what should I keep generally in mind designing a solution with DESFire?
  3. How should I generate and store the keys? Single card would be used for a booking system at my workplace and opening doors at home. There is no intent of designing a custom NFC-enabled door-lock system, something available on the marked would be used instead. Suggestions of systems are welcome here as well.
  4. Door locks have NFC terminals, can someone with experience explain me a bit to what extent the terminals can be configured? Are they just storing the master and application keys or it is possible to define custom authentication algorithm usually? How?

So far I've decided to use the Mifare SDK Advanced for Android to handle the writing and also authenticating the card in one of it's applications. Any opinions on that?

Thanks!

Upvotes: 1

Views: 1159

Answers (1)

LaurentY
LaurentY

Reputation: 7653

DESFIRE card are Storage card. You could store data in records. Records are stored in application.

Each card could have 28 applications. Each application could have 16 files. File is defined with 5 types: - Standard Data Files - Backup Data Files - Value Files with - Linear Record Files with Backup - Cyclic Record Files with Backup

All application could be secured by key.

So there's no real life app. But you can store data as you want on it. For instance data for :

  • wallet
  • Authentication

Keep in mind, specifications are confidential and you need a NDA to get it.

Upvotes: 1

Related Questions