eap-simaka-sql Plugin


The eap-simaka-sql plugin for libcharon provides a backend for EAP-SIM and EAP-AKA to read triplets/quintuplets from a relational database.

The plugin is disabled by default and can be enabled with the ./configure option


Don’t forget to enable actual either the eap-sim or eap-aka plugin.


The SQL schema has two tables, one for triplets (EAP-SIM) and one for quintuplets (EAP-AKA). Each table maps EAP-Identities to triplets/quintuplets. There is a SQLite schema available. Create the database and fill the database as in the example.

The eap-simaka-sql plugin is configured using the following options in the charon.plugins.eap-simaka-sql section of strongswan.conf:

Key Default Description


Database URI



Remove triplets/quintuplets after use