BlogReferenceCivipass

Civipass and personal data: what is stored about a citizen, and where

What the GSIS sends, what Civipass keeps (an encrypted tax number, the names, optionally three more details), what it never sees, and the GDPR tools: export, erasure, unlinking and the suggested privacy text.

3 min readPerforks

What Civipass stores about a citizen, an encrypted tax number and the names, next to what it never sees

Civipass creates and signs in accounts on behalf of an outside identity provider, so it is worth knowing exactly what it receives, what it keeps and what it does not. The body is the data controller; Civipass sends nothing to Perforks.

What the GSIS sends

After the person signs in and consents on the GSIS pages, the site exchanges the one-time code, server to server, for the person's tax number (ΑΦΜ), first name, last name, and for natural persons father's name, mother's name and year of birth. The GSIS does not provide an e-mail address. The TaxisNet password is typed only on the GSIS pages; the site never sees or stores it.

What Civipass keeps

DetailHow it is kept
Tax numberEncrypted (libsodium), in the account's user meta, plus a keyed hash so the account can be found by tax number without decrypting anything.
First and last nameIn the WordPress user account, as its first and last name. They cannot be edited by hand, through the profile screen, the REST API or wp_update_user(); they are refreshed from the GSIS at every sign-in.
Father's name, mother's name, year of birthOnly when Also keep father's name, mother's name and year of birth is on, and then encrypted.
Which service, when linked, last sign-in, last refreshDates and a service id (taxis or otp), as user meta.
E-mail addressOnly if the person enters one; it is saved after they confirm it by e-mail.

User names are random, so the tax number never appears in author archives or other public addresses. Administrators see the tax number in the users list and on the profile; everyone else sees it masked.

The encryption key

The key that protects the tax numbers and the GSIS secrets is made on activation. Move it to wp-config.php as CIVIPASS_KEY (the settings page shows the line) so that a copy of the database alone reveals nothing. See installing Civipass.

GDPR tools

  • Export: WordPress's personal data export includes a group TaxisNet sign-in from the exporter Civipass (TaxisNet sign-in), with the tax number, the date of linking, the last sign-in with TaxisNet and, if kept, the three extra details.
  • Erasure: the matching eraser removes them.
  • Unlinking: a person can unlink their account from TaxisNet on their profile, which deletes the stored tax number. Only staff who edit the account can unlink it for them.
  • Privacy policy: Settings › Privacy has suggested text to add to the site's policy. It says, in short, that the person enters their credentials only on the GSIS pages, which details the GSIS sends and which the site keeps, that the site sends them to nobody else, and that unlinking deletes the stored tax number.
  • Consent: a new person creating an account must confirm they have read the privacy policy before the account is made.

What the free plugin does not keep

No log of sign-ins. The decisions that grant the service oblige the body to record and monitor access; the free Civipass does not cover that, so use an activity-log plugin or the server's access logs, or Civipass Pro, whose sign-in log keeps shortened IP addresses and only the last three digits of the tax number. See what Pro adds.

Removing the plugin

By default, deleting the plugin leaves the settings and the TaxisNet links in place, so a reinstall picks them up. Turn on Delete the settings and every TaxisNet link when the plugin is deleted if you want them gone.