Skip to content
Portal

Security and compliance

A card platform handles card numbers, PINs, network keys and the cardholders’ money. UBO is built so that no sensitive data can be read without a reason, so that a bank never sees another bank’s data, and so that every action has an author.

Keys do not leave

The services ask for an operation (encrypt, sign, verify a PIN, compute a CVV) and only get its result. A key is only known by its check value (KCV).

Banks are isolated

Isolation is enforced by the database itself: a query only sees the rows of the bank making it, even if the code forgot to filter.

Clear text is requested

Seeing a card number or a file’s content in clear needs a permission, a justification, often another person’s approval, for a limited time.

Everything is traced

Users’ actions, HSM operations, access to sensitive data, authorization decisions (with their integrity fingerprint), the platform’s access to the banks.

Aurore useradmin@banque-aurore.frtenant = AuroreBoréale useradmin@banque-boreale.frtenant = BoréalePlatform administratorplatformall, read onlyUBO gatewayeach connection is given the request's bank (ubo.tenant, ubo.scope)PostgreSQLrow-level security policies on every table of a bankPOLICYUSING (tenant_id =current_setting('ubo.tenant'))a table without policy: the platform does not startAurore card ••3935✓ seen by AuroreBoréale card ••1204✗ hidden from AuroreAurore card ••9789✓ seen by AuroreBoréale card ••5521✗ hidden from Aurore
Each query carries the user's bank; the database's security policies only let its rows through. The platform administrator reads every bank read only, or one bank with every right.
  • Each table holding a bank’s data is protected by a row-level security policy; a table without a policy stops the platform from starting.
  • The application connects with a role subject to those policies, never as the owner of the tables.
  • An isolation test calls every route of the API with the accounts of two banks and checks that no data crosses over (over 300 checks).
  • Each bank has its quotas (authorizations per second, API calls per minute): a bank sending too much does not slow the others down.
Key Role
Card number vault Encryption of the card numbers; a separate fingerprint finds them without decrypting.
Network keys (ZMK, ZPK) Key exchange with the network, PIN block translation.
CVK, IMK Verification of the CVV and of the chip cryptograms (ARQC, ARPC).
PIN verification PIN verification value, 3-D Secure codes.
File keys Each file is encrypted at rest with its own key, itself wrapped.
Signature Each file produced is signed (Ed25519).

Each key has a single use, versions, a rotation (the old version still decrypts, no longer encrypts) and a revocation in case of compromise. Each operation is logged.

HSM screen
The HSM's keys, their versions, their check values and the operations of the last hour.

The secrets (partners’ API keys, SFTP passwords, tokens, OpenPGP keys) are in a vault (OpenBao), versioned. The inventory follows their expiry, raises alerts at 30 days, 7 days and on the day, and rotates automatically those that allow it.

Certificates and secrets
The inventory of certificates, keys and secrets: expiry, rotation, location.

The full card number or a file’s content is never shown by default. To see it:

  1. the user has the dedicated permission;
  2. they justify their request (reason, reference);
  3. per the data’s policy, another person approves it;
  4. access opens for a limited time (a few minutes);
  5. each display is logged.
Access to sensitive data
The policies per data type and the access requests in progress.
Audit trail
The audit trail: each event, its author, its object.

Authorization decisions carry a fingerprint (SHA-256) computed again at each read: a decision changed in the database shows as tampered. The platform administrator’s access to a bank’s data is visible to the bank itself.

The Compliance screen follows the regulatory and network obligations (PSD2 and strong authentication, anti-money laundering and sanctions, Visa and Mastercard rules) and how the platform covers each one.

Compliance matrix
The compliance matrix: each obligation, its source and its coverage.