Smart cards & NFC
Smart card & NFC engineering.
We design and build the card side of systems people tap, swipe or show at a door: the data layout and key scheme on the chip, the readers and turnstiles it talks to, the line that personalizes and prints it, and the software behind all of it. We have been doing smart card work for about 15 years.
It is usually for universities and schools, gyms and clubs, access control and transit operators, and card bureaus.
What we do
Five areas, in plain terms
Each one starts with the problem it exists to solve, then lists what actually leaves our hands.
Card application design
MIFARE DESFire and MIFARE Classic application design
A card is only as good as the data model written onto it. Get the file layout and the key scheme wrong and you find out two years later, when a card turns out to be cloneable, or when adding a second use to the card means reissuing every card you have printed.
What you get
- A written application layout for DESFire EV2/EV3: applications, files, sizes, and what every field is for
- A key scheme with per-card diversification, so one card’s keys do not open another card
- Access conditions file by file: who may read, who may write, and with which key
- Value file and transaction handling where the card carries a balance
- A migration path when you are moving off MIFARE Classic, including how the two coexist during the changeover
- Test cards and a specification your reader vendor can implement against
Closed-loop systems
Closed-loop payment and campus card systems
One card doing several jobs: a wallet at the canteen, a key at the gate, a roll call in class. Most of the difficulty is not the card. It is the balance that still has to be right when the network is down, the turnstile that has to open before the person reaches it, and the month-end report that has to reconcile against what the terminals actually recorded.
What you get
- Wallet design: value held on the card, on the server, or both, with the reconciliation rules written down rather than assumed
- Offline behaviour: what a reader does when it cannot reach the server, and how it catches up afterwards
- Access control rules by card holder, by door, by zone and by time of day
- Attendance and check-in running off the same card and the same identity
- Top-up points, refunds, blacklists, and what happens when a card is lost
- Turnstile and door controller integration, including the timing budget for a tap
Issuance and keys
Card personalization, SAM and key management, HSM integration
Keys are the security model. If they sit in a spreadsheet, or compiled into a reader app, the system is not secure no matter what the chip datasheet promises. Personalization is where that goes right or wrong, because it is the one moment the card is writable and the keys are in play.
What you get
- A key hierarchy and a key ceremony: master keys, diversified card keys, and who is allowed to hold what
- SAM-based readers, so card keys never sit in reader firmware or inside a mobile app
- HSM integration for key storage and for the personalization line
- Electrical and graphical personalization in one issuance flow, including EMV card personalization
- Batch issuance and instant issuance, key loading, and an audit trail for both
- Key rotation, and a written procedure for the day a reader or an issuance laptop goes missing
NFC integration
NFC readers, mobile apps and check-in
A card system is judged on one moment: the tap. That moment is reader hardware, host software, a phone that has to behave the same way as a card, and a door that has to open before the person walking towards it slows down.
What you get
- Reader selection and integration: desktop encoders, wall readers, and turnstile controllers
- PC/SC and vendor SDK integration on Windows and Linux
- Android and iOS NFC work, within what each platform actually permits
- Check-in flows for gyms, classes and events, tied to the same identity as the card
- NDEF tag layouts where a plain tag is all the job needs
- Bench testing: tap time, read range, and what the system does when a read fails
Card production
ID card design and printing on Entrust/Datacard printers
The card is the part everybody sees, and it has to be printed by whoever is at the desk that morning, a few hundred times, without a designer in the room.
What you get
- Card artwork for front and back, laid out around the chip position, the stripe and the printable area
- A template bound to your database, so operator fields fill themselves
- Duplex printing, magnetic-stripe encoding and chip encoding run as one job
- Printer setup on Entrust/Datacard hardware, including ribbon and print settings
- SigmaBits CardMaster where an off-the-shelf issuance app is enough, or a custom flow where it is not
- Operator training, plus a runbook for reprints, spoiled cards and card stock control
How an engagement works
A free call, a paid week, then you decide
The same shape as the rest of our consulting work, because card projects go wrong for the same reason everything else does: the decision gets made before anyone writes down what it depends on.
- 01
A free call
Half an hour to hear what you are building, what is already installed, and what has to be true for it to work. No deck, and no obligation afterwards.
- 02
A paid assessment week
We read the current system, look at the cards and readers you already have, and write up the chip choice, the key scheme, the risks, and a plan in the order the work should be done.
- 03
Then you decide
You either bring us in to build it, or take the write-up and hand it to your own team or another supplier. Both happen, and the write-up is yours either way.
Who does the work
Smart card & NFC engineers
Based in Lebanon, with about 15 years in smart card engineering. The day-to-day is DESFire and MIFARE Classic application design, closed-loop wallets and campus cards, personalization and key management, and getting readers, turnstiles and phones to agree with each other. SigmaBits CardMaster came out of that work.
Related
Where this shows up elsewhere
DESFire or MIFARE Classic for a new system?
+−
DESFire, for anything being designed today. MIFARE Classic uses the Crypto1 cipher, which has been publicly broken since 2008, and a Classic card can be cloned with inexpensive hardware. DESFire EV2 and EV3 use AES with per-card diversified keys and give you real access conditions file by file. Classic only still makes sense when you are tied to readers already in the ground that cannot do anything else, and even then it is worth pricing the reader replacement before you commit a new card population to it.
Can you integrate with our existing readers and turnstiles?
+−
Usually, yes. What decides it is whether the hardware exposes something we can talk to: a PC/SC interface, a vendor SDK, or a documented protocol such as Wiegand or OSDP on the controller side. The first thing we do is list every reader, controller and turnstile you already own, with models and firmware versions, and tell you which ones can stay and which ones are holding the design back.
Do you work remotely?
+−
Yes. The design work, the key scheme, the reader integration and the software are all done remotely, and most projects run entirely that way. Some things are easier in the room: a key ceremony, commissioning a personalization line, or tuning turnstiles on site. We travel for those when the project needs it.
We already have cards issued. Do we have to reissue everyone?
+−
Not always. It depends on three things: which chip is in the cards, how much free memory is left on it, and whether you hold the keys to write to them. If all three are in your favour, a new application can often be added to cards already in people’s wallets. If they are Classic cards, or the keys were never handed over by the previous supplier, reissuing is usually the honest answer, and we will say so.
Who holds the cryptographic keys at the end of the project?
+−
You do. We design the key hierarchy, run the ceremony, load the keys, and hand over the custody procedure with it. We do not need to keep a copy in order to support you afterwards, and a supplier who tells you otherwise is describing a lock-in rather than a security requirement.
Can phones replace the cards?
+−
Partly, and it depends on the platform. An Android phone can emulate a card over NFC through host card emulation. On iOS that route is reserved for Apple’s own wallet, so a phone-only design normally still needs a card or a QR fallback for iPhone users. In practice most campus and gym systems keep the card as the primary credential and add the phone alongside it.
How do you price this work?
+−
The assessment week is a fixed price. After it, implementation is quoted as a fixed scope where the work is well defined, and hourly where it genuinely is not, and the write-up says which is which. Email hello@sigmabits.net with what you are building and we will tell you which one your project is.
Contact
Tell us about the cards.
What the card has to do, how many you issue, and what hardware is already installed. That is enough for a first answer.
Start the conversation