Skip to main content

Overview

Mention Me supports OpenPGP encryption for files transferred via SFTP, in both directions:
  • Inbound (you to Mention Me) - you encrypt files with a public key before uploading them, and Mention Me decrypts them on receipt.
  • Outbound (Mention Me to you) - Mention Me encrypts reports and data feeds with your public key before delivering them to your SFTP folder.
Inbound files are encrypted with dedicated PGP keys specific to your account, which you generate and manage yourself in the platform. Dedicated keys support per-folder scoping and key rotation.
Encryption is optional and set per folder. You mark a folder as encrypted when you add it on the Feeds setup page, and manage dedicated keys yourself from the Encryption keys settings. Contact the Support Team using the Help form if you would like help setting it up.

Managing your keys in the platform

Dedicated keys are managed from the Encryption keys settings. Keys are split into an Inbound keys table and an Outbound keys table, with one row per scope (a folder, or Default (all folders)). Each row shows:
  • Public key - a Copy key button for the scope’s current public key.
  • Status - Active, Grace period with its end date while an inbound rotation is running, or No active key.
  • Created - when the current key was created, and by whom.
The fingerprint is not shown in the table. Use Copy fingerprint in the row’s menu to copy it.
Inbound keys table showing a folder-scoped key marked Active and the default key showing a grace period end date

The Inbound keys table, with one folder-scoped key active and the default key inside a rotation grace period.

Each row’s … menu holds that scope’s actions: Rotate key, View key history and Copy fingerprint, plus End grace period early while a grace period is running.
Row actions menu open, listing Rotate key, View key history and Copy fingerprint

The actions available on a key's row.

Keys can be set at two levels:
  • A default key covers every inbound (or outbound) folder that does not have its own key.
  • A dedicated key applies to a single folder, so different data feeds can use different keys.
A folder’s own key is always used before the default key.
It works the other way round from what you might expect: a folder has to be marked as encrypted before it can be given a key. Only encrypted folders that do not have a key yet appear in the folder picker when you generate or import one. Mark the folder as encrypted first (see SFTP Setup), then give it a key.

Generate an inbound key

For files you send to Mention Me, generate a dedicated inbound key:
1

Open Generate inbound key

In the Inbound keys section, click Generate inbound key.
Inbound keys section with no keys yet and the Generate inbound key button highlighted

The Inbound keys section, before any keys have been generated.

2

Choose the key's scope

Turn on Set as your default key to cover every inbound folder without its own key, or leave it off and choose a folder. Then click Generate key. Mention Me generates a 4096-bit key pair, which can take up to 30 seconds, so keep the window open.
Generate inbound encryption key panel with Set as your default key turned on and the Generate key button

Generating a default inbound key.

3

Copy or download the public key

Once the key is generated, click Copy key to clipboard, or Download public key to save it as an .asc file.
Key generated confirmation with Copy key to clipboard and Download public key buttons

The generated key, ready to copy or download.

You can copy the public key again at any time with Copy key on the scope’s row. Use Copy fingerprint in the row’s menu if you need the fingerprint. The private key is held securely by Mention Me and is never displayed or downloadable. Encrypt your uploads with the public key shown here (see Inbound encryption).

Import an outbound key

For files Mention Me sends to you, import your own public key:
1

Open Import outbound key

In the Outbound keys section, click Import outbound key.
Outbound keys section with no keys yet and the Import outbound key button highlighted

The Outbound keys section, before any keys have been imported.

2

Choose the key's scope

Turn on Set as your default key to cover every outbound folder without its own key, or leave it off and choose a folder.
3

Paste your public key

Paste your ASCII-armoured public key and click Import key. Only the public key is accepted. If you don’t have a key pair yet, see Generating a PGP key pair.
Mention Me validates the key, then encrypts your outbound files with it so you can decrypt them with your private key. Only ever share your public key. Never send anyone your private key.
Generate and import only create a scope’s first key. Once your default key is set and every encrypted folder has its own key, Generate inbound key or Import outbound key is greyed out. Use Rotate key on the row to replace an existing key, or mark another folder as encrypted to add a key for it.
Outbound keys table showing a single default key marked Active

The Outbound keys table. Outbound keys never show a grace period, because delivery always uses the newest key.

Key history

Every key a scope has ever had is kept. Use View key history on the scope’s row to see them, newest first, with the status of each: Active for the live key, Active until [date] for one inside a grace period, and Expired [date] or Inactive for a retired one. Each key also shows when it was created and last modified. Keys are never deleted, so the history stays a complete record of which key was valid when.
Key history dialog listing three keys, one Active and two Expired with their retirement dates

Key history for a folder-scoped key, showing the live key above two retired ones.

Inbound encryption (you to Mention Me)

When you upload files to Mention Me via SFTP, you can encrypt them with PGP first. Mention Me decrypts them automatically on receipt. Generate an inbound key for the folder from Settings > Integrations & data > Data feeds > Encryption keys, then encrypt your files with the public key shown when you generated it.

Encrypting a file before you upload it

You encrypt files on your own systems, before uploading them, with any OpenPGP tool. These steps use GnuPG (gpg) on the command line.
1

Import the public key (one-time setup)

Import the public key you downloaded when you generated it. The file is named mm-inbound-public-key-<fingerprint>.asc.
2

Encrypt each file

Encrypt the file to that key, using its fingerprint as the recipient. Use Copy fingerprint in the scope’s row menu to get it.
This creates Orders-20260715.csv.asc next to the original file.
3

Upload the encrypted file

Upload Orders-20260715.csv.asc to the folder’s data/ directory via SFTP. Don’t upload the original .csv, because an encrypted folder rejects unencrypted files (see Strict mode).
If you rotate the key, import the new public key and encrypt to its fingerprint instead.

Strict mode

When a folder is marked as encrypted, plaintext (unencrypted) files uploaded to it are rejected rather than processed. If a file is rejected:
  • The file is not ingested.
  • A rejection notice is written to the folder’s log/ directory, alongside the data/ directory you upload to (see Folder Structure).
  • The rejection is final for that file, and it is not retried. Encrypt the file and re-upload it under a new filename, because the pipeline treats each filename as processed once.

Outbound encryption (Mention Me to you)

When outbound encryption is enabled for a folder, Mention Me encrypts reports and data feeds with your public key before delivering them.
  1. Import your outbound key for the folder from Settings > Integrations & data > Data feeds > Encryption keys.
  2. Once imported, all outbound files for that folder are encrypted automatically.
  3. Files are ASCII-armoured, with an encryption extension appended to the filename. For example, a report normally delivered as Fulfilment_20260715.csv is delivered as Fulfilment_20260715.csv.asc.
  4. Decrypt the file with your private key.
The default extension is .asc. If your tooling requires .pgp or .gpg instead, ask the Support Team to configure it. The file content is always ASCII-armoured regardless of the extension.
If a folder is encrypted but has no active outbound key, files are held rather than sent in plaintext, so encrypted folders never expose unencrypted data. Mention Me is alerted and delivery resumes once a key is in place. If an expected file does not arrive, contact the Support Team.

Rotating keys

Keys are rotated from Settings > Integrations & data > Data feeds > Encryption keys using the Rotate key action on a key’s row. Generate and import only create a scope’s first key; after that, use Rotate key to replace it.

Inbound rotation

Rotating generates a new key pair and asks whether to keep the current key active as a grace key, so files encrypted with either the old or the new public key are accepted during the changeover. Under Keep the current key active during a grace period?, choose one of:
  • No, replace it immediately. All current keys stop being accepted at once. Any file still encrypted with an old key fails to decrypt.
  • Yes, for 7, 14, 30, 60 or 90 days. The current key stays active alongside the new one for that period. Mention Me decrypts with the latest active key, falling back to the previous one, so files still encrypted with the old key are decrypted successfully.
Grace periods expire on their own. While one is running, the scope’s row shows Grace period with its end date, and key history shows the outgoing key as Active until [date]. On that date the old key retires itself, with nothing for you to do.
To deactivate the previous key before the grace period ends, select the End grace period early action on its row. The older key stops being accepted straight away, and any file still encrypted with it stops decrypting immediately, including files already waiting to be processed. Only end early once your cutover is complete. An inbound scope holds at most two active keys. Rotating a scope that already has two retires all but the newest, and the newest then carries the grace period you chose.
Rotate inbound key dialog with a 7 day grace period selected and a note giving the date the current key deactivates

Choosing a grace period when rotating an inbound key. The dialog confirms the date the old key retires.

Outbound rotation

Rotating imports a new public key, and Mention Me encrypts new files with it straight away. There is no grace period for outbound keys, because Mention Me always encrypts with the newest key: the new key takes over immediately and previous keys stop being used. Keep your old private key until you have decrypted any files already delivered. Your chosen file extension carries over.
Rotate outbound key dialog with a field for the new public key and a warning to keep the old private key

Rotating an outbound key. You supply the new public key, and delivery switches to it immediately.

Generating a PGP key pair

To import an outbound key, you first need your own PGP key pair. We recommend RSA-4096. Example using GPG:
Import my-public-key.asc via Import outbound key. Keep the private key safe and never share it.

Need help?

Contact the Support Team using the Help form.
Last modified on November 5, 2026