Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

TFA Migration

Security covered Under active development 7 sites

Part of the TFA ecosystem · 7 projects

This module helps migrate two-factor authentication settings and seeds from Drupal 7 to Drupal 9 and later versions. It provides a path to transfer existing TFA data, allowing for a smoother transition of security configurations.

TFA Migration Module Provides the Path for Migrating Two-factor Authentication (TFA) Module Seed and Settings from Drupal 7 to Drupal 9 and above.

You can also define the private key in settings.php by adding the below config to settings.php in your Drupal 9+ site.

$config['tfa_migration.settings']['drupal7_private_key'] = 'DRUPAL7_PRIVATE_KEY';

Related Issue #3328128: Migration from Drupal 7 to Drupal 9

Features

This Module Provides Path for Migrating TFA Module Seed and Settings from Drupal 7 to Drupal 9 and above.

Installation

Install as you would normally install a contributed Drupal module.
See: https://www.drupal.org/node/895232 for further information.

Post-Installation

Once the module is installed navigate to /admin/config/system/tfa-migration-settings to configure Drupal 7 TFA Private Key

To get Private Key from Drupal 7 use the below command

drush vget drupal_private_key

If Drush is not installed on your site use the guide from https://drupal.stackexchange.com/questions/279004 to get the required key.

You can also run the below SQL Query in your Drupal 7 Database to get the
required key

SELECT name, value FROM variable WHERE name = "drupal_private_key"

Additional Requirements

This Module Requires :

Two-factor Authentication (TFA)
Encrypt

Acknowledgements

I would like to Thank Joe Sutta and Conrad Lara for their initial pointers for this module development.

Drupal 9–11

Ask your assistant about TFA Migration

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • encrypt Drupal core
  • migrate Drupal core
  • tfa Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.4 Stable 9–11 Dec 31, 2024
1.0.3 Stable 9–11 Dec 27, 2024
1.0.2 Stable 9–11 PHP >=8.1 Sep 19, 2024
1.0.1 Stable 9–10 PHP >=8.2 Apr 2, 2024
1.x-dev Dev 9–11 PHP >=8.1 Feb 7, 2024