For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Share DESFire cards between sites

Share DESFire credentials between Gallagher sites by using supported key arrangements.

This page covers how to share DESFire credentials between sites. Several options are described, with their limitations.

Terms

Term
Definition

Original Card Issuer

The organisation that initially encodes the card.

Secondary Site

A site that wants to use a card originally issued by a different organisation.

Card Application

An independent entity on a DESFire card with separate access control, protected by its own keys.

Default Application Key (DAK)

The value that the keys for a new card application are set to by default, before the application creator changes them to something more secure. Found in the Card Security tab of Server Properties in Configuration Client. If an Original Card Issuer is happy to let other sites encode independent applications onto cards they have issued, this is safe to share.

MIFARE Plus / DESFire key seed

A value used as the seed to derive the keys that protect each card. Found in the Card Security tab of Server Properties in Configuration Client.

Choose a scenario

Credential sharing scenario 1

Two Gallagher sites cannot share a MIFARE Plus or DESFire key seed

Scenario 1a: the Original Card Issuer will share the Default Application Key, and the Secondary Site can encode cards

  1. The Original Card Issuer copies the Default Application Key from the Card Security tab of Server Properties and shares it with the Secondary Site.

  2. The Secondary Site creates a new Card Type with a new MIFARE DESFire object.

Credential sharing scenario 3
  1. In the Common Encoding Properties of the DESFire Gallagher Encoded object, reached by right-clicking the object, uncheck Gallagher Issued and enter the Default Application Key.

Credential sharing scenario 4
  1. The Secondary Site encodes cards using that card type.

Scenario 1b: the Original Card Issuer will not or cannot share the Default Application Key, or the Secondary Site cannot encode cards

This scenario is not supported.

Both sites use the same MIFARE Plus or DESFire key seed

The shared key seed may be the same by coincidence, or it may be one the Original Card Issuer was willing to share with the Secondary Site.

Note. Sharing the MIFARE Plus / DESFire key seed between different sites should only be done where there is a high degree of trust between them, for example where they are part of the same organisation.

Scenario 2a: the Secondary Site can encode cards

Encode the cards as normal. The shared key seed means the cards will work.

Scenario 2b: the Secondary Site cannot encode cards

The Original Card Issuer provides their facility code to the Secondary Site. The Secondary Site creates a new Card Type using that facility code.

Credential sharing scenario 6

The Secondary Site then uses that card type when adding an existing card to a cardholder. Because the data already encoded by the Original Card Issuer is being re-used, the card number entered must match what is already encoded on the card.

Limitations

  • You cannot have two Gallagher objects on the same card that share the same Site Specific Key. This includes the Gallagher Default keys.

  • You cannot have the same facility code on a card under two different Site Specific Keys.


🔗 Related

Last updated

Was this helpful?