Upgrade in our PC/SC SDK (release 1.20)

The release 1.20 of SpringCard PC/SC SDK is now available in the Download section of the website (direct link to latest version : http://www.springcard.com/download/find.php?file=pcsc-sdk). This SDK is meant to be used with our products in the SpringCard CSB6 Family (CSB6Prox’N’Roll PC/SCEasyFinger and CrazyWriter).

People working in the ’emerging’ NFC field will be glad to discover the updated versions of NFCTool, a .NET based application (written in C#) that makes it easy to create or to read NFC Tags compliant with the SmartPoster specification (as published by NFC Forum). Command-line nfc_create utility is also very useful to encode batches of NFC Tags.

The Desfire support library (pcsc_desfire.dll on Windows) has been upgraded; it now fully supports all the new features of NXP Desfire EV1 smartcards: AES and Triple-DES with 3 keys (3KDES), ISO 7816-4 compliant directories and files, card-level configuration. NXP Mifare UltraLight C chips are supported easily thanks to a new library (pcsc_mifulc.dll). Also, we’ve added in the SDK the Calypso support library (pcsc_calypso.dll) and its related sample software. All those libraries come with C source code.

New command line utilities have also been written for the ones who want to master PC/SC from its very basis, or have portability in mind. Most our C examples now run on Linux without any modification.

SpringCard and Effitic ready for ‘at-home’ card-based services

Effitic, a french software engineering company, has set up a working demo that demonstrates how public transportation cards could be reloaded at home thanks to SpringCard’s contactless readers.

Effitic

In this architecture, all the business logic and the security components (SAM or HSM) are centralised in Effitic’s back-office server. A lightweight Java applet runs in a standard web browser to communicate with the smartcard reader through the PC/SC middleware. The applet installs itself automatically upon first access to the service whatever the system/browser.

The demonstration is typically performed with Calypso cards and a SpringCard Prox’N’Roll PC/SC contactless reader. As Prox’N’Roll PC/SC complies to the CCID standard, a driver is available -and installed automatically in most cases- on current desktop operating systems.

This setup is a cost-effective solution for at-home reloading of public transportation cards. This removes the need for a dual-interface card as the Prox’N’Roll operates contactless (13.56MHz RFID interface, compliant with ISO/IEC 14443 A and B, ISO/IEC 15693, Calypso/Innovatron, and with current disposable contactless tickets).

It also opens new opportunities and a new approach of user’s experience with his/her contactless card or NFC mobile phone. In fact, this web-based contactless smartcard architecture is not limited to transport ticketing but could be the basis of a new generation of innovative projects in various fields such as e-ID/e-gov, loyalty, entertainment and online gaming, events and sport ticketing, etc.

Java PC/SC applet

Effitic back-office server communicates with the Prox'N'Roll PC/SC smart card reader thanks to a Java applet

Billing snapshot

Customer uses his/her credit card to buy a new ticket to be loaded into the Calypso card

Card reloaded snapshot

The new transport ticket is loaded in the contactless Calypso card. A receipt is sent by e-mail.

Cardpeek – open source tool to read the content of smartcards

We’ve discovered a new open source project (lead by “L1L1”) that sounds promising.

Cardpeek is a Linux tool to read the contents of ISO7816 smartcards. It uses a PC/SC reader to communicate with the card, and its GTK GUI represents card data is a tree view. Cardpeek list of supported cards is expandable thanks to a scripting language. Currently, the tool can explore EMV cards, Calypso cards (including the Navigo pass from Paris area, with translation of the station names -this part developed by pterjan), Moneo cards (french ePurse) and Vitale (french health card).

Here’s a few snapshot I’ve taken with a Prox’N’Roll PC/SC and my own Navigo card (Paris’ Calypso card)

Cardpeek + Prox'N'Roll PC/SC

Selecting Prox'N'Roll PC/SC reader

Content of a Calypso card: ATR and list of contracts

Card content explained: ATR and list of contracts

Content of a Calypso card: transport log

Card content explained: transport log, with station code translated to actual names

Project homepage : http://code.google.com/p/cardpeek/

A few more explanations on freshmeat : http://freshmeat.net/projects/cardpeek

Calypso Explorer now available for download

SpringCard contactless readers are often used together with Calypso cards, that are used worldwide by some major transport operators (‘Navigo’ in Paris for instance). We are now offering for free two software utilities we’ve developed to retrieve and explain the content of those cards :

  • Calypso XML Dump is a CLI written in C that reads the files of a Calypso card (‘1TIC.ICA’ card application), applies Intercode rules to decode the records, and export the result as XML files. This is convenient to make dumps of cards for later processing.
  • Calypso Explorer is a .NET based software with an ‘explorer-like’ GUI. It also reads the files and applies the Intercode rules, then directly show the result in its window.

Both software work with PC/SC readers. They make use of SpringCard library for Calypso (provided as a DLL in the package).

Download SpringCard Calypso Explorer software

Complete source code is provided, showing how you can embedd this DLL into your own sofware. It allows fast and easy development of PC-based applications using Calypso cards. Our LICENSE allows you to use the software freely (binary and/or source) provided that you use it together with one of our hardware products (to name a few : Prox’N’Roll PC/SC, CSB6 PC/SC, CrazyWriter PC/SC).

Screenshots :

Calypso Explorer : select the PC/SC reader
Calypso Explorer : choosing the PC/SC reader

Calypso Explorer : card's details
Calypso Explorer : dump of the card.
It reads Card.EnvHolder.Record #1.Environment.Network = 250901. This is a ‘Navigo’ card, from Paris network (subway and suburbian trains).

Calypso XML Dump
Calypso XMP Dump : the same card, shown as XML.
Call calypso_xml_dump -o xml_file.xml to redirect the output to a file.

References :

  • Calypso is a standard initially developed and promoted by Innovatron, SNCF and RATP in Paris. It is now promoted by a non-for-profit-organisation, the Calypso Network Association. Note that access to the specification of the cards is limited, and that some features of the cards have been patented by Innovatron (secure session and ratification). Our customers shall buy readers including the patent licence-fee (‘-C’ suffix in the part number) if they want to perform a complete Calypso transaction.
  • The Intercode specification describes how the record shall be structured (the final aim is to achieve interoperability between transport networks). It is based on the data types described by EN1515 standard. The specification is available at http://www.billettique.fr/IMG/pdf/intercode_2_amendement_1k.pdf.

Calypso Explorer has been developed with SharpDevelop IDE, a really good alternative to Microsoft Visual Studio (fast, easy, and on top of that, free and open). Calypso XML Dump has been developed with Microsoft Visual C++ 6.